POST BUS/api/app/Bus/BusBookingDetails?TraceId={TraceId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TraceId

string

Required

Body Parameters

None.

Response Information

Resource Description

BusBookingDetails
NameDescriptionTypeAdditional information
Version

string

None.

StatusCode

integer

None.

Content

BookingDetailsContent

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "sample string 1",
  "StatusCode": 2,
  "Content": {
    "ResponseCode": 1,
    "ADDINFO": {
      "Error": {
        "ErrorCode": 1,
        "ErrorMessage": "sample string 2"
      },
      "Itinerary": {},
      "ResponseStatus": 2,
      "TraceId": "sample string 3"
    }
  }
}

application/xml, text/xml

Sample:
<BusBookingDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <Content>
    <ADDINFO>
      <Error>
        <ErrorCode>1</ErrorCode>
        <ErrorMessage>sample string 2</ErrorMessage>
      </Error>
      <Itinerary />
      <ResponseStatus>2</ResponseStatus>
      <TraceId>sample string 3</TraceId>
    </ADDINFO>
    <ResponseCode>1</ResponseCode>
  </Content>
  <StatusCode>2</StatusCode>
  <Version>sample string 1</Version>
</BusBookingDetails>