Bus Block Response

Bus Block Response

Element

Format

Meaning

Mandatory/Optional

UserIp

String

IP Address of the end user

Yes

Search_Token

String

Authenticate method give Token ID. Token Id to be echoed back in further requests. For more details of Token id please check

authenticate method

Yes

Error

Object

 

Yes

ErrorCode

String

Code corresponding to the Error

Yes

ErrorMessage

String

Contain error description corresponding to ErrorCode. Error Message would be blank

in case ErrorCode=0

Yes

Result

Array

Array of results

Yes

  • ArrivalTime
  • Date Time

    Approx. arrival time at the destination.

    Yes

  • BusType
  • String

    Define bus type

    (e.g. Leyland A/C Seater/Sleeper Executive Luxury (2+2), etc

    Yes

  • DepartureTime
  • Date Time

    Define the bus departure date and time

    Yes

  • ServiceName
  • String

    Transporter Name

    Yes

  • TravelName
  • String

    Transporter Name

    Yes

    BoardingPointdetails

    Array

     

    Yes

    CityPointAddress

    String

    Address of selected Boarding point (e.g., Baramunda Bus Terminus)

    Yes

    CityPointContactNumber

    Integer

    Contact details of bus operator (e.g., 9437136588)

    Yes

    CityPointIndex

    Integer

    Id of the boarding point (e.g. 43289)

    Yes

    CityPointLandmark

    String

    Landmark of boarding point

    Yes

    CityPointLocation

    String

    Name of the boarding point location

    Yes

    CityPointName

    String

    Name of the boarding point (e.g., Baramunda Bus Terminus)

    Yes

    CityPointTime

    String

    Time of boarding at this location. (e,g, 1215)

    Yes

    CancelPolicy[]

    Array of cancellation policies

    Yes

  • CancellationCharge
  • Decimal

    Cancellation charge

    Yes

  • CancellationChargeType
  • Enumeration

    CancellationPolicies - ChargeType Amount = 1, Percentage = 2,Nights = 3

    Yes

  • PolicyString
  • Time

    Date from which charges will apply Format: (yyyy/mm/dd)

    Yes

  • TimeBeforeDept
  • Yes

  • FromDate
  • Date Time

    Date from which charges will apply Format: (yyyy/mm/dd)

    Yes

  • ToDate
  • Date Time

    Date up to which charges will apply

    Format: (yyyy/mm/dd)

    Yes

    DropingPointdetails

    Object

    Dropping point details

    Yes

    Passenger []  

    Array of passenger details

    like name, email, Gender etc

    Yes

  • LeadPassenger
  • Enumeration

    Title of passenger

    Yes

    Title

     

    Title of passenger

    Yes

    Address

    String

    Address of the passenger

    Yes

    Age

    Integer

    Age of the passenger

    Yes

    City

    Integer

    Name of the dropping point (e.g., Baripada Bus Stand)

    Yes

    Email

    String

    Email address of passenger

    Yes

    FirstName

    String

    First name of passenger

    Yes

    Gender

    String

    Define the gender of passenger

    Male = 1, Female = 2

    Yes

    IDNumber

     

    Id proof number

    Yes

    IDType

    Enumeration

    Id proof type

    Yes

    LastName

    String

    Last name of passenger

    Yes

    PhoneNo

    Integer

    Phone no of passenger

    Yes

    Seat

    Object

     

    Yes

  • ColumnNo
  • integer

    Yes

  • Height
  • Integer

    Seat height

    Yes

    IsLadiesSeat

    Boolean

    Define Seats reserved for ladies’ possible values are True or False

    Yes

    IsMalesSeat

    Boolean

    Seats reserved for males’

    possible values are True or False

    Yes

    IsUpper

    Boolean

     

    Yes

    RowNo

    Integer

    Define the seat row number in which row seat lies

    Yes

  • SeatFare
  • Integer

    Yes

    SeatIndex

    Integer

     

    Yes

    SeatName

    String

    This is seat no

    Yes

    SeatStatus

    Boolean

    Define Seat is Available or not

    possible values are True or

    False

    Yes

    SeatType

    Enumeration

    Define the type of seat possible value can be

    seat = 1, sleeper = 2,seatCumSleeper = 3, UpperBerth = 4,LowerBerth = 5

    Yes

  • Width
  • Integer

    Possible Values are 1 or 2

    Yes

    Price

    Object

     

    Yes

    CurrencyCode

    String

    Currency in which minimum bus price is returned

    Yes

    BasePrice

    Decimal

    Base price of bus

    Yes

    Tax

    Decimal

    Tax applicable on bus price

    Yes

    OtherCharges

    Decimal

    Other charges applicable on bus price

    Yes

    Discount

    Decimal

    Discount applicable on bus

    price

    Yes

    PublishedPrice

    Decimal

    This price would be different only if Bus Price is on PUBLISHED. In case of NET, Published Price would be

    same as Offered Price)

    Yes

    PublishedPriceRoundedOff

    Decimal

    This price is for display purpose only

    Yes

    OfferedPrice

    Decimal

    Offered Price of the Bus

    Yes

    OfferedPriceRoundedOff

    Decimal

    Offered Price (rounded off) of the Bus

    Yes

    AgentCommission

    Decimal

    TBO will part this amount if

    bus price is on Published

    Yes

    AgentMarkUp

    Decimal

    Agent will earn this amount if Bus mark-up is set from backend

    Yes

    TDS

    Decimal

    TDS applicable on Commission Earned.

    This would be deducted only

    when commission is parted to the agent

    Yes

    GST

    Object

    Define the CGST and IGST

    rate and amount applicable on the bus price

    Yes

    CGSTAmount

    Decimal

    CGST amount

    Yes

    CGSTRate

    Decimal

    Rate of CGST

    Yes

    CessAmount

    Decimal

    Cess amount

    Yes

    CessRate

    Decimal

    Rate of cess

    Yes

    IGSTAmount

    Decimal

    IGST amount

    Yes

    IGSTRate

    Decimal

    Rate of IGST

    Yes

    SGSTAmount

    Decimal

    SGST S amount

    Yes

    SGSTRate

    Decimal

    Rate of SGST

    Yes

    TaxableAmount

    Decimal

    Total taxable amount

    Yes