List workflow actions the caller can take on a facility ticket.
List workflow actions the caller can take on a facility ticket.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Path Parameters
id*string
Format
uuidHeader Parameters
Olify-Tenant-Id*string
Tenant GUID the caller is allowed to access.
Format
uuidResponse Body
TicketWorkflowActionsapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/facility-tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow-actions" \ -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "transitions": [ { "name": "string", "begState": { "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4", "isDefaultForStateGroup": true, "name": "string", "stateGroupId": "0f7c32d9-684f-459f-91fa-95c70d9393c1", "isApproval": true, "isWorkOrder": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "endState": { "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4", "isDefaultForStateGroup": true, "name": "string", "stateGroupId": "0f7c32d9-684f-459f-91fa-95c70d9393c1", "isApproval": true, "isWorkOrder": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "order": "string", "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "approvalActions": [ "Approve" ]}