Help

Approve or reject a facility ticket.

Approve or reject a facility ticket.

POST
/facility-tickets/{id}/approval

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*TicketApprovalAction

Value in

  • "Approve"
  • "Decline"

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/facility-tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/approval" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d 'Approve'
Empty