POST api/Operations/UpdateRole/{auth}/{OpsLogRoleID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

OpsLogRoleID

integer

Required

Body Parameters

UpdateRoleParm
NameDescriptionTypeAdditional 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

ResponseBase
NameDescriptionTypeAdditional 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>