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": "d5185544-6b17-4f59-9bca-6d616b650cd1",
  "driverIdentifier": "f6c84cc2-2d0c-49ce-9f95-86fa8bcdd078",
  "jobId": 3,
  "jobIdentifier": "eed02dbd-7ab9-4a35-8479-86ea3d14b691"
}

text/xml

Sample:
<DriverJobRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Swift.DeliveryAPI2">
  <ApiKey>d5185544-6b17-4f59-9bca-6d616b650cd1</ApiKey>
  <DriverIdentifier>f6c84cc2-2d0c-49ce-9f95-86fa8bcdd078</DriverIdentifier>
  <JobId>3</JobId>
  <JobIdentifier>eed02dbd-7ab9-4a35-8479-86ea3d14b691</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>