POST api/schemes/set-payment-setup
Request Information
URI Parameters
None.
Body Parameters
SchemeUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| index | integer |
None. |
|
| paymentSetups | Collection of SchemePaymentSetupChangeDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"index": 1,
"paymentSetups": [
{
"SchemeCode": "sample string 1",
"LiveServiceCode": "sample string 2",
"TestServiceCode": "sample string 3",
"PaymentEnabled": true,
"IsLive": true,
"PostTest": true
},
{
"SchemeCode": "sample string 1",
"LiveServiceCode": "sample string 2",
"TestServiceCode": "sample string 3",
"PaymentEnabled": true,
"IsLive": true,
"PostTest": true
}
]
}
application/xml, text/xml
Sample:
<SchemeUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/back_end.Models.DTOs">
<index>1</index>
<paymentSetups>
<SchemePaymentSetupChangeDTO>
<IsLive>true</IsLive>
<LiveServiceCode>sample string 2</LiveServiceCode>
<PaymentEnabled>true</PaymentEnabled>
<PostTest>true</PostTest>
<SchemeCode>sample string 1</SchemeCode>
<TestServiceCode>sample string 3</TestServiceCode>
</SchemePaymentSetupChangeDTO>
<SchemePaymentSetupChangeDTO>
<IsLive>true</IsLive>
<LiveServiceCode>sample string 2</LiveServiceCode>
<PaymentEnabled>true</PaymentEnabled>
<PostTest>true</PostTest>
<SchemeCode>sample string 1</SchemeCode>
<TestServiceCode>sample string 3</TestServiceCode>
</SchemePaymentSetupChangeDTO>
</paymentSetups>
</SchemeUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.