Skip to main content

Retrieve Work Order Status

GET 

https://secure.fleetio.com/api/v1/work_order_statuses/:id

Retrieve the details of an existing Work Order Status.

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Responses

OK

Schema
    idinteger

    Possible values: >= 1

    created_atdate-time

    The date and time at which this record was created.

    Example: 2023-03-14T13:46:27-06:00
    updated_atdate-time

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

    Example: 2023-03-14T13:46:27-06:00
    account_idId (integer)required

    Possible values: >= 1

    namestringrequired

    The name of the Work Order Status.

    descriptionstringnullablerequired

    The description of the Work Order Status.

    colorstringnullablerequired

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

    defaultbooleanrequired

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

    completedbooleanrequired

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

    positionintegerrequired

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

    work_orders_countintegerrequired

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

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
curl -L 'https://secure.fleetio.com/api/v1/work_order_statuses/:id' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!