Walkthrough: Create Job |
This walkthrough creates a job on CDN.
An account on one of the CDN training systems (Contact your CDN representative)
The API key associated with your account
An HTTP client tool such as:
Post a Jobs collection containing a single Job to the API:
$ 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.
Login to CDN and have a look at what was created under: Create > Quoted Work > Quoted.