Description
Returns a case input.
Request
HTTP Method: GET
| Query Parameter | Description |
|---|---|
| case_input_id | The ID of the case input to retrieve. |
curl -X GET \
https://<<META.tenant.domain>>/api/v1/case_inputs/<<case_input_id>> \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
Response
A successful response will return a JSON object representing the specified case input.
Field description
| Parameter | Description |
|---|---|
| id | Operation ID |
| name | The name of the case input. |
| key | The lookup key of the case input. |
| input_type | The type of the case input. |
| validation_type | The validation type of the case input. One of none, options, or regex. |
| validation_options | An object containing validation configuration. For options type, contains an options array of accepted string values. |
| team | An object containing the ID and name of the team the case input belongs to. |
| team_case_input_group | An object containing the name of the group the case input belongs to, if any. |
| created_at | ISO 8601 Timestamp representing creation date and time of the case input. |
| updated_at | ISO 8601 Timestamp representing last updated date and time of the case input. |
Sample response
{
"case_input": {
"id": 19990840,
"name": "Priority",
"key": "priority",
"input_type": "string",
"validation_type": "options",
"validation_options": {
"options": ["low", "medium", "high", "critical"]
},
"team": {
"id": 1,
"name": "Engineering Team"
},
"created_at": "2022-06-24T08:35:21Z",
"updated_at": "2022-06-24T08:35:21Z"
}
}