Traveloapi
  • Introduction of Traveloapi
  • Contact Us
  • Terms & Condition
  • Faq
  • BBPS API
    • Bharat Bill Payments System (BBPS)
    • Provider Lists
    • Fetch Bill Details
    • Transaction
    • Get Transaction Status
  • MONEY TRANSFER API
    • Money Transfer API (IMPS & NEFT)
    • Get Bank Name & Bankcode
    • Get Customer
    • Add/Create Customer
    • Verify /Validate Customer
    • Fetch Auto Account Holder Name
    • Add Recipient/Create Beneficiary
    • Resend Otp
    • Recipient / Beneficiary Verification
    • Get Beneficiary Detail
    • Delete Beneficiary
    • Delete Beneficiary Confirm By Otp
    • Is Bank Down or Perfect?
    • Transaction / Send Money
    • Check Transaction Status
  • FLIGHT API
    • Introduction Flight Booking Api
    • Flight Search
    • Flight Reprice
    • Flight Book
  • HOTEL API
    • Introduction Hotel Booking API
    • Get All Hotel City Name
    • Hotel Search
    • Hotel Details
    • Hotel Recheck Price
    • Book Hotel
    • Hotel Cancel
    • Cancellation Charges
  • BUS API
    • Introduction: Bus Booking Api
    • Bus citylist
    • Bus Availablity
    • Bus Seat Layout
    • Bus Block Ticket
    • Bus Seat Booking
    • Get Booked Ticket
    • Cancel Ticket Confirmation
  • CAR API
    • Introduction Car Booking Api
    • Car Search Api
    • Car Booking Request
    • Car Book Confirm
    • Car Booking Cancel
  • RECHARGE API
    • Introduction
    • Check Your Current Balance
    • Get All Operators/Providers
    • Get Mobile Auto Operator Fetch
    • Mobile Premium Tariff Plan
    • Mobile Tariff With Auto Update
    • Bill Name & Amount Fetch API
    • DTH AUTOSELECT OPERATOR API
    • DTH MONTHLY PLAN API
    • Prepaid Recharge & Mobile Postpaid Bill
    • DTH Recharge & Datacard Recharge
  • DIGITAL GOLD API
    • DIGITAL GOLD API
    • Digital Gold Live buyPrice
    • Digital Gold Live Sell Price
    • New Customer Registration
    • Customer Login
    • Customer Login Verify
    • Buy Digital Gold
  • GIFTCARD | BRAND VOUCHER API
    • Introduction
    • Get Gift Card Lists
    • Gift Card Details
    • Gift Card Buy / Purchase
    • Check Transaction Status
  • Commission Structure
    • Flight Booking Commission
    • Recharge Commission
    • Electricity Bill Pay Commission
    • Gas
    • BROADBAND
    • DTH
    • LANDLINE
    • INSURANCE
    • WATER
    • Giftcard | Brand Voucher Commission
  • PAN CARD API
    • Untitled
    • Untitled
    • Untitled
  • ADVENTURE API
    • Untitled
  • HOMESTAYS API
    • Untitled
  • HOLIDAYS API
    • Untitled
    • Untitled
    • Untitled
  • BUSINESS PARTNER
    • White Label Solution
    • Untitled
Powered by GitBook
On this page
  • Bus Block Ticket
  • EXAMPLE REQUEST :

Was this helpful?

  1. BUS API

Bus Block Ticket

Bus Block Ticket

POST https://traveloapi.com/yourapi/bus/block_ticket

Path Parameters

Name
Type
Description

gatkey

string

gatkey (provided by traveloapi) Pass gatkey with url.

Query Parameters

Name
Type
Description

APIBlockTicketRequest

string

sourceCity

string

Name of the source city

destinationCity

string

Name of the destination city

inventoryType

string

InventoryType value

routeScheduleId

string

routeScheduleId value

customerName

string

Name of the person who book the ticket

customerLastName

string

Last Name of the person who book the ticket

customerEmail

string

Email id of the person who book the ticket

doj

string

Date of Journey in the yyyy-mm-dd format

boardingPoint

array

It consists of id, location, time

id

string

Boarding point id

location

string

Boarding point location

Time

string

Boarding point dispatcher time

customerPhone

string

Mobile number of the person who book the ticket

emergencyPhNumber

string

Emergency mobile number

CustomerAddress

string

Address of the person who book the ticket

blockSeatPaxDetails

array

List of BlockSeatPaxDetails member variables. It Consists of age, name, seatNbr, sex, fare, totalFareWithTaxes, ladiesSeat, lastName, mobile, title, email, idType, idNumber, nameOnId, primary, ac, sleeper.

string

string

string

string

dd

string

string

string

string

string

string

string

string

string

string

dd

string

string

string

string

string

string

string

{

   "blockTicketKey":"TRVALOS0S2833565",

   "inventoryType":0,

   "apiStatus":{

      "message":"SUCCESS",

      "success":true

   }

}
{
    "message": "error"
}

EXAMPLE REQUEST :

{

  "sourceCity": "Hyderabad",

  "destinationCity": "Bangalore",

  "doj": "2014-04-11",

  "routeScheduleId": "6310",

  "boardingPoint": {

    "id": "6",

    "location": "Ameerpet,|Jeans Corner",

    "time": "09:00PM"

  },

  "customerName": "test",

  "customerLastName": "testing",

  "customerEmail": "test@gmail.com",

  "customerPhone": "9999999999",

  "emergencyPhNumber": "8888888888",

  "customerAddress": "kphp",

  "blockSeatPaxDetails": [

    {

      "age": "26",

      "name": "test123",

      "seatNbr": "R9",

      "sex": "M",

      "fare": 425,

      "totalFareWithTaxes": 456,

      "ladiesSeat": false,

      "lastName": "test456",

      "mobile": "7777777777",

      "title": "Mr",

      "email": "testing@gmail.com",

      "idType": "PAN",

      "idNumber": "AWk123232",

      "nameOnId": "test",

      "primary": true,

      "ac": false,

      "sleeper": false

    }

    

  ],

  "inventoryType": 0

}
PreviousBus Seat LayoutNextBus Seat Booking

Last updated 6 years ago

Was this helpful?