Get

Description

Retrieve a single field for a case.

Request

HTTP Method: GET

Parameter Description
case_id The ID of the case.
field_id The ID of the field.
curl -X GET \
  https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/fields/<<field_id>> \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'

Response

A successful request will return a JSON object of the field.

Field description

Parameter Description
case_id The case ID.
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, name and key of the case input.

Sample response

{
  "case_id": 42,
  "field": {
    "id": 1,
    "value": "Tines",
    "case_input": {
      "id": 1,
      "key": "company",
      "name": "Company"
    }
  }
}
Was this helpful?