Help

List ticket types.

List ticket types.

GET
/ticket-types

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Query Parameters

$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

TicketType

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/ticket-types" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "value": [    {      "names": {        "property1": "string",        "property2": "string"      },      "ticketWorkflow": {        "name": "string",        "isActive": true,        "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "timeTrackingStartTransitionIds": [        "a52c967b-ba9e-4672-8a9f-378425c0a6ee"      ],      "requireTimeTrackingStart": true,      "name": "string",      "ticketClassId": "03bdc7cc-714a-4b68-8cf3-31996c553b26",      "iconName": "string",      "colorName": "string",      "ticketWorkflowId": "16d14ac3-8b02-4f43-8071-dd98304924ed",      "extensionAttributeDefinitions": [        {          "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",          "required": true        }      ],      "defaultStatus": "Down",      "defaultReason": "Failure",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  ],  "count": 0}