GET api/Pos/MiniProgram/User/Today/Info/{shopid}

获取当前用户登陆之后界面显示的榜单(会自动选择当前登陆的用户)。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopid

店铺的ID。

string

Required

Body Parameters

None.

Response Information

Resource Description

获取当前用户登陆之后界面显示的榜单(会自动选择当前登陆的用户)。

CommonOperationResultWithTagOfPosUserTodayInfoResult
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

PosUserTodayInfoResult

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "yhdlm": "sample string 1",
    "yhmc": "sample string 2",
    "shopid": "sample string 3",
    "todayofmebillcount": 4,
    "todayofmebillvlaue": 5.0,
    "todayofshopbillcount": 6,
    "todayofshopbillvalue": 7.0,
    "todaybillcount": 8,
    "todaybillvalue": 9.0,
    "useritems": [
      {
        "yhdlm": "sample string 1",
        "yhmc": "sample string 2",
        "billcount": 3,
        "billvalue": 4.0
      },
      {
        "yhdlm": "sample string 1",
        "yhmc": "sample string 2",
        "billcount": 3,
        "billvalue": 4.0
      }
    ],
    "orderranking": 10,
    "orderamountranking": 11
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfPosUserTodayInfoResultldpHZqFJ 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">
    <d2p1:orderamountranking>11</d2p1:orderamountranking>
    <d2p1:orderranking>10</d2p1:orderranking>
    <d2p1:shopid>sample string 3</d2p1:shopid>
    <d2p1:todaybillcount>8</d2p1:todaybillcount>
    <d2p1:todaybillvalue>9</d2p1:todaybillvalue>
    <d2p1:todayofmebillcount>4</d2p1:todayofmebillcount>
    <d2p1:todayofmebillvlaue>5</d2p1:todayofmebillvlaue>
    <d2p1:todayofshopbillcount>6</d2p1:todayofshopbillcount>
    <d2p1:todayofshopbillvalue>7</d2p1:todayofshopbillvalue>
    <d2p1:useritems>
      <d2p1:PosUserToDayValueItemResult>
        <d2p1:billcount>3</d2p1:billcount>
        <d2p1:billvalue>4</d2p1:billvalue>
        <d2p1:yhdlm>sample string 1</d2p1:yhdlm>
        <d2p1:yhmc>sample string 2</d2p1:yhmc>
      </d2p1:PosUserToDayValueItemResult>
      <d2p1:PosUserToDayValueItemResult>
        <d2p1:billcount>3</d2p1:billcount>
        <d2p1:billvalue>4</d2p1:billvalue>
        <d2p1:yhdlm>sample string 1</d2p1:yhdlm>
        <d2p1:yhmc>sample string 2</d2p1:yhmc>
      </d2p1:PosUserToDayValueItemResult>
    </d2p1:useritems>
    <d2p1:yhdlm>sample string 1</d2p1:yhdlm>
    <d2p1:yhmc>sample string 2</d2p1:yhmc>
  </tag>
</CommonOperationResultWithTagOfPosUserTodayInfoResultldpHZqFJ>

application/bson

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