POST api/RewardPointRule/AddRewardPointHistory

Request Information

URI Parameters

None.

Body Parameters

RewardPointHistory
NameDescriptionTypeAdditional information
Id

integer

None.

User_Id

integer

None.

Order_Id

integer

None.

PreviousPoint

integer

None.

TotalPoint

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "User_Id": 2,
  "Order_Id": 3,
  "PreviousPoint": 4,
  "TotalPoint": 5
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"User_Id":2,"Order_Id":3,"PreviousPoint":4,"TotalPoint":5}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.