Returns a list of Transactions for an Asset which match the supplied filter (JSON encoded).
Currently supported filters:
reference_number (string)check_in (boolean) true=check-in, false=check-out, null=add mediadamage (boolean)created_at (time, time range) May be a time (in ISO 8601 format), in which case only Transactions at or after that time will be returned. It may also be a range of times, expressed as an array.user_id (string)location_id (string)extended (object) Matches field(s) in the extended data. Supports dot notation to match nested objects and arrays.$ curl -i \
-H "Accept: application/json; version=1" \
-H "Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJpYXQiOjE0NjM2OTQ4MjN9.k48v-R-un93KdIXqp9Zi12JOGJCu8uibtrWjscFCTqc" \
"https://api.record360.com/api/assets/123/transactions?after_id=41&limit=2"
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
{
"transactions": [
{
"id": "42",
"check_in": true,
"damage": false,
"notations": {},
"geo_coord": [122.289139, 47.612417],
"email_sent_to": [],
"workflow_id": "12",
"created_at": "2016-06-14T22:59:22.225Z",
"asset": {
"id": "123",
"external_id": "0011110384607"
},
...
},
{
"id": "43",
...
},
...
],
"links": {
"prev": "https://api.record360.com/api/assets/123/transactions?before_id=42&limit=2"
"next": "https://api.record360.com/api/assets/123/transactions?after_id=43&limit=2"
}
}
| Param name | Description |
|---|---|
|
id
required |
Asset ID or _externalid Validations:
|
|
before_id
optional |
Return Transactions before the specified ID Validations:
|
|
after_id
optional |
Return Transactions after the specified ID Validations:
|
|
limit
optional |
Limit the number of Transactions to return (max: 50) Validations:
|
|
filter
optional |
Filter results by attribute (JSON encoded) Validations:
|