GET/directory/levels/external-keys
Gets a list of level external keys.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID example : 10000001 format : int32 |
| count | integer | Number of items to get default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | Cursor example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| hasExternalKey | boolean | Gets resources based on whether they have external keys.
example : false |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| levels | array (DomainUniqueExternalKeyResponse) | Job level information |
| responseMetaData | object (responseMetaData) | Response metadata |
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID format : int32 readOnly : true |
| name | string | First name readOnly : true |
| id | string | ID. It is the ID automatically assigned to a resource. readOnly : true |
| externalKey | string | Customer's external key. readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
example
1{2 "levels": [3 {4 "domainId": 10000001,5 "name": "name01",6 "id": "levelaa7-b824-4937-66af-042f1f43cefa",7 "externalKey": "LEVEL_EXT_01"8 },9 {10 "domainId": 10000001,11 "name": "name02",12 "id": "leveld4d-1b15-450f-b674-e6a3338fe25b",13 "externalKey": "LEVEL_EXT_02"14 }15 ],16 "responseMetaData": {17 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="18 }19}