GET api/PaymentMethodRelatedToCountries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentMethodRTCountryViewModel
NameDescriptionTypeAdditional 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"
  },
  {
    "Country": {
      "Value": "sample string 1",
      "Text": "sample string 2"
    },
    "PaymentGateawayChoice": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentMethodRTCountryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <PaymentMethodRTCountryViewModel>
    <Country>
      <Text>sample string 2</Text>
      <Value>sample string 1</Value>
    </Country>
    <PaymentGateawayChoice>sample string 1</PaymentGateawayChoice>
  </PaymentMethodRTCountryViewModel>
  <PaymentMethodRTCountryViewModel>
    <Country>
      <Text>sample string 2</Text>
      <Value>sample string 1</Value>
    </Country>
    <PaymentGateawayChoice>sample string 1</PaymentGateawayChoice>
  </PaymentMethodRTCountryViewModel>
</ArrayOfPaymentMethodRTCountryViewModel>