Retrieve a list of records attached to a case.
HTTP Method: GET
| Parameter |
Description |
| case_id |
The ID of the case. |
| per_page |
Optional Set the number of results returned per page. Defaults to 20. |
| page |
Optional Specify the page of results to return if there are multiple pages. Defaults to page 1. |
curl -X GET \
https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/records \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
A successful request will return a JSON object with the records.
{
"case_id": 42,
"records": [
{
"id": 187,
"record_type": { "id": 1, "name": "Alert" },
"records": [
{
"id": 1871,
"name": "Story name",
"value": "Cases API"
}
],
"created_at": "2023-12-18T22:29:22Z"
}
],
"meta": {
"current_page": "https://<<META.tenant.domain>>/api/v1/cases/42/records?per_page=20&page=1",
"previous_page": null,
"next_page": null,
"next_page_number": null,
"per_page": 20,
"pages": 1,
"count": 1
}
}