POST api/OpsLog/AddRole/{auth}/{tabid}
Used to add a new role to the specified tab
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| auth |
The authorization GUID for this user session |
string |
Required |
| tabid |
The tab identifier return from the GetTabs method |
integer |
Required |
Body Parameters
Parameters for adding role
AddRoleParm| Name | Description | Type | Additional information |
|---|---|---|---|
| OfficeID |
The office identifier associated with the role |
integer |
None. |
| IsOpsCoord |
Role is operations coordinator |
boolean |
None. |
| IsDispatcher |
Role is dispatcher |
boolean |
None. |
| IsCSR |
Role is CSR |
boolean |
None. |
| IsCallback |
Role is POD callback |
boolean |
None. |
| IsNoShow |
Role is No show |
boolean |
None. |
| IsBilling |
Role is billing |
boolean |
None. |
| IsShipCoord |
Role is shipment coordinator |
boolean |
None. |
| IsQualityControl |
Role is quality control |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OfficeID": 1,
"IsOpsCoord": true,
"IsDispatcher": true,
"IsCSR": true,
"IsCallback": true,
"IsNoShow": true,
"IsBilling": true,
"IsShipCoord": true,
"IsQualityControl": true
}
application/xml, text/xml
Sample:
<AddRoleParm 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>1</OfficeID> </AddRoleParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns a new role ID
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>