GET api/WebInterface/Products/PriceAndInventory/V52/ForScenic?dwlx={dwlx}&dwid={dwid}&productid={productid}&startdate={startdate}&enddate={enddate}
V5.2版本。 查询景区票型在未来某一段时间内的报价与当前代理商的库存余量的清单。 注意,必须是景区票型,如果是其他的票型,返回的数据可能是有错的。本API内不会对票型的ID属于哪种类型进行判断,会直接调应相应的功能计算返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dwlx |
客户类型 |
string |
Required |
dwid |
客户ID |
string |
Required |
productid |
产品ID,票型ID。 |
string |
Required |
startdate |
起始日期 |
string |
Default value is |
enddate |
截止日期 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
V5.2版本。 查询景区票型在未来某一段时间内的报价与当前代理商的库存余量的清单。 注意,必须是景区票型,如果是其他的票型,返回的数据可能是有错的。本API内不会对票型的ID属于哪种类型进行判断,会直接调应相应的功能计算返回。
CommonOperationResultWithTagOfIEnumerableOfScenicSpotProductPriceAndInventoryV52ResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of ScenicSpotProductPriceAndInventoryV52Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "specialdate": "sample string 1", "price": 2.0, "residualcount": 3 }, { "specialdate": "sample string 1", "price": 2.0, "residualcount": 3 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfScenicSpotProductPriceAndInventoryV52ResultJzm2UCrN 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.WebInterface.V52"> <d2p1:ScenicSpotProductPriceAndInventoryV52Result> <d2p1:price>2</d2p1:price> <d2p1:residualcount>3</d2p1:residualcount> <d2p1:specialdate>sample string 1</d2p1:specialdate> </d2p1:ScenicSpotProductPriceAndInventoryV52Result> <d2p1:ScenicSpotProductPriceAndInventoryV52Result> <d2p1:price>2</d2p1:price> <d2p1:residualcount>3</d2p1:residualcount> <d2p1:specialdate>sample string 1</d2p1:specialdate> </d2p1:ScenicSpotProductPriceAndInventoryV52Result> </tag> </CommonOperationResultWithTagOfArrayOfScenicSpotProductPriceAndInventoryV52ResultJzm2UCrN>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.