POST api/Account/SetPaymentMethod
Request Information
URI Parameters
None.
Body Parameters
PaymentMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentMethodKey | string |
None. |
|
| AccountKey | string |
None. |
|
| PaymentMethodid | integer |
None. |
|
| CountryPaymentMethodId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentMethodKey": "sample string 1",
"AccountKey": "sample string 2",
"PaymentMethodid": 3,
"CountryPaymentMethodId": 1
}
application/xml, text/xml
Sample:
<PaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDoctorsApp.Models"> <AccountKey>sample string 2</AccountKey> <CountryPaymentMethodId>1</CountryPaymentMethodId> <PaymentMethodKey>sample string 1</PaymentMethodKey> <PaymentMethodid>3</PaymentMethodid> </PaymentMethodModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |