POST api/Operations/UpdateRole/{auth}/{OpsLogRoleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth | string |
Required |
|
OpsLogRoleID | integer |
Required |
Body Parameters
UpdateRoleParmName | Description | Type | Additional information |
---|---|---|---|
OfficeID | integer |
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. |
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:
<UpdateRoleParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.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> </UpdateRoleParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBaseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>