POST api/Credits/SaveUpdateAutoCreditRechargeSettingsByAdmin
Request Information
URI Parameters
None.
Body Parameters
SaveUpdateAutoCreditRechargeSettingsByAdminName | Description | Type | Additional information |
---|---|---|---|
AdminUserId | string |
Required |
|
ParentAccountId | string |
Required |
|
PaymentMethodId | string |
Required |
|
IsAutoRechargeEnabled | boolean |
None. |
|
PurchaseCredits | integer |
Required |
|
CreditBalance | integer |
Required |
|
NewCardToken | string |
None. |
|
IsCreateNewMethod | boolean |
None. |
|
IsMakeNewCardAsDefault | boolean |
None. |
|
AccountName | string |
None. |
|
AddedBy | CreditAddedBy |
Required |
Request Formats
application/json, text/json
Sample:
{ "AdminUserId": "sample string 1", "ParentAccountId": "sample string 2", "PaymentMethodId": "sample string 3", "IsAutoRechargeEnabled": true, "PurchaseCredits": 5, "CreditBalance": 6, "NewCardToken": "sample string 7", "IsCreateNewMethod": true, "IsMakeNewCardAsDefault": true, "AccountName": "sample string 10", "AddedBy": "None" }
application/xml, text/xml
Sample:
<SaveUpdateAutoCreditRechargeSettingsByAdmin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CreditRequestVM"> <AccountName>sample string 10</AccountName> <AddedBy>None</AddedBy> <CreditBalance>6</CreditBalance> <IsAutoRechargeEnabled>true</IsAutoRechargeEnabled> <IsCreateNewMethod>true</IsCreateNewMethod> <IsMakeNewCardAsDefault>true</IsMakeNewCardAsDefault> <NewCardToken>sample string 7</NewCardToken> <ParentAccountId>sample string 2</ParentAccountId> <PaymentMethodId>sample string 3</PaymentMethodId> <PurchaseCredits>5</PurchaseCredits> <AdminUserId>sample string 1</AdminUserId> </SaveUpdateAutoCreditRechargeSettingsByAdmin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.