POST api/Coupon/AddReferralCodeHistory

Request Information

URI Parameters

None.

Body Parameters

ReferralCodeHistory
NameDescriptionTypeAdditional information
UserId

integer

None.

ReferralCode

string

None.

OrderId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "ReferralCode": "sample string 2",
  "OrderId": 3
}

application/octet-stream

Sample:
{"$id":"1","UserId":1,"ReferralCode":"sample string 2","OrderId":3}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.