Assets
List location asset history
Retrieve the history of a location asset
get/api/v2/assets/locations/{id}/history
Request
- Base URLhttps://console.jumpcloud.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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.