GET api/BI/Today/Ecocar/LineDetail?lineid={lineid}&date={date}
查询今日实况-交通车-线路详情的展示数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lineid |
路线id,char(4),为空表示查询所有线路 |
string |
Default value is |
date |
查询的日期,格式yyyyMMdd,为空或不设置,默认为服务器当前日期 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询今日实况-交通车-线路详情的展示数据
CommonOperationResultWithTagOfIEnumerableOfBI_EcoCar_LineDetailDataItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of BI_EcoCar_LineDetailDataItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "Date": "sample string 1", "LineId": "sample string 2", "LineName": "sample string 3", "Income": 4.0, "SellAmount": 5.0, "RefundAmount": 6.0, "Other": 7.0, "SailingsCounts": 8, "OnSailingsCounts": 9, "SellTicketPeopleTimes": 10, "RefundTicketPeopleTimes": 11, "NetPeopleTimes": 12, "AveragePassengersPerSailings": 13.0, "AverageIncomePerSailings": 14.0 }, { "Date": "sample string 1", "LineId": "sample string 2", "LineName": "sample string 3", "Income": 4.0, "SellAmount": 5.0, "RefundAmount": 6.0, "Other": 7.0, "SailingsCounts": 8, "OnSailingsCounts": 9, "SellTicketPeopleTimes": 10, "RefundTicketPeopleTimes": 11, "NetPeopleTimes": 12, "AveragePassengersPerSailings": 13.0, "AverageIncomePerSailings": 14.0 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfBI_EcoCar_LineDetailDataItemvws7YgyP 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.BI"> <d2p1:BI_EcoCar_LineDetailDataItem> <d2p1:AverageIncomePerSailings>14</d2p1:AverageIncomePerSailings> <d2p1:AveragePassengersPerSailings>13</d2p1:AveragePassengersPerSailings> <d2p1:Date>sample string 1</d2p1:Date> <d2p1:Income>4</d2p1:Income> <d2p1:LineId>sample string 2</d2p1:LineId> <d2p1:LineName>sample string 3</d2p1:LineName> <d2p1:NetPeopleTimes>12</d2p1:NetPeopleTimes> <d2p1:OnSailingsCounts>9</d2p1:OnSailingsCounts> <d2p1:Other>7</d2p1:Other> <d2p1:RefundAmount>6</d2p1:RefundAmount> <d2p1:RefundTicketPeopleTimes>11</d2p1:RefundTicketPeopleTimes> <d2p1:SailingsCounts>8</d2p1:SailingsCounts> <d2p1:SellAmount>5</d2p1:SellAmount> <d2p1:SellTicketPeopleTimes>10</d2p1:SellTicketPeopleTimes> </d2p1:BI_EcoCar_LineDetailDataItem> <d2p1:BI_EcoCar_LineDetailDataItem> <d2p1:AverageIncomePerSailings>14</d2p1:AverageIncomePerSailings> <d2p1:AveragePassengersPerSailings>13</d2p1:AveragePassengersPerSailings> <d2p1:Date>sample string 1</d2p1:Date> <d2p1:Income>4</d2p1:Income> <d2p1:LineId>sample string 2</d2p1:LineId> <d2p1:LineName>sample string 3</d2p1:LineName> <d2p1:NetPeopleTimes>12</d2p1:NetPeopleTimes> <d2p1:OnSailingsCounts>9</d2p1:OnSailingsCounts> <d2p1:Other>7</d2p1:Other> <d2p1:RefundAmount>6</d2p1:RefundAmount> <d2p1:RefundTicketPeopleTimes>11</d2p1:RefundTicketPeopleTimes> <d2p1:SailingsCounts>8</d2p1:SailingsCounts> <d2p1:SellAmount>5</d2p1:SellAmount> <d2p1:SellTicketPeopleTimes>10</d2p1:SellTicketPeopleTimes> </d2p1:BI_EcoCar_LineDetailDataItem> </tag> </CommonOperationResultWithTagOfArrayOfBI_EcoCar_LineDetailDataItemvws7YgyP>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.