POST Api/Subscription/AutoPay/AddOrUpdateAutoPay
Request Information
URI Parameters
None.
Body Parameters
AutoPayModelName | Description | Type | Additional information |
---|---|---|---|
Autopay_Id | integer |
None. |
|
Subscription_id | globally unique identifier |
None. |
|
Email_id | string |
None. |
|
IsAutoDebit | boolean |
None. |
|
PaymentMethodType | string |
None. |
|
PaymentRefernce_Id | string |
None. |
|
PaymentMethodID | string |
None. |
|
PaymentInstrument | string |
None. |
|
RMD_Mail | boolean |
None. |
|
CNF_PYMT_Mail | boolean |
None. |
|
CNF_Config_Mail | boolean |
None. |
|
Rej_Mail | boolean |
None. |
|
LogedInUserEmail | string |
None. |
|
SecondaryEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Autopay_Id": 1, "Subscription_id": "a7b4c5de-0235-4a62-83e6-7abb57977258", "Email_id": "sample string 3", "IsAutoDebit": true, "PaymentMethodType": "sample string 5", "PaymentRefernce_Id": "sample string 6", "PaymentMethodID": "sample string 7", "PaymentInstrument": "sample string 8", "RMD_Mail": true, "CNF_PYMT_Mail": true, "CNF_Config_Mail": true, "Rej_Mail": true, "LogedInUserEmail": "sample string 13", "SecondaryEmail": "sample string 14" }
application/xml, text/xml
Sample:
<AutoPay.AutoPayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription"> <Autopay_Id>1</Autopay_Id> <CNF_Config_Mail>true</CNF_Config_Mail> <CNF_PYMT_Mail>true</CNF_PYMT_Mail> <Email_id>sample string 3</Email_id> <IsAutoDebit>true</IsAutoDebit> <LogedInUserEmail>sample string 13</LogedInUserEmail> <PaymentInstrument>sample string 8</PaymentInstrument> <PaymentMethodID>sample string 7</PaymentMethodID> <PaymentMethodType>sample string 5</PaymentMethodType> <PaymentRefernce_Id>sample string 6</PaymentRefernce_Id> <RMD_Mail>true</RMD_Mail> <Rej_Mail>true</Rej_Mail> <SecondaryEmail>sample string 14</SecondaryEmail> <Subscription_id>a7b4c5de-0235-4a62-83e6-7abb57977258</Subscription_id> </AutoPay.AutoPayModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |