GET api/PaymentMethodRelatedToCountries?countryId={countryId}&paymentMethod={paymentMethod}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryId | string |
Required |
|
paymentMethod | PaymentGatewayChoice |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentMethodRTCountryViewModelName | Description | Type | Additional information |
---|---|---|---|
Country | ValueTextModel |
None. |
|
PaymentGateawayChoice | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Country": { "Value": "sample string 1", "Text": "sample string 2" }, "PaymentGateawayChoice": "sample string 1" }
application/xml, text/xml
Sample:
<PaymentMethodRTCountryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Country> <Text>sample string 2</Text> <Value>sample string 1</Value> </Country> <PaymentGateawayChoice>sample string 1</PaymentGateawayChoice> </PaymentMethodRTCountryViewModel>