POST api/Tour/tour_sloat_list
Request Information
URI Parameters
None.
Body Parameters
TourModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| FileNo | string |
None. |
|
| Barcode | integer |
None. |
|
| TypeCode | integer |
None. |
|
| Name | string |
None. |
|
| NoOfDays | integer |
None. |
|
| MaximumSeat | integer |
None. |
|
| MinimumAdvanceAmt | decimal number |
None. |
|
| isPackage | integer |
None. |
|
| VehicleCode | integer |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| Details | string |
None. |
|
| TermsAndCondetion | string |
None. |
|
| CancelPolicy | string |
None. |
|
| BoardingPoint | string |
None. |
|
| BoardingTime | string |
None. |
|
| Amount | decimal number |
None. |
|
| DOT | string |
None. |
|
| PostedBy | integer |
None. |
|
| IsActive | integer |
None. |
|
| GuideName | string |
None. |
|
| GuideContactNo | string |
None. |
|
| Layout | string |
None. |
|
| ContactNo | string |
None. |
|
| BookingEndDate | string |
None. |
|
| BranchCode | integer |
None. |
|
| TourType | string |
None. |
|
| AvailableSeat | integer |
None. |
|
| VehicleNo | string |
None. |
|
| VehicleDetails | string |
None. |
|
| DriverName | string |
None. |
|
| DriverPhoneNo | string |
None. |
|
| TourTypeName | string |
None. |
|
| EnableVirtualQueue | integer |
None. |
|
| PNR | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"FileNo": "sample string 2",
"Barcode": 3,
"TypeCode": 4,
"Name": "sample string 5",
"NoOfDays": 6,
"MaximumSeat": 7,
"MinimumAdvanceAmt": 8.1,
"isPackage": 9,
"VehicleCode": 10,
"StartDate": "sample string 11",
"EndDate": "sample string 12",
"Details": "sample string 13",
"TermsAndCondetion": "sample string 14",
"CancelPolicy": "sample string 15",
"BoardingPoint": "sample string 16",
"BoardingTime": "sample string 17",
"Amount": 18.1,
"DOT": "sample string 19",
"PostedBy": 20,
"IsActive": 21,
"GuideName": "sample string 22",
"GuideContactNo": "sample string 23",
"Layout": "sample string 24",
"ContactNo": "sample string 25",
"BookingEndDate": "sample string 26",
"BranchCode": 27,
"TourType": "sample string 28",
"AvailableSeat": 29,
"VehicleNo": "sample string 30",
"VehicleDetails": "sample string 31",
"DriverName": "sample string 32",
"DriverPhoneNo": "sample string 33",
"TourTypeName": "sample string 34",
"EnableVirtualQueue": 35,
"PNR": 36
}
application/xml, text/xml
Sample:
<TourModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <Amount>18.1</Amount> <AvailableSeat>29</AvailableSeat> <Barcode>3</Barcode> <BoardingPoint>sample string 16</BoardingPoint> <BoardingTime>sample string 17</BoardingTime> <BookingEndDate>sample string 26</BookingEndDate> <BranchCode>27</BranchCode> <CancelPolicy>sample string 15</CancelPolicy> <Code>1</Code> <ContactNo>sample string 25</ContactNo> <DOT>sample string 19</DOT> <Details>sample string 13</Details> <DriverName>sample string 32</DriverName> <DriverPhoneNo>sample string 33</DriverPhoneNo> <EnableVirtualQueue>35</EnableVirtualQueue> <EndDate>sample string 12</EndDate> <FileNo>sample string 2</FileNo> <GuideContactNo>sample string 23</GuideContactNo> <GuideName>sample string 22</GuideName> <IsActive>21</IsActive> <Layout>sample string 24</Layout> <MaximumSeat>7</MaximumSeat> <MinimumAdvanceAmt>8.1</MinimumAdvanceAmt> <Name>sample string 5</Name> <NoOfDays>6</NoOfDays> <PNR>36</PNR> <PostedBy>20</PostedBy> <StartDate>sample string 11</StartDate> <TermsAndCondetion>sample string 14</TermsAndCondetion> <TourType>sample string 28</TourType> <TourTypeName>sample string 34</TourTypeName> <TypeCode>4</TypeCode> <VehicleCode>10</VehicleCode> <VehicleDetails>sample string 31</VehicleDetails> <VehicleNo>sample string 30</VehicleNo> <isPackage>9</isPackage> </TourModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfSeatLayout| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | SeatLayout |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": {
"MaxRow": 1,
"MaxCol": 2,
"Layout": [
{
"Code": 1,
"Layout": "sample string 2",
"RowNo": 3,
"ColNo": 4,
"SeatNo": 5,
"DOT": "sample string 6",
"PostedBy": 7,
"StaffName": "sample string 8",
"Index_": 9
},
{
"Code": 1,
"Layout": "sample string 2",
"RowNo": 3,
"ColNo": 4,
"SeatNo": 5,
"DOT": "sample string 6",
"PostedBy": 7,
"StaffName": "sample string 8",
"Index_": 9
}
],
"Slot": [
{
"Code": 1,
"SlotNumber": 2,
"TourCode": 3,
"TicketDetailsCode": 4,
"ReservationCode": 5,
"BlockingCount": 6,
"OnProgressTicketCode": 7,
"RowNo": 8,
"ColNo": 9,
"Index_": 10,
"Message": "sample string 11",
"FreezTime": "sample string 12",
"isFemale": 13
},
{
"Code": 1,
"SlotNumber": 2,
"TourCode": 3,
"TicketDetailsCode": 4,
"ReservationCode": 5,
"BlockingCount": 6,
"OnProgressTicketCode": 7,
"RowNo": 8,
"ColNo": 9,
"Index_": 10,
"Message": "sample string 11",
"FreezTime": "sample string 12",
"isFemale": 13
}
]
}
}
application/xml, text/xml
Sample:
<ResultModelOfSeatLayoutqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
<Data>
<Layout>
<SeatLayoutModel>
<Code>1</Code>
<ColNo>4</ColNo>
<DOT>sample string 6</DOT>
<Index_>9</Index_>
<Layout>sample string 2</Layout>
<PostedBy>7</PostedBy>
<RowNo>3</RowNo>
<SeatNo>5</SeatNo>
<StaffName>sample string 8</StaffName>
</SeatLayoutModel>
<SeatLayoutModel>
<Code>1</Code>
<ColNo>4</ColNo>
<DOT>sample string 6</DOT>
<Index_>9</Index_>
<Layout>sample string 2</Layout>
<PostedBy>7</PostedBy>
<RowNo>3</RowNo>
<SeatNo>5</SeatNo>
<StaffName>sample string 8</StaffName>
</SeatLayoutModel>
</Layout>
<MaxCol>2</MaxCol>
<MaxRow>1</MaxRow>
<Slot>
<SlotModel>
<BlockingCount>6</BlockingCount>
<Code>1</Code>
<ColNo>9</ColNo>
<FreezTime>sample string 12</FreezTime>
<Index_>10</Index_>
<Message>sample string 11</Message>
<OnProgressTicketCode>7</OnProgressTicketCode>
<ReservationCode>5</ReservationCode>
<RowNo>8</RowNo>
<SlotNumber>2</SlotNumber>
<TicketDetailsCode>4</TicketDetailsCode>
<TourCode>3</TourCode>
<isFemale>13</isFemale>
</SlotModel>
<SlotModel>
<BlockingCount>6</BlockingCount>
<Code>1</Code>
<ColNo>9</ColNo>
<FreezTime>sample string 12</FreezTime>
<Index_>10</Index_>
<Message>sample string 11</Message>
<OnProgressTicketCode>7</OnProgressTicketCode>
<ReservationCode>5</ReservationCode>
<RowNo>8</RowNo>
<SlotNumber>2</SlotNumber>
<TicketDetailsCode>4</TicketDetailsCode>
<TourCode>3</TourCode>
<isFemale>13</isFemale>
</SlotModel>
</Slot>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfSeatLayoutqg6OZjsc>