POST api/AdminMaster/Coupon_code_generator_Operations

Request Information

URI Parameters

None.

Body Parameters

Coupon_Code_Operations
NameDescriptionTypeAdditional information
condition

string

None.

CouponDescrp

string

None.

CouponCode

string

None.

Type

string

None.

ValidFrom

string

None.

validTo

string

None.

Disctype

string

None.

DiscValue

string

None.

MinimumPurchase

string

None.

MinPurchaseValue

string

None.

FreeShipping

string

None.

Applicable_subscription

string

None.

Customertype

string

None.

CouponStatus

string

None.

Disc_coupon_valid_on

string

None.

BannerUrl

string

None.

Products

string

None.

Terms_conditions

string

None.

Loginid

string

None.

prlist

string

None.

privateids

string

None.

Id

string

None.

custid

string

None.

orderamt

string

None.

first_repeatorder

string

None.

orderfrom

string

None.

ordertype

string

None.

selectedpr_list

string

None.

product_type

string

None.

maxdisc_amt

string

None.

trans_limit

string

None.

cpn_Display

string

None.

param1

string

None.

param2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "condition": "sample string 1",
  "CouponDescrp": "sample string 2",
  "CouponCode": "sample string 3",
  "Type": "sample string 4",
  "ValidFrom": "sample string 5",
  "validTo": "sample string 6",
  "Disctype": "sample string 7",
  "DiscValue": "sample string 8",
  "MinimumPurchase": "sample string 9",
  "MinPurchaseValue": "sample string 10",
  "FreeShipping": "sample string 11",
  "Applicable_subscription": "sample string 12",
  "Customertype": "sample string 13",
  "CouponStatus": "sample string 14",
  "Disc_coupon_valid_on": "sample string 15",
  "BannerUrl": "sample string 16",
  "Products": "sample string 17",
  "Terms_conditions": "sample string 18",
  "Loginid": "sample string 19",
  "prlist": "sample string 20",
  "privateids": "sample string 21",
  "Id": "sample string 22",
  "custid": "sample string 23",
  "orderamt": "sample string 24",
  "first_repeatorder": "sample string 25",
  "orderfrom": "sample string 26",
  "ordertype": "sample string 27",
  "selectedpr_list": "sample string 28",
  "product_type": "sample string 29",
  "maxdisc_amt": "sample string 30",
  "trans_limit": "sample string 31",
  "cpn_Display": "sample string 32",
  "param1": "sample string 33",
  "param2": "sample string 34"
}

application/xml, text/xml

Sample:
<Coupon_Code_Operations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.CropMaster">
  <Applicable_subscription>sample string 12</Applicable_subscription>
  <BannerUrl>sample string 16</BannerUrl>
  <CouponCode>sample string 3</CouponCode>
  <CouponDescrp>sample string 2</CouponDescrp>
  <CouponStatus>sample string 14</CouponStatus>
  <Customertype>sample string 13</Customertype>
  <DiscValue>sample string 8</DiscValue>
  <Disc_coupon_valid_on>sample string 15</Disc_coupon_valid_on>
  <Disctype>sample string 7</Disctype>
  <FreeShipping>sample string 11</FreeShipping>
  <Id>sample string 22</Id>
  <Loginid>sample string 19</Loginid>
  <MinPurchaseValue>sample string 10</MinPurchaseValue>
  <MinimumPurchase>sample string 9</MinimumPurchase>
  <Products>sample string 17</Products>
  <Terms_conditions>sample string 18</Terms_conditions>
  <Type>sample string 4</Type>
  <ValidFrom>sample string 5</ValidFrom>
  <condition>sample string 1</condition>
  <cpn_Display>sample string 32</cpn_Display>
  <custid>sample string 23</custid>
  <first_repeatorder>sample string 25</first_repeatorder>
  <maxdisc_amt>sample string 30</maxdisc_amt>
  <orderamt>sample string 24</orderamt>
  <orderfrom>sample string 26</orderfrom>
  <ordertype>sample string 27</ordertype>
  <param1>sample string 33</param1>
  <param2>sample string 34</param2>
  <privateids>sample string 21</privateids>
  <prlist>sample string 20</prlist>
  <product_type>sample string 29</product_type>
  <selectedpr_list>sample string 28</selectedpr_list>
  <trans_limit>sample string 31</trans_limit>
  <validTo>sample string 6</validTo>
</Coupon_Code_Operations>

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

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.