Transparency
Request to create or update transparency actions related to a pguid
Body
Responses
201
Created
application/json
202
Updated
application/json
400
Validation Error
application/json
500
Internal error
application/json
post
/people-transparencyPOST /gbds/v2/people-transparency HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"data": {
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
}{
"status": "text",
"data": {
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
}Request to get people transparency information by pguid.
Path parameters
pguidstringRequired
Global unique ID of the person.
Responses
200
OK
application/json
400
Validation Error
application/json
500
Internal error
application/json
get
/people-transparency/{pguid}GET /gbds/v2/people-transparency/{pguid} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": [
{
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
]
}Get people transparency list.
Query parameters
pageIndexinteger · int32Optional
Defines which page will be returned.
pageSizeinteger · int32Optional
Size of the request.
Responses
200
OK
application/json
400
Validation Error
application/json
500
Internal error
application/json
get
/people-transparency/listGET /gbds/v2/people-transparency/list HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": [
{
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
]
}this method deletes a given pguid from people transparency.
Path parameters
pguidstringRequired
Global unique ID of the person.
Query parameters
actionstringOptional
transparency action
Responses
204
Deleted
*/*
Responseobject
400
Validation Error
application/json
500
Internal error
application/json
delete
/gbds//v2/people-transparency/{pguid}DELETE /gbds/v2/gbds//v2/people-transparency/{pguid} HTTP/1.1
Host: <ip>:8085
Accept: */*
{}Was this helpful?

