POST api/CouponsList
Request Information
URI Parameters
None.
Body Parameters
CouponsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Categories | string |
Required |
|
| FoodTypeIds | string |
None. |
|
| AllergensIds | string |
None. |
|
| CountryIds | string |
None. |
|
| pageNo | integer |
Range: inclusive between 1 and 2147483647 |
|
| recordsPerPage | integer |
Range: inclusive between 1 and 100 |
|
| skip | integer |
Range: inclusive between 0 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"Categories": "sample string 1",
"FoodTypeIds": "sample string 2",
"AllergensIds": "sample string 3",
"CountryIds": "sample string 4",
"pageNo": 5,
"recordsPerPage": 6,
"skip": 7
}
application/xml, text/xml
Sample:
<CouponsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin"> <AllergensIds>sample string 3</AllergensIds> <Categories>sample string 1</Categories> <CountryIds>sample string 4</CountryIds> <FoodTypeIds>sample string 2</FoodTypeIds> <pageNo>5</pageNo> <recordsPerPage>6</recordsPerPage> <skip>7</skip> </CouponsRequestModel>
multipart/form-data
Sample:
<CouponsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin"><AllergensIds>sample string 3</AllergensIds><Categories>sample string 1</Categories><CountryIds>sample string 4</CountryIds><FoodTypeIds>sample string 2</FoodTypeIds><pageNo>5</pageNo><recordsPerPage>6</recordsPerPage><skip>7</skip></CouponsRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |