POST api/Online/SaveReward
Request Information
URI Parameters
None.
Body Parameters
SaveRewardViewModelName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
MerchantId | integer |
None. |
|
RewardTitle | string |
None. |
|
RewardPoints | integer |
None. |
|
RewardPictureUrl | string |
None. |
|
RewardSku | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "MerchantId": 1, "RewardTitle": "sample string 2", "RewardPoints": 3, "RewardPictureUrl": "sample string 4", "RewardSku": "sample string 5" }
application/xml, text/xml
Sample:
<SaveRewardViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <MerchantId>1</MerchantId> <RewardPictureUrl>sample string 4</RewardPictureUrl> <RewardPoints>3</RewardPoints> <RewardSku>sample string 5</RewardSku> <RewardTitle>sample string 2</RewardTitle> <id>1</id> </SaveRewardViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.