GET api/BI/Today/Pos/ProductClass/Data?shopid={shopid}&curdate={curdate}
获取今日实况-零售门店按商品类别展示的数据。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopid |
门店ID |
string |
Required |
curdate |
日期,yyyyMMdd,为空或不设置时,默认为当天 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取今日实况-零售门店按商品类别展示的数据。
CommonOperationResultWithTagOfIEnumerableOfBI_PosDistinguishCategory_CommonItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of BI_PosDistinguishCategory_CommonItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "ItemId": "sample string 1", "ItemName": "sample string 2", "Income": 3.0, "IncomePercentage": 4.0, "GrossProfit": 5.0, "GrossProfitPercentage": 6.0, "GrossProfitRate": 7.0 }, { "ItemId": "sample string 1", "ItemName": "sample string 2", "Income": 3.0, "IncomePercentage": 4.0, "GrossProfit": 5.0, "GrossProfitPercentage": 6.0, "GrossProfitRate": 7.0 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfBI_PosDistinguishCategory_CommonItem8klBlK8Q 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_PosDistinguishCategory_CommonItem> <d2p1:GrossProfit>5</d2p1:GrossProfit> <d2p1:GrossProfitPercentage>6</d2p1:GrossProfitPercentage> <d2p1:GrossProfitRate>7</d2p1:GrossProfitRate> <d2p1:Income>3</d2p1:Income> <d2p1:IncomePercentage>4</d2p1:IncomePercentage> <d2p1:ItemId>sample string 1</d2p1:ItemId> <d2p1:ItemName>sample string 2</d2p1:ItemName> </d2p1:BI_PosDistinguishCategory_CommonItem> <d2p1:BI_PosDistinguishCategory_CommonItem> <d2p1:GrossProfit>5</d2p1:GrossProfit> <d2p1:GrossProfitPercentage>6</d2p1:GrossProfitPercentage> <d2p1:GrossProfitRate>7</d2p1:GrossProfitRate> <d2p1:Income>3</d2p1:Income> <d2p1:IncomePercentage>4</d2p1:IncomePercentage> <d2p1:ItemId>sample string 1</d2p1:ItemId> <d2p1:ItemName>sample string 2</d2p1:ItemName> </d2p1:BI_PosDistinguishCategory_CommonItem> </tag> </CommonOperationResultWithTagOfArrayOfBI_PosDistinguishCategory_CommonItem8klBlK8Q>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.