GET api/Operations/GetRoles/{auth}/{tabid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

tabid

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetRolesResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Roles

Collection of OperationsTabRoleItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Roles": [
    {
      "OpsLogRoleID": 1,
      "OfficeID": 2,
      "OfficeName": "sample string 3",
      "IsOpsCoord": true,
      "IsDispatcher": true,
      "IsCSR": true,
      "IsCallback": true,
      "IsNoShow": true,
      "IsBilling": true,
      "IsShipCoord": true,
      "IsQualityControl": true
    },
    {
      "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:
<GetRolesResp 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>
  <Roles>
    <OperationsTabRoleItem>
      <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>
    </OperationsTabRoleItem>
    <OperationsTabRoleItem>
      <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>
    </OperationsTabRoleItem>
  </Roles>
</GetRolesResp>