GET api/System/GetPermission?channelId={channelId}&permissionName={permissionName}&memberId={memberId}
“GetPermission”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
channelId | “channelId”的文档。 |
Define this parameter in the request URI. |
permissionName | “permissionName”的文档。 |
Define this parameter in the request URI. |
memberId | “memberId”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "Permission": { "PermissionId": 1, "Name": "sample string 2" }, "ChannelView": 0, "ChannelEdit": 0, "ItemView": 0, "ItemEdit": 0, "RemoteItemView": 0, "RemoteItemEdit": 0 }
application/xml, text/xml
Sample:
<PermissionDetailInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TQSystem.Model"> <ChannelEdit>Nothing</ChannelEdit> <ChannelView>Nothing</ChannelView> <ItemEdit>Nothing</ItemEdit> <ItemView>Nothing</ItemView> <Permission> <Name>sample string 2</Name> <PermissionId>1</PermissionId> </Permission> <RemoteItemEdit>Nothing</RemoteItemEdit> <RemoteItemView>Nothing</RemoteItemView> </PermissionDetailInfo>