POST api/Reedem_History/AddRedeem_History

Request Information

URI Parameters

None.

Body Parameters

Redeem_History
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

OrderId

integer

None.

Date

string

None.

RewardPoints

integer

None.

ReedemPrice

string

None.

Amount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "OrderId": 3,
  "Date": "sample string 4",
  "RewardPoints": 5,
  "ReedemPrice": "sample string 6",
  "Amount": "sample string 7"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"UserId":2,"OrderId":3,"Date":"sample string 4","RewardPoints":5,"ReedemPrice":"sample string 6","Amount":"sample string 7"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.