---
title: "Get all work order statuses."
url: "https://developers.vzconnect.com/apis/work-order-status-api-1/versions/64939be0-aa77-40bd-a397-7597ff95ac52/operations/GET__workorderstatuses"
---

> Full API specification: https://developers.vzconnect.com/apis/work-order-status-api-1/versions/64939be0-aa77-40bd-a397-7597ff95ac52.md

# Get all work order statuses.

`GET` `/pas/v1/workorderstatuses`

Operation ID: `GET__workorderstatuses`

The integrated user will be able to use the GET All Work Order Statuses method to retrieve all of the work order statuses that exist within the REVEAL account. In order to apply a work order status to a work order in REVEAL the status type must first be created to be recognized using the Planning and Scheduling Work Order Status API. Available work order statuses can be reviewed within REVEAL's Admin section under Work Order Preferences.

## Responses

- `200` - Returns the list of work order statuses.
- `204` - No work order statuses found.
- `400` - Invalid request.
- `401` - Unauthorized.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Work Order Status API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /pas/v1/workorderstatuses:
    get:
      operationId: GET__workorderstatuses
      summary: Get all work order statuses.
      description: The integrated user will be able to use the GET All Work Order
        Statuses method to retrieve all of the work order statuses that exist
        within the REVEAL account. In order to apply a work order status to a
        work order in REVEAL the status type must first be created to be
        recognized using the Planning and Scheduling Work Order Status API.
        Available work order statuses can be reviewed within REVEAL's Admin
        section under Work Order Preferences.
      responses:
        "200":
          description: Returns the list of work order statuses.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/WorkOrderStatusResource"
              example:
                - WorkOrderStatus:
                    CreatedDateUtc: 2015-02-19T14:36:26.097
                    WorkOrderStatusCode: Open
                    WorkOrderStatusDescription: Open
                    WorkOrderStatusType: Open
                - WorkOrderStatus:
                    CreatedDateUtc: 2015-02-19T14:36:27.633
                    WorkOrderStatusCode: InProcess
                    WorkOrderStatusDescription: In process
                    WorkOrderStatusType: None
        "204":
          description: No work order statuses found.
          content:
            application/json: {}
        "400":
          description: Invalid request.
          content:
            application/json: {}
        "401":
          description: Unauthorized.
          content:
            application/json: {}
        "500":
          description: Internal server error.
          content:
            application/json: {}
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/pas/v1/workorderstatuses/?$
      tags:
        - Work Order Status API
components:
  schemas:
    WorkOrderStatusResource:
      type: object
      properties:
        WorkOrderStatus:
          $ref: "#/components/schemas/WorkOrderStatus"
        _links:
          $ref: "#/components/schemas/Links"
    WorkOrderStatus:
      type: object
      properties:
        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
        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
        WorkOrderStatusDescription:
          type: string
          description: 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.
        WorkOrderStatusType:
          type: string
          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: InProcess
    Links:
      type: object
      properties:
        Self:
          type: object
          properties:
            Href:
              type: string
              description: The self-referential hyperlink to this resource.
```
