POST api/Operations/AddRole/{auth}/{tabid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

tabid

integer

Required

Body Parameters

AddRoleParm
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:
<AddRoleParm 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>
</AddRoleParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddRoleResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

OpsLogRoleID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "OpsLogRoleID": 3
}

application/xml, text/xml

Sample:
<AddRoleResp 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>
  <OpsLogRoleID>3</OpsLogRoleID>
</AddRoleResp>