POST api/Point/WDPointGetCouponBalance?CaNo={CaNo}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CaNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfListOfWDPointBalanceModelName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of WDPointBalanceModel |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "CouponId": 1, "CouponTitle": "sample string 2", "CouponSubTitle": "sample string 3", "CouponDetail": "sample string 4", "CouponImageActive": "sample string 5", "CouponImageNotActive": "sample string 6", "CouponUsedBalance": 1, "CouponMaxBalance": 1, "CouponUsedPoint": 1, "Status": true }, { "CouponId": 1, "CouponTitle": "sample string 2", "CouponSubTitle": "sample string 3", "CouponDetail": "sample string 4", "CouponImageActive": "sample string 5", "CouponImageNotActive": "sample string 6", "CouponUsedBalance": 1, "CouponMaxBalance": 1, "CouponUsedPoint": 1, "Status": true } ], "Status": true, "ErrorMessage": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<ResultModelOfArrayOfWDPointBalanceModeldZjBomD8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PointModels"> <d2p1:WDPointBalanceModel> <d2p1:CouponDetail>sample string 4</d2p1:CouponDetail> <d2p1:CouponId>1</d2p1:CouponId> <d2p1:CouponImageActive>sample string 5</d2p1:CouponImageActive> <d2p1:CouponImageNotActive>sample string 6</d2p1:CouponImageNotActive> <d2p1:CouponMaxBalance>1</d2p1:CouponMaxBalance> <d2p1:CouponSubTitle>sample string 3</d2p1:CouponSubTitle> <d2p1:CouponTitle>sample string 2</d2p1:CouponTitle> <d2p1:CouponUsedBalance>1</d2p1:CouponUsedBalance> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:Status>true</d2p1:Status> </d2p1:WDPointBalanceModel> <d2p1:WDPointBalanceModel> <d2p1:CouponDetail>sample string 4</d2p1:CouponDetail> <d2p1:CouponId>1</d2p1:CouponId> <d2p1:CouponImageActive>sample string 5</d2p1:CouponImageActive> <d2p1:CouponImageNotActive>sample string 6</d2p1:CouponImageNotActive> <d2p1:CouponMaxBalance>1</d2p1:CouponMaxBalance> <d2p1:CouponSubTitle>sample string 3</d2p1:CouponSubTitle> <d2p1:CouponTitle>sample string 2</d2p1:CouponTitle> <d2p1:CouponUsedBalance>1</d2p1:CouponUsedBalance> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:Status>true</d2p1:Status> </d2p1:WDPointBalanceModel> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 3</Message> <Status>true</Status> </ResultModelOfArrayOfWDPointBalanceModeldZjBomD8>