GET api/UserRoleMappings/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserRoleMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| RollId | integer |
None. |
|
| FarmId | integer |
None. |
|
| ActiveStatus | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"RollId": 3,
"FarmId": 4,
"ActiveStatus": true
}
application/xml, text/xml
Sample:
<UserRoleMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models"> <ActiveStatus>true</ActiveStatus> <FarmId>4</FarmId> <Id>1</Id> <RollId>3</RollId> <UserId>2</UserId> </UserRoleMapping>