POST api/Operations/SetControllingOffices

Request Information

URI Parameters

None.

Body Parameters

SetControllingOfficesParm
NameDescriptionTypeAdditional information
auth

string

None.

EntityGUID

string

None.

EntityType

string

None.

OfficeID

integer

None.

PuDispatchOfficeID

integer

None.

DelDispatchOfficeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "EntityGUID": "sample string 2",
  "EntityType": "sample string 3",
  "OfficeID": 4,
  "PuDispatchOfficeID": 1,
  "DelDispatchOfficeID": 1
}

application/xml, text/xml

Sample:
<SetControllingOfficesParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <DelDispatchOfficeID>1</DelDispatchOfficeID>
  <EntityGUID>sample string 2</EntityGUID>
  <EntityType>sample string 3</EntityType>
  <OfficeID>4</OfficeID>
  <PuDispatchOfficeID>1</PuDispatchOfficeID>
  <auth>sample string 1</auth>
</SetControllingOfficesParm>

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>