v1

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

Create custom attribute config for a case type

Create custom attribute config for a case type

post/api/v2/cases/types/{case_type_id}/custom_attributes

Path parameters

case_type_idstring required

The UUID of the case type.

Request body

Example request

{
  "data": {
    "attributes": {
      "description": "AWS Region, must be a valid region supported by AWS",
      "display_name": "AWS Region",
      "is_multi": true,
      "key": "aws_region",
      "type": "NUMBER"
    },
    "type": "custom_attribute"
  }
}

Response

CREATED

Example response

{
  "data": {
    "attributes": {
      "case_type_id": "aeadc05e-98a8-11ec-ac2c-da7ad0900001",
      "description": "AWS Region, must be a valid region supported by AWS",
      "display_name": "AWS Region",
      "is_multi": true,
      "key": "aws_region",
      "type": "NUMBER"
    },
    "id": "aeadc05e-98a8-11ec-ac2c-da7ad0900001",
    "type": "custom_attribute"
  }
}