Walkthrough: First Steps

Car Delivery Network API DocumentationCar Delivery Network

The first step to getting started is to send a simple, empty Job to the API. This ensures that your development environment is correctly configured, without the concern of whether the data being passed is correct.

Prerequisites

Testing the API

  1. Post a Jobs collection containing a single empty Job to the API:
    JSON
    $ curl -X POST -H "Content-Type:application/json" -d '[{}]' \
    https://go.cardeliverynetwork.com/en/openapi/jobs?apikey=xxx-xxx-xxx
    XML
    $ curl -X POST -H "Content-Type:application/xml" -d \
    '<Jobs xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data" 
           xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Job></Job>
    </Jobs>' \
    https://go.cardeliverynetwork.com/en/openapi/jobs?apikey=xxx-xxx-xxx

    You should receive a JSON/XML response containing the job that was created.

  2. Login to CDN and have a look at what was created under: Create > Quoted Work > Quoted.

See Also

Reference