data/work_order_wayleave_details
Important: An API Key is required to work with these API Calls
Returns the details of a given work order. The output is the same as https://test.api2.verifiapp.com/documentation/wayleave_details but with the new fields called "project_code" and "wayleave_ref".
Sample Request
http://api.verifiapp.com/data/work_order_wayleave_details/{API-KEY}/{WORK_ORDER_ID}
Sample Response
{"result":"success","results":{"id":"268","landowner_name":"John & Bernadette Murphy","address":"The Paddocks, Holiday Village, Broomfield East, Midleton,","contact":"","project_code":"code1","wayleave_ref":"0088A"}}
Successful response reference
A successful response will return the following items in a JSON array
| Preference | Description |
|---|---|
| result | success |
| results | An associative array with the list of values. Not all the landowners will have the "contact" field with a value (most of them will not have that value). The ID value is very important because you must send it when you submit an unscheduled assignment |