Description
Update an existing case field.
Request
HTTP Method: PUT
Parameter |
Description |
value |
The value of the case field. |
Path Parameter |
Description |
case_id |
The ID of the case. |
field_id |
The ID of the field. |
Sample request
curl -X PUT \
https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/fields/<<field_id>> \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
-d '{
"value": "This is an updated field"
}'
Response
A successful request will return a JSON object describing the updated case field.
Field description
Parameter |
Description |
case_id |
The ID of the case. |
field |
Details of the field. |
Field parameter |
Description |
id |
The field ID. |
value |
The value of the field. |
case_input |
An object containing the ID and name of the case input. |
Sample response
{
"case_id": 42,
"field": {
"id": 1,
"value": "Tines",
"case_input": {
"id": 1,
"name": "Company"
}
}
}