POST api/Booking/get_boading_dates

Request Information

URI Parameters

None.

Body Parameters

BoardingModel
NameDescriptionTypeAdditional information
Code

integer

None.

TourCode

integer

None.

Name

string

None.

Date

string

None.

Time

string

None.

DOT

string

None.

PostedBy

integer

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "TourCode": 2,
  "Name": "sample string 3",
  "Date": "sample string 4",
  "Time": "sample string 5",
  "DOT": "sample string 6",
  "PostedBy": 7,
  "Amount": 8.1
}

application/xml, text/xml

Sample:
<BoardingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Amount>8.1</Amount>
  <Code>1</Code>
  <DOT>sample string 6</DOT>
  <Date>sample string 4</Date>
  <Name>sample string 3</Name>
  <PostedBy>7</PostedBy>
  <Time>sample string 5</Time>
  <TourCode>2</TourCode>
</BoardingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfListOfBoardingModel
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

Collection of BoardingModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "Code": 1,
      "TourCode": 2,
      "Name": "sample string 3",
      "Date": "sample string 4",
      "Time": "sample string 5",
      "DOT": "sample string 6",
      "PostedBy": 7,
      "Amount": 8.1
    },
    {
      "Code": 1,
      "TourCode": 2,
      "Name": "sample string 3",
      "Date": "sample string 4",
      "Time": "sample string 5",
      "DOT": "sample string 6",
      "PostedBy": 7,
      "Amount": 8.1
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfBoardingModelqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Data>
    <BoardingModel>
      <Amount>8.1</Amount>
      <Code>1</Code>
      <DOT>sample string 6</DOT>
      <Date>sample string 4</Date>
      <Name>sample string 3</Name>
      <PostedBy>7</PostedBy>
      <Time>sample string 5</Time>
      <TourCode>2</TourCode>
    </BoardingModel>
    <BoardingModel>
      <Amount>8.1</Amount>
      <Code>1</Code>
      <DOT>sample string 6</DOT>
      <Date>sample string 4</Date>
      <Name>sample string 3</Name>
      <PostedBy>7</PostedBy>
      <Time>sample string 5</Time>
      <TourCode>2</TourCode>
    </BoardingModel>
  </Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfArrayOfBoardingModelqg6OZjsc>