POST paymentMethod/AddPaymentMethod
Request Information
URI Parameters
None.
Body Parameters
PaymentMethods| Name | Description | Type | Additional information |
|---|---|---|---|
| MethodId | integer |
None. |
|
| TenantId | integer |
None. |
|
| PaymentMethod | string |
None. |
|
| IsDebitOrder | boolean |
None. |
|
| TOSOURCE | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MethodId": 1,
"TenantId": 2,
"PaymentMethod": "sample string 3",
"IsDebitOrder": true,
"TOSOURCE": "sample string 5"
}
text/html
Sample:
{"MethodId":1,"TenantId":2,"PaymentMethod":"sample string 3","IsDebitOrder":true,"TOSOURCE":"sample string 5"}
application/xml, text/xml
Sample:
<PaymentMethods xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common"> <IsDebitOrder>true</IsDebitOrder> <MethodId>1</MethodId> <PaymentMethod>sample string 3</PaymentMethod> <TOSOURCE>sample string 5</TOSOURCE> <TenantId>2</TenantId> </PaymentMethods>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.