GET Rights/GetRightsList?userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfListOfRightAllotmentVM| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of RightAllotmentVM |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"Status": true,
"Message": "sample string 3",
"Data": [
{
"ID": 1,
"UserID": 1,
"FormID": 1,
"FormName": "sample string 2",
"UserName": "sample string 3"
},
{
"ID": 1,
"UserID": 1,
"FormID": 1,
"FormName": "sample string 2",
"UserName": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfArrayOfRightAllotmentVMma_PBfrnC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCAppAPI.Models">
<Data>
<RightAllotmentVM>
<FormID>1</FormID>
<FormName>sample string 2</FormName>
<ID>1</ID>
<UserID>1</UserID>
<UserName>sample string 3</UserName>
</RightAllotmentVM>
<RightAllotmentVM>
<FormID>1</FormID>
<FormName>sample string 2</FormName>
<ID>1</ID>
<UserID>1</UserID>
<UserName>sample string 3</UserName>
</RightAllotmentVM>
</Data>
<Message>sample string 3</Message>
<Status>true</Status>
<StatusCode>1</StatusCode>
</ApiResponseOfArrayOfRightAllotmentVMma_PBfrnC>