curl --request PATCH \
--url http://localhost/api/api/cases/{id}/report_code \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"report_code": "<string>"
}
'{
"id": 123,
"case_status": "<string>",
"ageing": 123,
"priority": 123,
"case_status_order": 123,
"alert_date": "<string>",
"alert_risk_rating": "HIGH",
"assignee": {
"id": 123,
"name": "<string>"
},
"bucket": {
"id": 123,
"name": "<string>"
},
"case_action": "<string>",
"case_subjects": {
"subject_1": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"subject_2": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
}
},
"created_on": "<string>",
"rule": 123,
"active_timestamp": "2023-11-07T05:31:56Z"
}Add a report code to a specific case by its ID.
curl --request PATCH \
--url http://localhost/api/api/cases/{id}/report_code \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"report_code": "<string>"
}
'{
"id": 123,
"case_status": "<string>",
"ageing": 123,
"priority": 123,
"case_status_order": 123,
"alert_date": "<string>",
"alert_risk_rating": "HIGH",
"assignee": {
"id": 123,
"name": "<string>"
},
"bucket": {
"id": 123,
"name": "<string>"
},
"case_action": "<string>",
"case_subjects": {
"subject_1": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"subject_2": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
}
},
"created_on": "<string>",
"rule": 123,
"active_timestamp": "2023-11-07T05:31:56Z"
}JWT token obtained from AWS Cognito or custom authentication service
A unique integer value identifying this case.
Report code.
Report code added successfully.
Case object with all details
Case ID
Current case status
Days since case creation
Case priority level
Internal case status order
Alert date timestamp
Risk rating
HIGH, MEDIUM, LOW, Unrated Case assignee information
Show child attributes
Bucket information
Show child attributes
Last action taken on case
Case subjects information
Show child attributes
Case creation date
Rule number ID that triggered the case
When case became active