OneBasket

Create pass

POST
/tickets/{ticketId}/pass

Generates wallet pass for given ticket

Authorization

BearerAuth ApiKeyAuth
AuthorizationBearer <token>

In: header

x-api-key<token>

In: header

Path Parameters

ticketId*string

The id of the ticket.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/tickets/string/pass" \  -H "Content-Type: application/json" \  -d '{    "pushNotificationToken": "string"  }'
{  "file": "string",  "metadata": {    "serialNumber": "string"  }}