POST api/Credits/SaveUpdateAutoCreditRechargeSettingsByUser

Request Information

URI Parameters

None.

Body Parameters

SaveUpdateAutoCreditRechargeSettingsByUser
NameDescriptionTypeAdditional information
UserId

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:
{
  "UserId": "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:
<SaveUpdateAutoCreditRechargeSettingsByUser 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>
  <UserId>sample string 1</UserId>
</SaveUpdateAutoCreditRechargeSettingsByUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.