POST api/RewardPointRule/AddRewardPointRule

Request Information

URI Parameters

None.

Body Parameters

RewardPointRule
NameDescriptionTypeAdditional information
Id

integer

None.

Amount

string

None.

Points

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Amount": "sample string 2",
  "Points": 3
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Amount":"sample string 2","Points":3}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.