POST api/WDPoints/WDPointRedeemCoupon
Request Information
URI Parameters
None.
Body Parameters
WDPointRedeemRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentityId | string |
None. |
|
| CaNo | string |
None. |
|
| PeaNo | string |
None. |
|
| CouponId | integer |
None. |
|
| Ref1 | string |
None. |
|
| Ref2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdentityId": "sample string 1",
"CaNo": "sample string 2",
"PeaNo": "sample string 3",
"CouponId": 4,
"Ref1": "sample string 5",
"Ref2": "sample string 6"
}
application/xml, text/xml
Sample:
<WDPointRedeemRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PointModels"> <CaNo>sample string 2</CaNo> <CouponId>4</CouponId> <IdentityId>sample string 1</IdentityId> <PeaNo>sample string 3</PeaNo> <Ref1>sample string 5</Ref1> <Ref2>sample string 6</Ref2> </WDPointRedeemRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />