POST api/User/GetAllAuthorizeActionsByUserID
Request Information
URI Parameters
None.
Body Parameters
RequestIDModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <ID>1</ID> </RequestIDModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetUserAuthorizeActionsResponseName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
User | string |
None. |
|
GetAuthorizeActionItemList | Collection of AuthorizeActionItem |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserID": 1, "User": "sample string 2", "GetAuthorizeActionItemList": [ { "ActionID": 1, "ActionName": "sample string 2", "IsAuthorize": true }, { "ActionID": 1, "ActionName": "sample string 2", "IsAuthorize": true } ], "ResponseCode": 3, "ResponseText": "sample string 4" }
application/xml, text/xml
Sample:
<GetUserAuthorizeActionsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">3</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 4</ResponseText> <GetAuthorizeActionItemList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:AuthorizeActionItem> <d2p1:ActionID>1</d2p1:ActionID> <d2p1:ActionName>sample string 2</d2p1:ActionName> <d2p1:IsAuthorize>true</d2p1:IsAuthorize> </d2p1:AuthorizeActionItem> <d2p1:AuthorizeActionItem> <d2p1:ActionID>1</d2p1:ActionID> <d2p1:ActionName>sample string 2</d2p1:ActionName> <d2p1:IsAuthorize>true</d2p1:IsAuthorize> </d2p1:AuthorizeActionItem> </GetAuthorizeActionItemList> <User>sample string 2</User> <UserID>1</UserID> </GetUserAuthorizeActionsResponse>