POST api/Servo/Coupon/Scan
在凌晨,服务器扫描所有的客户端样本,将过期的优惠券,作废的优惠券,已使用且使用时间距今超过30天的优惠券移动到优惠券历史记录中 需要判断返回值,返回值中errcode=0表示成功,Tag为‘1’表示有后续的页。
Request Information
URI Parameters
None.
Body Parameters
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
在凌晨,服务器扫描所有的客户端样本,将过期的优惠券,作废的优惠券,已使用且使用时间距今超过30天的优惠券移动到优惠券历史记录中 需要判断返回值,返回值中errcode=0表示成功,Tag为‘1’表示有后续的页。
CommonOperationResultWithTagOfCouponAutoScanResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | CouponAutoScanResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "hasmorepage": "sample string 1", "lastcouponid": "sample string 2" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfCouponAutoScanResultG7pGc9yP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Coupon"> <d2p1:hasmorepage>sample string 1</d2p1:hasmorepage> <d2p1:lastcouponid>sample string 2</d2p1:lastcouponid> </tag> </CommonOperationResultWithTagOfCouponAutoScanResultG7pGc9yP>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.