GET api/BI/Today/Pos/Shop/Data?shopid={shopid}&curdate={curdate}

获取今日实况-零售按门店展示的数据。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopid

门店ID,为空时默认查所有门店

string

Default value is

curdate

日期,yyyyMMdd,为空或不设置时,默认为当天

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取今日实况-零售按门店展示的数据。

CommonOperationResultWithTagOfIEnumerableOfBI_Today_Pos_AllDataItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of BI_Today_Pos_AllDataItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "RQ": "sample string 1",
      "ShopId": "sample string 2",
      "ShopName": "sample string 3",
      "Income": 4.0,
      "SellIncome": 5.0,
      "SellCost": 6.0,
      "Refund": 7.0,
      "RefundCost": 8.0,
      "GrossProfit": 9.0,
      "SellCounts": 10,
      "AverageUnitPrice": 11.0,
      "RefundCounts": 12,
      "GrossProfitRate": 13.0,
      "SellGoodsTypeCount": 14,
      "TotalGoodsCount": 15,
      "SellingRate": 16.0
    },
    {
      "RQ": "sample string 1",
      "ShopId": "sample string 2",
      "ShopName": "sample string 3",
      "Income": 4.0,
      "SellIncome": 5.0,
      "SellCost": 6.0,
      "Refund": 7.0,
      "RefundCost": 8.0,
      "GrossProfit": 9.0,
      "SellCounts": 10,
      "AverageUnitPrice": 11.0,
      "RefundCounts": 12,
      "GrossProfitRate": 13.0,
      "SellGoodsTypeCount": 14,
      "TotalGoodsCount": 15,
      "SellingRate": 16.0
    }
  ]
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfArrayOfBI_Today_Pos_AllDataItemvws7YgyP 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_Today_Pos_AllDataItem>
      <d2p1:AverageUnitPrice>11</d2p1:AverageUnitPrice>
      <d2p1:GrossProfit>9</d2p1:GrossProfit>
      <d2p1:GrossProfitRate>13</d2p1:GrossProfitRate>
      <d2p1:Income>4</d2p1:Income>
      <d2p1:RQ>sample string 1</d2p1:RQ>
      <d2p1:Refund>7</d2p1:Refund>
      <d2p1:RefundCost>8</d2p1:RefundCost>
      <d2p1:RefundCounts>12</d2p1:RefundCounts>
      <d2p1:SellCost>6</d2p1:SellCost>
      <d2p1:SellCounts>10</d2p1:SellCounts>
      <d2p1:SellGoodsTypeCount>14</d2p1:SellGoodsTypeCount>
      <d2p1:SellIncome>5</d2p1:SellIncome>
      <d2p1:SellingRate>16</d2p1:SellingRate>
      <d2p1:ShopId>sample string 2</d2p1:ShopId>
      <d2p1:ShopName>sample string 3</d2p1:ShopName>
      <d2p1:TotalGoodsCount>15</d2p1:TotalGoodsCount>
    </d2p1:BI_Today_Pos_AllDataItem>
    <d2p1:BI_Today_Pos_AllDataItem>
      <d2p1:AverageUnitPrice>11</d2p1:AverageUnitPrice>
      <d2p1:GrossProfit>9</d2p1:GrossProfit>
      <d2p1:GrossProfitRate>13</d2p1:GrossProfitRate>
      <d2p1:Income>4</d2p1:Income>
      <d2p1:RQ>sample string 1</d2p1:RQ>
      <d2p1:Refund>7</d2p1:Refund>
      <d2p1:RefundCost>8</d2p1:RefundCost>
      <d2p1:RefundCounts>12</d2p1:RefundCounts>
      <d2p1:SellCost>6</d2p1:SellCost>
      <d2p1:SellCounts>10</d2p1:SellCounts>
      <d2p1:SellGoodsTypeCount>14</d2p1:SellGoodsTypeCount>
      <d2p1:SellIncome>5</d2p1:SellIncome>
      <d2p1:SellingRate>16</d2p1:SellingRate>
      <d2p1:ShopId>sample string 2</d2p1:ShopId>
      <d2p1:ShopName>sample string 3</d2p1:ShopName>
      <d2p1:TotalGoodsCount>15</d2p1:TotalGoodsCount>
    </d2p1:BI_Today_Pos_AllDataItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfBI_Today_Pos_AllDataItemvws7YgyP>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.