Click or drag to resize

Walkthrough: Create Job

Car Delivery Network

This walkthrough creates a job on CDN.

Prerequisites

Testing the API

  1. Post a Jobs collection containing a single Job to the API:

    JSON
    $ curl -X POST -H "Content-Type:application/json" -d \
    '[
       {
          "LoadId" : "ABC123",
          "LoadboardLookupId" : 4,
          "AdvertiseType": 2,
          "PaymentTerms" : 1,
          "Notes":"These notes are sent to the driver",
          "ServiceRequired":1,
          "JobInitiator":"Katie Finch(Car Delivery Network)",
          "Customer":{
             "AddressLines":"7280 NW 87th Terr.",
             "City":"Kansas City",
             "Contact":"Car Delivery Network",
             "OrganisationName":"Car Delivery Network, Inc.",
             "QuickCode":"AB12345",
             "StateRegion":"MO",
             "ZipPostCode":"64153"
          },
          "Pickup":{
             "Destination":{
                "AddressLines":"7280 NW 87th Terr.",
                "City":"Kansas City",
                "Contact":"Car Delivery Network",
                "OrganisationName":"Car Delivery Network, Inc.",
                "QuickCode":"XY12345",
                "StateRegion":"MO",
                "ZipPostCode":"64153"
             },
             "RequestedDate":"\/Date(1369872000000)\/"
          },
          "Dropoff":{
             "Destination":{
                "AddressLines":"9211 Forney Rd",
                "City":"Mesquite",
                "OrganisationName":"Mesquite Auto Ramp",
                "QuickCode":"DE12345",
                "StateRegion":"TX",
                "ZipPostCode":"75227"
             },
             "RequestedDate":"\/Date(1369872000000)\/",
             "RequestedDateIsExact":true
          },
          "Vehicles":[
             {
                "Make":"Benz",
                "Model":"Velo",
                "Registration":"1894",
                "Vin":"JFJGIZB7JK6HLBIIO"
             }
          ]
       }
    ]' \
    https://vincarrier.cardeliverynetwork.com/{region}/vind2/openapi/jobs?apikey=xxx-xxx-xxx

    You should receive a JSON 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