List values of a field

List the values your SysAid offers for a field, as its dropdown shows them.

GET https://cotlet.dev/api/v1/sysaid/field-values

read

Returns the values your account uses, in the order SysAid lists them. Values differ from account to account, so call this before filtering or updating by name. Categories come with their sub-categories as "Primary > Secondary".

Parameters

Parameters: list_field_values
NameTypeDescription
field string required string status, priority, impact or category.

Request

cURL
curl "https://cotlet.dev/api/v1/sysaid/field-values?field=field" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sysaid", "list_field_values", {"field":"field"})
Node.js
const result = await cotlet.call('sysaid', 'list_field_values', {"field":"field"});
CLI
cotlet call sysaid list_field_values --data '{"field":"field"}'

Example response

JSON

{
  "field": "priority",
  "values": [
    "Priority 1",
    "Priority 2",
    "Priority 3",
    "Priority 4"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.