Skip to main content

List Work Order Statuses

Returns a list of Work Order Statuses belonging to your account.

Query Parameters
  • start_cursor string

    The start cursor for Keyset pagination.

  • per_page integer

    Possible values: >= 2 and <= 100

    Default value: 50

    The number of records per page to return.

  • filter object

    The fields, operations, and values to filter the records by.

    • name object
      oneOf

    • like string required
    • color object
    • eq string required
    • created_at object
      oneOf

    • lt string required
    • updated_at object
      oneOf

    • lt string required
  • sort object

    The fields and direction to sort the results by.

    • id string

      Possible values: [asc, desc]

      Default value: desc

    • created_at string

      Possible values: [asc, desc]

    • updated_at string

      Possible values: [asc, desc]

Responses

OK


Schema

  • start_cursor string

    The current start cursor of the records returned.

  • next_cursor string

    The next cursor to retrieve the next page of records.

  • per_page integer

    The maxumum number of records returned.

  • estimated_remaining_count integer

    The number of remaining records including the returned records, up to a maximum of 500.

  • filtered_by object[]

    The filters applied to the returned record set.

    anyOf

  • name object
    oneOf

  • like string
  • sorted_by object[]

    The sorts applied to the returned record set.

    anyOf

  • updated_at string

    Possible values: [asc, desc]

  • records object[]
  • id integer

    Possible values: >= 1

  • created_at date-time

    The date and time at which this record was created.

  • updated_at date-time

    The date and time at which this record was most recently updated.

  • account_id integer

    Possible values: >= 1

  • name string

    The name of the Work Order Status.

  • description string

    The description of the Work Order Status.

  • color string

    The color of the Work Order Status seen in the UI.

  • default boolean

    Whether or not this is the default Work Order Status applied to new Work Orders.

  • completed boolean

    Whether Work Orders will be set to completed when they are moved to this status.

  • position integer

    The position of this Work Order Status in the list of statuses.

  • work_orders_count integer

    The number of Work Orders that are currently in this status.

Loading...