GET api/OpsLog/GetRole/{auth}/{opslogroleid}
Used to provide retrieve a single role
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| auth |
The authorization GUID for this user session |
string |
Required |
| opslogroleid |
The role identifier returned from the GetRoles method |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a role for the specified tab
OpsLogTabRoleItem| Name | Description | Type | Additional information |
|---|---|---|---|
| OpsLogRoleID | integer |
None. |
|
| OfficeID | integer |
None. |
|
| OfficeName | string |
None. |
|
| IsOpsCoord | boolean |
None. |
|
| IsDispatcher | boolean |
None. |
|
| IsCSR | boolean |
None. |
|
| IsCallback | boolean |
None. |
|
| IsNoShow | boolean |
None. |
|
| IsBilling | boolean |
None. |
|
| IsShipCoord | boolean |
None. |
|
| IsQualityControl | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"OpsLogRoleID": 1,
"OfficeID": 2,
"OfficeName": "sample string 3",
"IsOpsCoord": true,
"IsDispatcher": true,
"IsCSR": true,
"IsCallback": true,
"IsNoShow": true,
"IsBilling": true,
"IsShipCoord": true,
"IsQualityControl": true
}
application/xml, text/xml
Sample:
<OpsLogTabRoleItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models"> <IsBilling>true</IsBilling> <IsCSR>true</IsCSR> <IsCallback>true</IsCallback> <IsDispatcher>true</IsDispatcher> <IsNoShow>true</IsNoShow> <IsOpsCoord>true</IsOpsCoord> <IsQualityControl>true</IsQualityControl> <IsShipCoord>true</IsShipCoord> <OfficeID>2</OfficeID> <OfficeName>sample string 3</OfficeName> <OpsLogRoleID>1</OpsLogRoleID> </OpsLogTabRoleItem>