GET api/WebInterface/Products/PriceAndInventory/V52/ForTheatrical?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属于哪种类型进行判断,会直接调应相应的功能计算返回。
CommonOperationResultWithTagOfIEnumerableOfTheatreProductPriceAndInventoryV52ResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of TheatreProductPriceAndInventoryV52Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "specialdate": "sample string 1", "minprice": 2.0, "maxprice": 3.0, "residualcount": 4, "pricelist": [ { "theatricalid": 1, "theatricalname": "sample string 2", "scenceid": "sample string 3", "scencename": "sample string 4", "scencestartime": "sample string 5", "scenceendtime": "sample string 6", "price": 7.0, "residualcount": 8 }, { "theatricalid": 1, "theatricalname": "sample string 2", "scenceid": "sample string 3", "scencename": "sample string 4", "scencestartime": "sample string 5", "scenceendtime": "sample string 6", "price": 7.0, "residualcount": 8 } ] }, { "specialdate": "sample string 1", "minprice": 2.0, "maxprice": 3.0, "residualcount": 4, "pricelist": [ { "theatricalid": 1, "theatricalname": "sample string 2", "scenceid": "sample string 3", "scencename": "sample string 4", "scencestartime": "sample string 5", "scenceendtime": "sample string 6", "price": 7.0, "residualcount": 8 }, { "theatricalid": 1, "theatricalname": "sample string 2", "scenceid": "sample string 3", "scencename": "sample string 4", "scencestartime": "sample string 5", "scenceendtime": "sample string 6", "price": 7.0, "residualcount": 8 } ] } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfTheatreProductPriceAndInventoryV52ResultJzm2UCrN 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:TheatreProductPriceAndInventoryV52Result> <d2p1:maxprice>3</d2p1:maxprice> <d2p1:minprice>2</d2p1:minprice> <d2p1:pricelist> <d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:price>7</d2p1:price> <d2p1:residualcount>8</d2p1:residualcount> <d2p1:scenceendtime>sample string 6</d2p1:scenceendtime> <d2p1:scenceid>sample string 3</d2p1:scenceid> <d2p1:scencename>sample string 4</d2p1:scencename> <d2p1:scencestartime>sample string 5</d2p1:scencestartime> <d2p1:theatricalid>1</d2p1:theatricalid> <d2p1:theatricalname>sample string 2</d2p1:theatricalname> </d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:price>7</d2p1:price> <d2p1:residualcount>8</d2p1:residualcount> <d2p1:scenceendtime>sample string 6</d2p1:scenceendtime> <d2p1:scenceid>sample string 3</d2p1:scenceid> <d2p1:scencename>sample string 4</d2p1:scencename> <d2p1:scencestartime>sample string 5</d2p1:scencestartime> <d2p1:theatricalid>1</d2p1:theatricalid> <d2p1:theatricalname>sample string 2</d2p1:theatricalname> </d2p1:TheatreProductScencePriceAndInventoryV52Result> </d2p1:pricelist> <d2p1:residualcount>4</d2p1:residualcount> <d2p1:specialdate>sample string 1</d2p1:specialdate> </d2p1:TheatreProductPriceAndInventoryV52Result> <d2p1:TheatreProductPriceAndInventoryV52Result> <d2p1:maxprice>3</d2p1:maxprice> <d2p1:minprice>2</d2p1:minprice> <d2p1:pricelist> <d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:price>7</d2p1:price> <d2p1:residualcount>8</d2p1:residualcount> <d2p1:scenceendtime>sample string 6</d2p1:scenceendtime> <d2p1:scenceid>sample string 3</d2p1:scenceid> <d2p1:scencename>sample string 4</d2p1:scencename> <d2p1:scencestartime>sample string 5</d2p1:scencestartime> <d2p1:theatricalid>1</d2p1:theatricalid> <d2p1:theatricalname>sample string 2</d2p1:theatricalname> </d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:TheatreProductScencePriceAndInventoryV52Result> <d2p1:price>7</d2p1:price> <d2p1:residualcount>8</d2p1:residualcount> <d2p1:scenceendtime>sample string 6</d2p1:scenceendtime> <d2p1:scenceid>sample string 3</d2p1:scenceid> <d2p1:scencename>sample string 4</d2p1:scencename> <d2p1:scencestartime>sample string 5</d2p1:scencestartime> <d2p1:theatricalid>1</d2p1:theatricalid> <d2p1:theatricalname>sample string 2</d2p1:theatricalname> </d2p1:TheatreProductScencePriceAndInventoryV52Result> </d2p1:pricelist> <d2p1:residualcount>4</d2p1:residualcount> <d2p1:specialdate>sample string 1</d2p1:specialdate> </d2p1:TheatreProductPriceAndInventoryV52Result> </tag> </CommonOperationResultWithTagOfArrayOfTheatreProductPriceAndInventoryV52ResultJzm2UCrN>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.