Transfocus POD Web Services

<back to all web services

SetJobDataRequest

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/SetJobDataRequest HTTP/1.1 
Host: api.podapp.com.au 
Content-Type: application/json
Content-Length: length

{"job":{"id":"00000000000000000000000000000000","jobNumber":"String","jobReference":"String","consignmentNumber":"String","consignmentReference":"String","instructions":"String","routeOrder":0,"createdBy":"String","jobLegTypeID":"String","jobTypeID":"String","jobKindID":"String","useScanLoad":false,"useScanOff":false,"driverID":"00000000000000000000000000000000","driverCode":"String","vehicleID":"00000000000000000000000000000000","customerID":"00000000000000000000000000000000","customerCode":"String","senderID":"00000000000000000000000000000000","senderCode":"String","recepientID":"00000000000000000000000000000000","recepientCode":"String","senderNote":"String","senderPhone":"String","recepientNote":"String","recepientPhone":"String","workflowID":"String","workflowSubID":"String","legProducts":[{"id":"00000000000000000000000000000000","jobLegID":"00000000000000000000000000000000","productID":"00000000000000000000000000000000","code":"String","productCode":"String","barcode":"String","quantity":0,"pallet":0,"cubic":0,"weight":0,"description":"String","width":0,"height":0,"depth":0,"timestampScanLoad":"\/Date(-62135596800000-0000)\/","scannedLoad":false,"timestampScanOff":"\/Date(-62135596800000-0000)\/","scannedOff":false,"space":0,"hooks":0,"ties":0,"temp":"String"}],"legPallets":[{"id":"00000000000000000000000000000000","palletTypeID":"String","movementTypeID":0,"bookedQuantity":0}],"trailer1ID":"00000000000000000000000000000000","trailer2ID":"00000000000000000000000000000000","serviceCodeID":"00000000000000000000000000000000","serviceCode":"String","releaseNumber":"String","weight":0,"customerReference":"String","doors":"String","dueTimestamp":"\/Date(-62135596800000-0000)\/","trailer1Code":"String","trailer2Code":"String","vehicleCode":"String","masterNumber":"String","product":"String"},"authToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"success":false,"errorMessage":"String","errorCode":0}