GET api/BI/TypicalData/Pos/ByShop/{startdate}/{enddate}
获取典型数据-零售-总体-按门店展示的数据。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| startdate |
起始时间,yyyyMMdd |
string |
Required |
| enddate |
截止时间,yyyyMMdd |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取典型数据-零售-总体-按门店展示的数据。
CommonOperationResultWithTagOfIEnumerableOfBI_TypicalData_Pos_ByTypeDataItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of BI_TypicalData_Pos_ByTypeDataItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"ItemName": "sample string 1",
"Income": 2.0,
"PercentOfIncome": 3.0,
"YOYOfIncome": 4.0,
"GrossProfit": 5.0,
"PercentOfGrossProfit": 6.0,
"YOYOfGrossProfit": 7.0,
"GrossProfitRate": 8.0,
"YOYOfGrossProfitRate": 9.0
},
{
"ItemName": "sample string 1",
"Income": 2.0,
"PercentOfIncome": 3.0,
"YOYOfIncome": 4.0,
"GrossProfit": 5.0,
"PercentOfGrossProfit": 6.0,
"YOYOfGrossProfit": 7.0,
"GrossProfitRate": 8.0,
"YOYOfGrossProfitRate": 9.0
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfBI_TypicalData_Pos_ByTypeDataItem8klBlK8Q 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.Common">
<d2p1:BI_TypicalData_Pos_ByTypeDataItem>
<d2p1:GrossProfit>5</d2p1:GrossProfit>
<d2p1:GrossProfitRate>8</d2p1:GrossProfitRate>
<d2p1:Income>2</d2p1:Income>
<d2p1:ItemName>sample string 1</d2p1:ItemName>
<d2p1:PercentOfGrossProfit>6</d2p1:PercentOfGrossProfit>
<d2p1:PercentOfIncome>3</d2p1:PercentOfIncome>
<d2p1:YOYOfGrossProfit>7</d2p1:YOYOfGrossProfit>
<d2p1:YOYOfGrossProfitRate>9</d2p1:YOYOfGrossProfitRate>
<d2p1:YOYOfIncome>4</d2p1:YOYOfIncome>
</d2p1:BI_TypicalData_Pos_ByTypeDataItem>
<d2p1:BI_TypicalData_Pos_ByTypeDataItem>
<d2p1:GrossProfit>5</d2p1:GrossProfit>
<d2p1:GrossProfitRate>8</d2p1:GrossProfitRate>
<d2p1:Income>2</d2p1:Income>
<d2p1:ItemName>sample string 1</d2p1:ItemName>
<d2p1:PercentOfGrossProfit>6</d2p1:PercentOfGrossProfit>
<d2p1:PercentOfIncome>3</d2p1:PercentOfIncome>
<d2p1:YOYOfGrossProfit>7</d2p1:YOYOfGrossProfit>
<d2p1:YOYOfGrossProfitRate>9</d2p1:YOYOfGrossProfitRate>
<d2p1:YOYOfIncome>4</d2p1:YOYOfIncome>
</d2p1:BI_TypicalData_Pos_ByTypeDataItem>
</tag>
</CommonOperationResultWithTagOfArrayOfBI_TypicalData_Pos_ByTypeDataItem8klBlK8Q>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.