Skip to content

Ticket exchange

With this API method it is possible to exchange tickets.

Access method

POST activity/ticketexchange

Request structure

  • Exchanges (list): array with the data of the tickets that we want to exchange.
    • Exchange (object): exchange to be performed.
      • TicketAccessCode (string): ticket access code.
      • InternalCode (string): optional, code that we want to assign to the exchanged ticket.

Request example

{
    "Exchanges": 
    [
        {
            "TicketAccessCode": "MyAccessCode1",
            "InternalCode": "MycustomCode1"
        },
        {
            "TicketAccessCode": "MyAccessCode2",
            "InternalCode": "MycustomCode2"
        }
    ]
}

Response structure

  • Success (boolean): value that indicates whether the call was processed correctly or not.
  • Timestamp (dateTime): time at which the request was processed. ISO 8601 format (yyyy-MM-ddThh:mm:ss.fffffff).
  • ErrorMessage (string): error message explaining why the request was not successful. If it was correct, it will return null.
  • ErrorCodes (string[]): list of codes that identify the errors that occurred in the call.
  • ErrorEntityBreakDown (list): list that contains objects with the name and ID in case of error.
    • Id (string): identifier
    • Name (string): related name of the identifier.

Response example

{
    "Success": true,
    "Timestamp": "2022-02-05T15:00:00.00000000"
}