POST api/Booking/update_passenger_data
Request Information
URI Parameters
None.
Body Parameters
TicketDetailsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| MasterCode | integer |
None. |
|
| SeatNo | integer |
None. |
|
| Name | string |
None. |
|
| Age | integer |
None. |
|
| PhoneNo | string |
None. |
|
| Gender | integer |
None. |
|
| IdProofType | integer |
None. |
|
| IdProofNo | string |
None. |
|
| EmergencyContactNo | string |
None. |
|
| EmergencyContactName | string |
None. |
|
| BoardingPoint | string |
None. |
|
| Boarding | string |
None. |
|
| Amount | decimal number |
None. |
|
| AdvanceAmount | decimal number |
None. |
|
| MinimumAdvanceAmt | decimal number |
None. |
|
| BalanceAmount | decimal number |
None. |
|
| SlotNumber | integer |
None. |
|
| SlotCode | integer |
None. |
|
| OnProgressTicketCode | integer |
None. |
|
| ReservationCode | integer |
None. |
|
| TourCode | integer |
None. |
|
| ConcessionAmount | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| NetAmount | decimal number |
None. |
|
| StartDate | string |
None. |
|
| CancelationCharge | decimal number |
None. |
|
| RefundableAmount | decimal number |
None. |
|
| PostedBy | integer |
None. |
|
| PNR | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"MasterCode": 2,
"SeatNo": 3,
"Name": "sample string 4",
"Age": 5,
"PhoneNo": "sample string 6",
"Gender": 7,
"IdProofType": 8,
"IdProofNo": "sample string 9",
"EmergencyContactNo": "sample string 10",
"EmergencyContactName": "sample string 11",
"BoardingPoint": "sample string 12",
"Boarding": "sample string 13",
"Amount": 14.1,
"AdvanceAmount": 15.1,
"MinimumAdvanceAmt": 16.1,
"BalanceAmount": 17.1,
"SlotNumber": 18,
"SlotCode": 19,
"OnProgressTicketCode": 20,
"ReservationCode": 21,
"TourCode": 22,
"ConcessionAmount": 23.1,
"DiscountAmount": 24.1,
"NetAmount": 25.1,
"StartDate": "sample string 26",
"CancelationCharge": 27.1,
"RefundableAmount": 28.1,
"PostedBy": 29,
"PNR": 30
}
application/xml, text/xml
Sample:
<TicketDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <AdvanceAmount>15.1</AdvanceAmount> <Age>5</Age> <Amount>14.1</Amount> <BalanceAmount>17.1</BalanceAmount> <Boarding>sample string 13</Boarding> <BoardingPoint>sample string 12</BoardingPoint> <CancelationCharge>27.1</CancelationCharge> <Code>1</Code> <ConcessionAmount>23.1</ConcessionAmount> <DiscountAmount>24.1</DiscountAmount> <EmergencyContactName>sample string 11</EmergencyContactName> <EmergencyContactNo>sample string 10</EmergencyContactNo> <Gender>7</Gender> <IdProofNo>sample string 9</IdProofNo> <IdProofType>8</IdProofType> <MasterCode>2</MasterCode> <MinimumAdvanceAmt>16.1</MinimumAdvanceAmt> <Name>sample string 4</Name> <NetAmount>25.1</NetAmount> <OnProgressTicketCode>20</OnProgressTicketCode> <PNR>30</PNR> <PhoneNo>sample string 6</PhoneNo> <PostedBy>29</PostedBy> <RefundableAmount>28.1</RefundableAmount> <ReservationCode>21</ReservationCode> <SeatNo>3</SeatNo> <SlotCode>19</SlotCode> <SlotNumber>18</SlotNumber> <StartDate>sample string 26</StartDate> <TourCode>22</TourCode> </TicketDetailsModel>
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>