Ticbolt API Integration
  • Introduction
  • ✨GET STARTED
    • Create Account
    • Create API project
    • Access control
  • 🎯API ENDPOINTS
    • POST - createEvent
    • GET - eventInfo
    • POST - buyTickets
    • GET - userPortfolio
    • POST - userSignedMessage
  • 🧳Webhooks
    • Webhook - createEventStatus
    • Webhook - buyTicketStatus
Powered by GitBook
On this page
  1. API ENDPOINTS

GET - eventInfo

Get the info of an event created at the block chain.

Http method

GET

URL endpoint

https://api.ticbolt.com/v1/evenInfo

Request header

API token - The token can be easily copied from the partner dashboard at the time of project creation.

Request body

Json object with the details of the event to be created.

Example structure :

{
    "transactionHash" : "0x1234abcdef..."
}

Response structure :

Success

{
    "status": "success",
    "externalEventId": "externalEventId",
    "transactionHash": "0x1234abcdef...",
    "contractAddress": "0x1234abcdef...",
    "tickets": [
        {
            "section": "section name",
            "tickeTypeName": "ticket type",
            "availableSpaces": 100,
            "seated": true
        },
        {
            "section": "section name",
            "tickeTypeName": "ticket type",
            "availableSpaces": 100,
            "seated": true
        },
        ... // Other ticket types
    ]    
}

Parameter description :

  • externalEventId (String): The event Id of event at the client platform.

  • contractAddress (String): The transcation hash of the event received after createEvent request.

  • contractAddress (String): The contract address of the event received after createEvent request.

  • tickets (Array of Objects) : Array contains objects for each ticket types.

    • section (Strings): The name of the section passed during event creation.

    • ticketTypeName (Strings): Name of the ticket type passed during event creation.

    • availableSpaces (Integer): Number of available seats for a particular ticket type.

    • seated (Boolean): true/false based on whether the ticket type is seated or not.

Failure :

{
    "status": fail,
    "message": "Invalid Event ID"
}

Other exceptions :

{
    "status": "error",
    "message": "[Exception Message]"
}
PreviousPOST - createEventNextPOST - buyTickets

Last updated 1 year ago

🎯