POST api/TaskMaster/PromoContents

Request Information

URI Parameters

None.

Body Parameters

PromoContents
NameDescriptionTypeAdditional information
Sno

string

None.

promo

string

None.

discount

string

None.

discountype

string

None.

fulfilledate

string

None.

bannerimage

string

None.

bannercontent

string

None.

Status

string

None.

createby

string

None.

Condition

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sno": "sample string 1",
  "promo": "sample string 2",
  "discount": "sample string 3",
  "discountype": "sample string 4",
  "fulfilledate": "sample string 5",
  "bannerimage": "sample string 6",
  "bannercontent": "sample string 7",
  "Status": "sample string 8",
  "createby": "sample string 9",
  "Condition": "sample string 10"
}

application/xml, text/xml

Sample:
<PromoContents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.TaskMaster">
  <Condition>sample string 10</Condition>
  <Sno>sample string 1</Sno>
  <Status>sample string 8</Status>
  <bannercontent>sample string 7</bannercontent>
  <bannerimage>sample string 6</bannerimage>
  <createby>sample string 9</createby>
  <discount>sample string 3</discount>
  <discountype>sample string 4</discountype>
  <fulfilledate>sample string 5</fulfilledate>
  <promo>sample string 2</promo>
</PromoContents>

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 'PromoContents'.

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.