Create

Description

⚠️ Note
This API endpoint has been deprecated, please update to the latest version.

Add an existing record to a case.

Request

HTTP Method: POST

Parameter Description
record_id The ID of the record to add to the case.
Path Parameter Description
case_id ID of the case.

Sample request

curl -X POST \
  https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/records \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "record_id": 423
      }'

Response

A successful request will return a JSON object including the case and record id.

Field description

Parameter Description
case_id The case ID that the record was added to.
record_id The record ID.

Sample response

{
  "case_id": 1,
  "record_id": 423
}
Was this helpful?