PUT api/PaymentMethodRelatedToCountries/Update?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

ChangePaymentMethodRTCountryBindingModel
NameDescriptionTypeAdditional information
CountryId

string

Required

PaymentGateawayChoice

PaymentGatewayChoice

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryId": "sample string 1",
  "PaymentGateawayChoice": 0
}

application/xml, text/xml

Sample:
<ChangePaymentMethodRTCountryBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CountryId i:nil="true" />
  <PaymentGateawayChoice>Deposit</PaymentGateawayChoice>
  <CountryId>sample string 1</CountryId>
</ChangePaymentMethodRTCountryBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.