POST API/Product/RechargeCoupon?action={action}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
action

string

Required

Body Parameters

RechargeCoupons
NameDescriptionTypeAdditional information
RechargeId

integer

None.

RechargeAmount

decimal number

None.

CashbackAmount

decimal number

None.

AvailableCount

integer

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "rechargeId": 1,
  "rechargeAmount": 1.0,
  "cashbackAmount": 2.0,
  "availableCount": 3,
  "status": true
}

application/xml, text/xml

Sample:
<RechargeCoupons xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrownCow.Customer.EntityLayer">
  <AvailableCount>3</AvailableCount>
  <CashbackAmount>2</CashbackAmount>
  <RechargeAmount>1</RechargeAmount>
  <RechargeId>1</RechargeId>
  <Status>true</Status>
</RechargeCoupons>

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.