---
title: "WorkOrderResponse"
url: "https://developers.vzconnect.com/apis/work-order-api-1/versions/e15c746c-6eb5-4df9-a8e1-a1a16e4d9576/schemas/WorkOrderResponse"
---

> Full API specification: https://developers.vzconnect.com/apis/work-order-api-1/versions/e15c746c-6eb5-4df9-a8e1-a1a16e4d9576.md

# WorkOrderResponse

The flat work order object returned by the POST Work Order operation.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Work Order API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    WorkOrder:
      type: object
      properties:
        ActualDateUtc:
          type: string
          format: date-time
          nullable: true
          description: The 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
        ActualDurationSeconds:
          type: integer
          nullable: true
          description: 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.
          example: 0
        Address:
          $ref: "#/components/schemas/Address"
        AddressResolved:
          type: boolean
          description: 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
        ClientCustomerId:
          type: boolean
          nullable: true
          description: Boolean field for deprecated service parameter, defaults to Null.
          deprecated: true
          example: null
        CreatedDateUtc:
          type: string
          format: date-time
          description: 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
        Description:
          type: string
          nullable: true
          description: 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
        DriverNumber:
          type: string
          description: 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"
        Latitude:
          type: number
          format: double
          description: 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
        Longitude:
          type: number
          format: double
          description: 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
        ModifiedDateUtc:
          type: string
          format: date-time
          description: 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
        OnSiteDurationSeconds:
          type: integer
          description: 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.
          example: 0
        RadiusInKm:
          type: number
          format: double
          description: The designated radius in kilometers used to create the radius
            around the work order.
          example: 0.322
        ScheduledDateUtc:
          type: string
          format: date-time
          description: 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
        ScheduledDurationSeconds:
          type: integer
          nullable: true
          description: 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.
          example: 0
        StatusChangeDateUtc:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the work order's status was applied.
          example: 2017-01-18T13:16:47
        WorkOrderNumber:
          type: string
          description: 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
        WorkOrderStatusCode:
          type: string
          description: 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
        WorkOrderTypeCode:
          type: string
          description: 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
    Address:
      type: object
      description: 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.
      properties:
        AddressLine1:
          type: string
          description: Location specific identification such as a house number.
          example: 4444 East Ridgewood Drive
        AddressLine2:
          type: string
          nullable: true
          description: Additional information to identify location such as an apartment
            number.
          example: null
        Locality:
          type: string
          description: City, town, etc.
          example: Seven Hills
        AdministrativeArea:
          type: string
          description: State, province, etc.
          example: Ohio
        PostalCode:
          type: string
          description: Postal code.
          example: "44131"
        Country:
          type: string
          description: Country.
          example: USA
    WorkOrderResponse:
      allOf:
        - $ref: "#/components/schemas/WorkOrder"
      description: The flat work order object returned by the POST Work Order operation.
```
