POST api/Vehicle/save_seat_layout
Request Information
URI Parameters
None.
Body Parameters
Collection of SeatLayoutModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Layout | string |
None. |
|
| RowNo | integer |
None. |
|
| ColNo | integer |
None. |
|
| SeatNo | integer |
None. |
|
| DOT | string |
None. |
|
| PostedBy | integer |
None. |
|
| StaffName | string |
None. |
|
| Index_ | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"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
}
]
application/xml, text/xml
Sample:
<ArrayOfSeatLayoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
<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>
</ArrayOfSeatLayoutModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <ResponseCode>1</ResponseCode> </ResultModelOfstring>