GET papi/v1/authorization
Security
Secured API
Request Information
URI Parameters
None.
Required Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
Authorization |
Represents the value of the authentication token. Allow multiple values: no. |
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ... | string | None |
ConsumerId |
Represents the value of the consumer id. Allow multiple values: no. |
2426 | integer | None |
Optional Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
LocationId |
Represents the value of the location id. Allow multiple values: no. |
8840 | integer | None |
LevelId |
Represents the value of the level id. Allow multiple values: no. |
1002 | integer | None |
ApplicationType |
Represents the value of the consumer's application type. Allow multiple values: no. |
1 | ApplicationType | None |
Accept-Language |
Represents the value of the desired language for translations. Allow multiple values: yes. |
es | string | en |
Body Parameters
None.
Response Information
Resource Description
UserAuthorizationName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
LocationId | integer |
None. |
|
LevelId | integer |
None. |
|
ParentLevelIds | Collection of integer |
None. |
|
ModulePermissions | Collection of UserModulePermissionMasksAndRoles |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": 1, "LocationId": 1, "LevelId": 1, "ParentLevelIds": [ 1, 2 ], "ModulePermissions": [ { "ModuleId": 1, "PermissionsMask": 2, "Roles": [ 1, 2 ] }, { "ModuleId": 1, "PermissionsMask": 2, "Roles": [ 1, 2 ] } ] }