GET api/v1/Permission/GetPGpermission?tenantId={tenantId}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tenantId | integer |
Required |
|
userId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PGPermissionListName | Description | Type | Additional information |
---|---|---|---|
PermissionList | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PermissionList": [ "sample string 1", "sample string 2" ] }
text/html
Sample:
{"PermissionList":["sample string 1","sample string 2"]}
text/xml
Sample:
<PGPermissionList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <PermissionList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PermissionList> </PGPermissionList>