GET api/Tour/tour_type_list

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultModelOfListOfVehicleModel
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

Collection of VehicleModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "Code": 1,
      "Name": "sample string 2",
      "TypeCode": 3,
      "VehicleNo": "sample string 4",
      "MaxSeatNo": 5,
      "MaxRow": 6,
      "MaxCol": 7,
      "DOT": "sample string 8",
      "PostedBy": 9,
      "VehicleType": "sample string 10",
      "Layout": "sample string 11"
    },
    {
      "Code": 1,
      "Name": "sample string 2",
      "TypeCode": 3,
      "VehicleNo": "sample string 4",
      "MaxSeatNo": 5,
      "MaxRow": 6,
      "MaxCol": 7,
      "DOT": "sample string 8",
      "PostedBy": 9,
      "VehicleType": "sample string 10",
      "Layout": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfVehicleModelqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Data>
    <VehicleModel>
      <Code>1</Code>
      <DOT>sample string 8</DOT>
      <Layout>sample string 11</Layout>
      <MaxCol>7</MaxCol>
      <MaxRow>6</MaxRow>
      <MaxSeatNo>5</MaxSeatNo>
      <Name>sample string 2</Name>
      <PostedBy>9</PostedBy>
      <TypeCode>3</TypeCode>
      <VehicleNo>sample string 4</VehicleNo>
      <VehicleType>sample string 10</VehicleType>
    </VehicleModel>
    <VehicleModel>
      <Code>1</Code>
      <DOT>sample string 8</DOT>
      <Layout>sample string 11</Layout>
      <MaxCol>7</MaxCol>
      <MaxRow>6</MaxRow>
      <MaxSeatNo>5</MaxSeatNo>
      <Name>sample string 2</Name>
      <PostedBy>9</PostedBy>
      <TypeCode>3</TypeCode>
      <VehicleNo>sample string 4</VehicleNo>
      <VehicleType>sample string 10</VehicleType>
    </VehicleModel>
  </Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfArrayOfVehicleModelqg6OZjsc>