Assets

List location asset history

Retrieve the history of a location asset

get/api/v2/assets/locations/{id}/history

Request

Path parameters

idstring required

The location asset ID

Query parameters

limitinteger

Maximum number of results to return

skipinteger

Number of results to skip for pagination

Response

Location asset history retrieved successfully

totalCountinteger required

Total number of history events available (for pagination)

Example response

{
  "results": [
    {
      "eventType": "ASSET_HISTORY_EVENT_TYPE_NOTE",
      "note": "Asset transferred to new department",
      "changedFields": [
        {
          "label": "Status"
        }
      ],
      "occurredAt": "2024-01-15T10:30:00",
      "actor": {
        "id": "507f1f77bcf86cd799439011",
        "name": "John Doe",
        "type": "ACTOR_TYPE_USER"
      },
      "actionSource": "ACTION_SOURCE_MANUAL"
    }
  ],
  "totalCount": 25
}

Changes

No recorded changes to this operation across all 1 revision of this API.