List

Description

Returns a list of case inputs.

Request

HTTP Method: GET

Query Parameter Description
team_id Optional Only include inputs from a specific team.
per_page Optional Set the number of results returned per page. Defaults to 20.
page Optional Specify the page of results to return if there are multiple pages. Defaults to page 1.
curl -X GET \
  https://<<META.tenant.domain>>/api/v1/case_inputs?team_id=<<team_id>> \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'

Response

A successful response will return a list of case inputs.

Field description

Parameter Description
id Operation ID
name The name of the case input.
input_type The type of the case input.
team An object containing the ID and name of the team the case input belongs to.
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_inputs": [
   {
      "id": 19990840,
      "name": "Case Input Name",
      "input_type": "string",
      "team": {
        "id": 1,
        "name": "Engineering Team"
      }
      "created_at": "2022-06-24T08:35:21Z",
      "updated_at": "2022-06-24T08:35:21Z",
   }
 ],
 "meta": {
   "current_page": "https://tenant.tines.io/api/v1/case_inputs?per_page=20&page=1",
   "previous_page": null,
   "next_page": null,
   "next_page_number": null,
   "per_page": 20,
   "pages": 1,
   "count": 1
 }
}
Was this helpful?