Get asset task types

GET /data/assets/{asset_id}/task-types

Retrieve all task types that are used for tasks related to a specific asset.

Path parameters

  • asset_id Required

    Unique identifier of the asset

Responses

  • 200 application/json

    List of asset task types successfully retrieved

    Hide response attributes Show response attributes object
    • id string(uuid)

      Task type unique identifier

    • name string

      Task type name

    • short_name string

      Task type short name

    • color string

      Task type color code

    • for_entity string

      Entity type this task type is for

GET /data/assets/{asset_id}/task-types
curl \
 --request GET 'http://api.example.com/data/assets/a24a6ea4-ce75-4665-a070-57453082c25/task-types' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "f79f1jf9-hj20-9110-f625-02908537h70",
    "name": "Modeling",
    "short_name": "MOD",
    "color": "#FF5733",
    "for_entity": "Asset"
  }
]