Nápověda

Get one ticket type by id.

Get one ticket type by id.

GET
/ticket-types/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Formatuuid

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/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}