Gets the privileges of the citizen delegates associated to the logged-in user.
| Scope | users Deprecated scope name: get_citizens_delegateprivileges |
| App Type | Citizen |
| Authorization Type | Access token |
| URI | /v4/citizenaccess/citizens/delegatePrivileges?offset={offset}&limit={limit}&lang={lang} |
| HTTP Method | GET |
| Automation Version(s) | 7.3.3.5 |
| Field or Parameter | Type | Required | Values | Description | Automation Version |
|---|---|---|---|---|---|
| lang | String | No | � | Indicates the language applied. | 7.3.3.5 |
| limit | long | No | � | Indicates the number of items that are returned in each page. | 7.3.3.5 |
| offset | long | No | � | Indicates the offset start of each page by the number specified. | 7.3.3.5 |
| Field | Type | Description | Automation Version |
|---|---|---|---|
| result[] | result{} | � | 7.3.3.5 |
| result.firstName | string | The citizen user's first name. | 7.3.3.5 |
| result.id | long | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.3.5 |
| result.lastName | string | The citizen user's last name. | 7.3.3.5 |
| result.permissions | result.permissions{} | An array containing the allowed actions assigned to the user, per module. | 7.3.3.5 |
| result.userName | string | The user who assigned the permission. | 7.3.3.5 |
| status | integer | The record status. | 7.3.3.5 |
{
"result": [
{
"name": "AEcPPyQBo",
"permissions": [
{
"level": "MODULE",
"levelValue": "Building",
"createRecordAllowed": false,
"inspectionAllowed": false,
"renewalAllowed": false,
"viewRecordAllowed": true,
"amendAllowed": false,
"documentAllowed": false,
"paymentAllowed": false
}
],
"id": 9057,
"userName": "mvishwanath",
"invitationMessage": "You are invited",
"delegateStatus": "PENDING"
},
{
"name": "ALuRqUZJq",
"permissions": [
{
"level": "MODULE",
"levelValue": "Building",
"createRecordAllowed": false,
"inspectionAllowed": false,
"renewalAllowed": false,
"viewRecordAllowed": true,
"amendAllowed": false,
"documentAllowed": false,
"paymentAllowed": false
}
],
"id": 9310,
"userName": "mvishwanath",
"invitationMessage": "You are invited",
"delegateStatus": "PENDING"
},
{
"name": "BxeHWJMox",
"permissions": [
{
"level": "MODULE",
"levelValue": "Building",
"createRecordAllowed": false,
"inspectionAllowed": false,
"renewalAllowed": false,
"viewRecordAllowed": true,
"amendAllowed": false,
"documentAllowed": false,
"paymentAllowed": false
}
],
"id": 9664,
"userName": "mvishwanath",
"invitationMessage": "You are invited",
"delegateStatus": "PENDING"
}
],
"status": 200,
"page": {
"offset": 0,
"limit": 25,
"hasmore": false
}
}