Create a work order status.
The POST Work Order Status Code method allows integration users to create new work order statuses that can be further added to existing work orders. When POSTing a new work order status, a new WorkOrderStatusCode must be provided. If a status code is provided that currently exists within the REVEAL account, a negative response will be returned and the status will not be created.
Body
application/json
Body
The work order status to create.
WorkOrderStatusInput
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. When POSTing a new work order status, a new WorkOrderStatusCode must be provided. If a status code is provided that currently exists within the REVEAL account, a negative response will be returned and the status will not be created.
Example:78
When creating work order statuses within a REVEAL account there is an optional field for a Description to be provided. If the status was created with a Description the GET method for a work orders current status will return the description field.
Example:Changed Description
Work Order Status Types provide additional context to the associated Work Order Status Type Code used to calculate work order durations within REVEAL.
Example:Open
Response
application/json
Response
Work order status successfully created.
WorkOrderStatusInput
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. When POSTing a new work order status, a new WorkOrderStatusCode must be provided. If a status code is provided that currently exists within the REVEAL account, a negative response will be returned and the status will not be created.
Example:78
When creating work order statuses within a REVEAL account there is an optional field for a Description to be provided. If the status was created with a Description the GET method for a work orders current status will return the description field.
Example:Changed Description
Work Order Status Types provide additional context to the associated Work Order Status Type Code used to calculate work order durations within REVEAL.
Example:Open
WorkOrderStatusInput
objectWork 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. When POSTing a new work order status, a new WorkOrderStatusCode must be provided. If a status code is provided that currently exists within the REVEAL account, a negative response will be returned and the status will not be created.
Example:78
When creating work order statuses within a REVEAL account there is an optional field for a Description to be provided. If the status was created with a Description the GET method for a work orders current status will return the description field.
Example:Changed Description
Work Order Status Types provide additional context to the associated Work Order Status Type Code used to calculate work order durations within REVEAL.
Example:Open
WorkOrderStatusResource
objectShow Child Parameters
Show Child Parameters
WorkOrderStatus
objectThe 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
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
When creating work order statuses within a REVEAL account there is an optional field for a Description to be provided. If the status was created with a Description the GET method for a work orders current status will return the description field.
Example:InProcess Work Order.
Work Order Status Types provide additional context to the associated Work Order Status Type Code used to calculate work order durations within REVEAL.
Example:InProcess
ErrorMessage
objectA message describing why the request was not successful.
Example:The Work Order status code specified was not valid.