POST api/Booking/AddPaymentInfo
Request Information
URI Parameters
None.
Body Parameters
PaymentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CODContactInfo | ContactInfo |
None. |
|
| PaymentTypeId | integer |
None. |
|
| BookingId | integer |
None. |
|
| SecCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CODContactInfo": {
"Email": "sample string 1",
"Mobile": "sample string 2",
"FullName": "sample string 3",
"CountryId": 1,
"CityId": 1,
"Address": "sample string 4",
"ZipCode": "sample string 5"
},
"PaymentTypeId": 1,
"BookingId": 2,
"SecCode": "sample string 3"
}
application/xml, text/xml
Sample:
<PaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.API.Models">
<BookingId>2</BookingId>
<CODContactInfo>
<Address>sample string 4</Address>
<CityId>1</CityId>
<CountryId>1</CountryId>
<Email>sample string 1</Email>
<FullName>sample string 3</FullName>
<Mobile>sample string 2</Mobile>
<ZipCode>sample string 5</ZipCode>
</CODContactInfo>
<PaymentTypeId>1</PaymentTypeId>
<SecCode>sample string 3</SecCode>
</PaymentInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>