Batch create

Description

Batch link cases together by creating a new case link.

Request

HTTP Method: POST

Parameter Description
ids Array of IDs of the target cases. Max length of 50.
Path Parameter Description
case_id ID of the source case.

Sample request

curl -X POST \
  https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/linked_cases/batch \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "ids": ["43", "54", "67"]
      }'

Response

A successful request will return a JSON object of the source case ID & name with the linked cases.

Field description

Parameter Description
case_id The case ID.
name The case name.
linked_cases The array of cases linked to this case. Includes the case id and name.

Sample response

{
  "case_id": 42,
  "name": "Suspicious login detected",
  "linked_cases": [
    {
      "case_id": 43,
      "name": "Suspicious login detected #2"
    },
    {
      "case_id": 54,
      "name": "Suspicious login detected #3"
    },
    {
      "case_id": 67,
      "name": "Suspicious login detected #4"
    }
  ]
}
Was this helpful?