GET api/Booking/GetBookingSettings/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| systemFees | SystemFees |
None. |
|
| availablePaymentMethods | AvailablePaymentMethods |
None. |
Response Formats
application/json, text/json
Sample:
{
"systemFees": {
"CreditCardFees": 1.0,
"CreditCardFeesPercentage": 1.0,
"DeliveryFees": 1.0,
"DeliveryFeesCurrencyCode": "sample string 1"
},
"availablePaymentMethods": {
"IsAvailableForCOD": true,
"MinAllowedPeriodForCOD": "sample string 2",
"IsAvailableForBankTransfer": true,
"MinAllowedPeriodForBankTransfer": "sample string 4",
"MinAllowedPeriodForZainCash": "sample string 5",
"IsAvailableForZainCash": true,
"IsAvailableForEFawateercom": true,
"IsAvailableForCreditCard": true,
"EFawateercomCode": "sample string 9",
"IsAvailablePayFromWallet": true
}
}
application/xml, text/xml
Sample:
<BookingSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.API.Models">
<availablePaymentMethods>
<EFawateercomCode>sample string 9</EFawateercomCode>
<IsAvailableForBankTransfer>true</IsAvailableForBankTransfer>
<IsAvailableForCOD>true</IsAvailableForCOD>
<IsAvailableForCreditCard>true</IsAvailableForCreditCard>
<IsAvailableForEFawateercom>true</IsAvailableForEFawateercom>
<IsAvailableForZainCash>true</IsAvailableForZainCash>
<IsAvailablePayFromWallet>true</IsAvailablePayFromWallet>
<MinAllowedPeriodForBankTransfer>sample string 4</MinAllowedPeriodForBankTransfer>
<MinAllowedPeriodForCOD>sample string 2</MinAllowedPeriodForCOD>
<MinAllowedPeriodForZainCash>sample string 5</MinAllowedPeriodForZainCash>
</availablePaymentMethods>
<systemFees>
<CreditCardFees>1</CreditCardFees>
<CreditCardFeesPercentage>1</CreditCardFeesPercentage>
<DeliveryFees>1</DeliveryFees>
<DeliveryFeesCurrencyCode>sample string 1</DeliveryFeesCurrencyCode>
</systemFees>
</BookingSettings>