POST api/Point/WDPointGetHistory?CaNo={CaNo}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CaNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfWDPointHistoryModelName | Description | Type | Additional information |
---|---|---|---|
Data | WDPointHistoryModel |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "CouponRedeemHistorys": [ { "CouponId": 1, "CouponTitle": "sample string 1", "CouponSubTitle": "sample string 2", "CouponImage": "sample string 3", "CouponUsedPoint": 1, "TransactionDate": "sample string 4", "status": true }, { "CouponId": 1, "CouponTitle": "sample string 1", "CouponSubTitle": "sample string 2", "CouponImage": "sample string 3", "CouponUsedPoint": 1, "TransactionDate": "sample string 4", "status": true } ], "PointHistorys": [ { "CouponTitle": "sample string 1", "TransactionDate": "sample string 2", "CouponUsedPoint": 1, "status": true }, { "CouponTitle": "sample string 1", "TransactionDate": "sample string 2", "CouponUsedPoint": 1, "status": true } ], "PointExpires": [ { "DateExpire": "sample string 1", "PointExpireAmount": 2 }, { "DateExpire": "sample string 1", "PointExpireAmount": 2 } ] }, "Status": true, "ErrorMessage": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<ResultModelOfWDPointHistoryModeldZjBomD8 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:CouponRedeemHistorys> <d2p1:WDPointCouponRedeemHistoryModel> <d2p1:CouponId>1</d2p1:CouponId> <d2p1:CouponImage>sample string 3</d2p1:CouponImage> <d2p1:CouponSubTitle>sample string 2</d2p1:CouponSubTitle> <d2p1:CouponTitle>sample string 1</d2p1:CouponTitle> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:TransactionDate>sample string 4</d2p1:TransactionDate> <d2p1:status>true</d2p1:status> </d2p1:WDPointCouponRedeemHistoryModel> <d2p1:WDPointCouponRedeemHistoryModel> <d2p1:CouponId>1</d2p1:CouponId> <d2p1:CouponImage>sample string 3</d2p1:CouponImage> <d2p1:CouponSubTitle>sample string 2</d2p1:CouponSubTitle> <d2p1:CouponTitle>sample string 1</d2p1:CouponTitle> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:TransactionDate>sample string 4</d2p1:TransactionDate> <d2p1:status>true</d2p1:status> </d2p1:WDPointCouponRedeemHistoryModel> </d2p1:CouponRedeemHistorys> <d2p1:PointExpires> <d2p1:PointExpire> <d2p1:DateExpire>sample string 1</d2p1:DateExpire> <d2p1:PointExpireAmount>2</d2p1:PointExpireAmount> </d2p1:PointExpire> <d2p1:PointExpire> <d2p1:DateExpire>sample string 1</d2p1:DateExpire> <d2p1:PointExpireAmount>2</d2p1:PointExpireAmount> </d2p1:PointExpire> </d2p1:PointExpires> <d2p1:PointHistorys> <d2p1:WDPointHistoryItemModel> <d2p1:CouponTitle>sample string 1</d2p1:CouponTitle> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:TransactionDate>sample string 2</d2p1:TransactionDate> <d2p1:status>true</d2p1:status> </d2p1:WDPointHistoryItemModel> <d2p1:WDPointHistoryItemModel> <d2p1:CouponTitle>sample string 1</d2p1:CouponTitle> <d2p1:CouponUsedPoint>1</d2p1:CouponUsedPoint> <d2p1:TransactionDate>sample string 2</d2p1:TransactionDate> <d2p1:status>true</d2p1:status> </d2p1:WDPointHistoryItemModel> </d2p1:PointHistorys> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 3</Message> <Status>true</Status> </ResultModelOfWDPointHistoryModeldZjBomD8>