POST BUS/api/app/Bus/BoardingPointsInfo

Request Information

URI Parameters

None.

Body Parameters

SeatLayoutRequestModel
NameDescriptionTypeAdditional information
ResultIndex

string

None.

TraceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ResultIndex": "sample string 1",
  "TraceId": "sample string 2"
}

application/xml, text/xml

Sample:
<SeatLayoutRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <ResultIndex>sample string 1</ResultIndex>
  <TraceId>sample string 2</TraceId>
</SeatLayoutRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SeatLayoutRequestModel'.

Response Information

Resource Description

BoradingPointDetails
NameDescriptionTypeAdditional information
Version

string

None.

StatusCode

integer

None.

Content

BoradingPointContent

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "sample string 1",
  "StatusCode": 2,
  "Content": {
    "ResponseCode": 1,
    "Addinfo": {
      "ResponseStatus": 1,
      "Error": {
        "ErrorCode": 1,
        "ErrorMessage": "sample string 2"
      },
      "TraceId": "ef37a61e-32a9-4250-9201-90269434fd20",
      "BoardingPointsDetails": [
        {
          "CityPointAddress": "sample string 1",
          "CityPointContactNumber": "sample string 2",
          "CityPointIndex": "sample string 3",
          "CityPointLandmark": "sample string 4",
          "CityPointLocation": "sample string 5",
          "CityPointName": "sample string 6",
          "CityPointTime": "2024-12-26T18:48:48.1468619+05:30"
        },
        {
          "CityPointAddress": "sample string 1",
          "CityPointContactNumber": "sample string 2",
          "CityPointIndex": "sample string 3",
          "CityPointLandmark": "sample string 4",
          "CityPointLocation": "sample string 5",
          "CityPointName": "sample string 6",
          "CityPointTime": "2024-12-26T18:48:48.1468619+05:30"
        }
      ],
      "DroppingPointsDetails": [
        {
          "CityPointIndex": "sample string 1",
          "CityPointLocation": "sample string 2",
          "CityPointName": "sample string 3",
          "CityPointTime": "2024-12-26T18:48:48.1468619+05:30"
        },
        {
          "CityPointIndex": "sample string 1",
          "CityPointLocation": "sample string 2",
          "CityPointName": "sample string 3",
          "CityPointTime": "2024-12-26T18:48:48.1468619+05:30"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<BoradingPointDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <Content>
    <Addinfo>
      <BoardingPointsDetails>
        <BoardingPointsDetail>
          <CityPointAddress>sample string 1</CityPointAddress>
          <CityPointContactNumber>sample string 2</CityPointContactNumber>
          <CityPointIndex>sample string 3</CityPointIndex>
          <CityPointLandmark>sample string 4</CityPointLandmark>
          <CityPointLocation>sample string 5</CityPointLocation>
          <CityPointName>sample string 6</CityPointName>
          <CityPointTime>2024-12-26T18:48:48.1468619+05:30</CityPointTime>
        </BoardingPointsDetail>
        <BoardingPointsDetail>
          <CityPointAddress>sample string 1</CityPointAddress>
          <CityPointContactNumber>sample string 2</CityPointContactNumber>
          <CityPointIndex>sample string 3</CityPointIndex>
          <CityPointLandmark>sample string 4</CityPointLandmark>
          <CityPointLocation>sample string 5</CityPointLocation>
          <CityPointName>sample string 6</CityPointName>
          <CityPointTime>2024-12-26T18:48:48.1468619+05:30</CityPointTime>
        </BoardingPointsDetail>
      </BoardingPointsDetails>
      <DroppingPointsDetails>
        <DroppingPointsDetail>
          <CityPointIndex>sample string 1</CityPointIndex>
          <CityPointLocation>sample string 2</CityPointLocation>
          <CityPointName>sample string 3</CityPointName>
          <CityPointTime>2024-12-26T18:48:48.1468619+05:30</CityPointTime>
        </DroppingPointsDetail>
        <DroppingPointsDetail>
          <CityPointIndex>sample string 1</CityPointIndex>
          <CityPointLocation>sample string 2</CityPointLocation>
          <CityPointName>sample string 3</CityPointName>
          <CityPointTime>2024-12-26T18:48:48.1468619+05:30</CityPointTime>
        </DroppingPointsDetail>
      </DroppingPointsDetails>
      <Error>
        <ErrorCode>1</ErrorCode>
        <ErrorMessage>sample string 2</ErrorMessage>
      </Error>
      <ResponseStatus>1</ResponseStatus>
      <TraceId>ef37a61e-32a9-4250-9201-90269434fd20</TraceId>
    </Addinfo>
    <ResponseCode>1</ResponseCode>
  </Content>
  <StatusCode>2</StatusCode>
  <Version>sample string 1</Version>
</BoradingPointDetails>