DELETE api/PaymentMethodRelatedToCountries/Remove?id={id}&paymentMethod={paymentMethod}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

paymentMethod

PaymentGatewayChoice

Required

Body Parameters

None.

Response Information

Resource Description

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"
}

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>