Skip to main content

Session Info

How to get detailed session info tutorial

Use this service to get session/performance availability and information details.

Note: To know how to obtain the session ID to use this service, check our Events Search guide.

Let's get started with the example

Step-by-step examples

This guide shows how to get a session with detailed information about dates, prices and promotions, availability and more.

Prerequisites!

You will need a valid OAuth access_token to be able to make each call! Please refer to our Authentication Guide to obtain one.

Get the session info

With this simple call we can easily obtain detailed information about a session.

  • session-id: The unique identifier of the event that we want to obtain the detailed information, this identifier can be obtained using the events-search or event-info services.
curl --location --request GET 'https://gateway-pre.oneboxtickets.net/onebox-rest2/rest/session/{{session-id}}/info' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}'

Note: It is important to know some data of the session to know what flow to follow later when will be adding the seats in the Purchase Flow Guide:

  • eventType: This attribute is found in the object event-basic-info of the response, it will help us to know if the session belongs to an EVENT or ACTIVITY type event.
  • nominal This attribute is too found in the object event-basic-info, it will help us to know if the session belongs to an NUMBERED event or not.
  • @isSeasonSession: This attribute is too found in the object season-session-info, it will help us to know if the session is marked as seasson session or not.