POST api/UserDiscountCoupon/InsertUpdateUserDiscountCouponList

Request Information

URI Parameters

None.

Body Parameters

UserDiscountCouponModel
NameDescriptionTypeAdditional information
UserDiscountCouponID

integer

None.

DiscountCouponID

integer

None.

CpnCount

integer

None.

UsersID

integer

None.

CreatedDate

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserDiscountCouponID": 1,
  "DiscountCouponID": 1,
  "CpnCount": 1,
  "UsersID": 1,
  "CreatedDate": "sample string 2",
  "UpdatedDate": "sample string 3"
}

application/xml, text/xml

Sample:
<UserDiscountCouponModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecycleGreenAPILibrary.BusinessModel">
  <CreatedDate>sample string 2</CreatedDate>
  <UpdatedDate>sample string 3</UpdatedDate>
  <CpnCount>1</CpnCount>
  <DiscountCouponID>1</DiscountCouponID>
  <UserDiscountCouponID>1</UserDiscountCouponID>
  <UsersID>1</UsersID>
</UserDiscountCouponModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.