POST api/public/v2/dispatch

Request Information

URI Parameters

None.

Body Parameters

DriverJobRequestModel
NameDescriptionTypeAdditional information
ApiKey

Your merchant API key

globally unique identifier

Required

DriverIdentifier

Driver identifier

globally unique identifier

None.

JobId

Job Id

integer

None.

JobIdentifier

Job identifier. This can be used in place of JobId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "apiKey": "04bdc522-6c7b-4738-916c-af47bac71f06",
  "driverIdentifier": "9ca7fede-5743-46ac-94d5-36926e6988ef",
  "jobId": 3,
  "jobIdentifier": "84271ed6-00de-4ef0-b661-455cddebf5a4"
}

text/xml

Sample:
<DriverJobRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Swift.DeliveryAPI2">
  <ApiKey>04bdc522-6c7b-4738-916c-af47bac71f06</ApiKey>
  <DriverIdentifier>9ca7fede-5743-46ac-94d5-36926e6988ef</DriverIdentifier>
  <JobId>3</JobId>
  <JobIdentifier>84271ed6-00de-4ef0-b661-455cddebf5a4</JobIdentifier>
</DriverJobRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

text/xml

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