PUT api/Coupons/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Coupon
NameDescriptionTypeAdditional information
Id

string

None.

NumId

integer

None.

Name

string

None.

Amount

string

None.

Percentage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "NumId": 2,
  "Name": "sample string 3",
  "Amount": "sample string 4",
  "Percentage": "sample string 5"
}

application/xml, text/xml

Sample:
<Coupon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models">
  <Amount>sample string 4</Amount>
  <Id>sample string 1</Id>
  <Name>sample string 3</Name>
  <NumId>2</NumId>
  <Percentage>sample string 5</Percentage>
</Coupon>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.