POST api/Rewards/redeem-points
Request Information
URI Parameters
None.
Body Parameters
RewardRedeemPointsPostViewModelName | Description | Type | Additional information |
---|---|---|---|
Points | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Points": 1 }
application/xml, text/xml
Sample:
<RewardRedeemPointsPostViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rewards"> <Points>1</Points> </RewardRedeemPointsPostViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RewardRedeemPointsResponseModelName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<RewardRedeemPointsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rewards"> <Message>sample string 2</Message> <Status>true</Status> </RewardRedeemPointsResponseModel>