Skip to main content

Asset classes

1 operation at https://api.zaitrack.app. Request and response bodies are JSON with camelCase keys; ids are UUIDs; times are RFC 3339 in UTC.

Every operation needs an API key, a personal access token or an OAuth access token unless it says otherwise. An Idempotency-Key is replayed for 24 hours; see Idempotency. Errors are application/problem+json; see Errors.

Vehicle asset classes​

GET /v1/asset-classes

  • Scope: vehicles:read or vehicles:*
  • Rate class: read (100 per second and 360,000 per hour)
  • Idempotency-Key: not used
  • Audited: no
  • Step-up MFA: no

Request​

No body.

Response​

200: fields the handler writes, taken from its source.

FieldTypeNotes
itemsarray of object
items[].class—
items[].displayName—
items[].description—
items[].allowedCapabilities—
items[].typicalCapacityMinTons—
items[].typicalCapacityMaxTons—

Example​

curl "https://api.zaitrack.app/v1/asset-classes" \
-H "Authorization: Bearer zk_test_…"