POST api/DeliveryAgent/Agents/DisableEnableAgent

Request Information

URI Parameters

None.

Body Parameters

DeliveryAgentApprovalModel
NameDescriptionTypeAdditional information
DeliveryAgentID

string

Required

DeliveryAgentName

string

None.

DeviceID

string

None.

Lat

string

None.

Lng

string

None.

VehicleID

integer

None.

IPAddress

string

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryAgentID": "sample string 1",
  "DeliveryAgentName": "sample string 2",
  "DeviceID": "sample string 3",
  "Lat": "sample string 4",
  "Lng": "sample string 5",
  "VehicleID": 6,
  "IPAddress": "sample string 7",
  "UserID": "sample string 8"
}

application/xml, text/xml

Sample:
<DeliveryAgentApprovalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels">
  <DeliveryAgentID>sample string 1</DeliveryAgentID>
  <DeliveryAgentName>sample string 2</DeliveryAgentName>
  <DeviceID>sample string 3</DeviceID>
  <IPAddress>sample string 7</IPAddress>
  <Lat>sample string 4</Lat>
  <Lng>sample string 5</Lng>
  <UserID>sample string 8</UserID>
  <VehicleID>6</VehicleID>
</DeliveryAgentApprovalModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>