v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Case Management

Create a case link

Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified.

post/api/v2/cases/link

Request body

Example request

{
  "data": {
    "attributes": {
      "child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d",
      "child_entity_type": "CASE",
      "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f",
      "parent_entity_type": "CASE",
      "relationship": "BLOCKS"
    },
    "type": "link"
  }
}

Response

Created

Example response

{
  "data": {
    "attributes": {
      "child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d",
      "child_entity_type": "CASE",
      "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f",
      "parent_entity_type": "CASE",
      "relationship": "BLOCKS"
    },
    "id": "804cd682-55f6-4541-ab00-b608b282ea7d",
    "type": "link"
  }
}