WorkOrderResource
objectA work order resource including the work order object and hypermedia links, as returned by GET Work Order.
Show Child Parameters
Show Child Parameters
WorkOrder
objectThe Actual Date field is used when a PUT is invoked to change the Scheduled Date for a work order.
Example:2017-01-18T13:15:48.983
REVEAL will calculate the actual duration value based on the status information provided. If no status information is provided this value may be provided by the work order provider.
Address contains the global standards for address components. Address components are not required if the coordinates are provided for the work order. If address components and coordinates are both provided, the work order will be created referencing the coordinates.
Show Child Parameters
Boolean field. When retrieving a work order’s details if the work order location was successfully geocoded by Google the flag will be set to true.
Example:true
Boolean field for deprecated service parameter, defaults to Null.
The date and time stamp in UTC that the work order object was created within REVEAL. The default value will be the current date and time stamp when the work order was invoked.
Example:2017-01-18T21:38:28.78
This is not a required field. A string may be provided in order to display instructions or notes about the work order to the technician/driver.
Example:TECH MUST CLOCK IN
The Driver Number is the unique identifier that will be used to reference the driver within the API. The Driver Number is not a mandatory field within the REVEAL account, but is required for the API.
Example:777
Either the Address components or the coordinates must be provided to create a work order. If both the address and coordinate fields are supplied, the coordinates will be used for reference to geocode the work order’s location.
Example:26.425671
Either the Address components or the coordinates must be provided to create a work order. If both the address and coordinate fields are supplied, the coordinates will be used for reference to geocode the work order’s location.
Example:-81.801965
If the work order object is modified after the creation date, the last modified date will be presented within the response.
Example:2017-01-18T21:38:28.78
This is not a required field. If there is an estimate for the time that the technician should be on site at the work order the value may be provided in seconds. Following the work order’s completion if status details were provided, this value will be overwritten with the status calculation to determine the on-site duration.
The designated radius in kilometers used to create the radius around the work order.
Example:0.322
The Scheduled Date and Time for the work to be started or the technician’s scheduled time to be on site.
Example:2017-01-18T16:59:50
The Scheduled Duration in Seconds that the work order job is estimated to take. This value will not be overwritten by REVEAL’s calculation and will be used for reporting variances.
The date and time when the work order’s status was applied.
Example:2017-01-18T13:16:47
Work Order Number is a required field for a work order to be created within REVEAL and must be unique within an account.
Example:WO-2518-2021
Work Order Status Codes are created using the Planning and Scheduling Work Order Status API. All available work order status codes can be found within REVEAL’s Admin section under Work Order Preferences. A work order status is used to update a work orders lifecycle for tracking purposes.
Example:InProcess
Work Order Type Codes are created using the Planning and Scheduling Work Order Type API. All available work order types can be found within REVEAL’s Admin section under Work Order Preferences. A work order code is used to describe or categorize the type of work scheduled, i.e. Trouble Call.
Example:ALM