POST api/User/SaveAdvertisementReward
Request Information
URI Parameters
None.
Body Parameters
AddAdvertismentReward| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| RewardAmount | decimal number |
Required Range: inclusive between 1 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"RewardAmount": 2.0
}
application/xml, text/xml
Sample:
<AddAdvertismentReward xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KingChan.Model"> <RewardAmount>2</RewardAmount> <UserId>1</UserId> </AddAdvertismentReward>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |