Smartpoint Cloud Connector Set Ticket Availability

Setting ticketing availability

To set the ticketing availability a message has to be sent using the operation setTicketingAvailability. It will expect the specific ticketing functionality to enable or disable

Copy
{
    id: GUID | string,
    type: "action",
    operation: "setTicketingAvailability",
    parameters: {
      "bookAndTicket": boolean,
      "issueTicket": boolean
    }
}

Which will return a response with the same id:

Copy
{
    id: GUID | string,
    type: "action",
    operation: "setTicketingAvailability",
    success: boolean,
    result: boolean
}

Example

Initial request:

Copy
{
  "id": "123456789",
  "type": "action",
  "operation": "setTicketingAvailability",
  "parameters": {
    "bookAndTicket": true
  }
}

Expected response:

Copy
{
  "id": "123456789",
  "type": "action",
  "operation": "setTicketingAvailability",
  "result": true,
  "success": true
}

If anything goes wrong you will receive a negative success and an explanation on the result.

Copy
{
  "id": "123456789",
  "type": "action",
  "operation": "setTicketingAvailability",
  "result": false,
  "success": false
}