POST api/SHOPGETCOUPONS

Request Information

URI Parameters

None.

Body Parameters

SHOPGETCOUPONS
NameDescriptionTypeAdditional information
name

string

None.

expired

integer

None.

dates

string

None.

used

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "expired": 2,
  "dates": "sample string 3",
  "used": 4
}

application/xml, text/xml

Sample:
<SHOPGETCOUPONS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPIDEMO">
  <dates>sample string 3</dates>
  <expired>2</expired>
  <name>sample string 1</name>
  <used>4</used>
</SHOPGETCOUPONS>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SHOPGETCOUPONS'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.