POST api/Product/getSellList

获取销售列表

Request Information

URI Parameters

None.

Body Parameters

sellListPost
NameDescriptionTypeAdditional information
userid

要查询的店员的id

integer

None.

groupid

要查询的店铺的id

integer

None.

beginDt

string

None.

endDt

string

None.

zhekou

折扣类型

integer

None.

skip

跳过多少条

integer

None.

limit

取多少条

integer

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "groupid": 1,
  "beginDt": "sample string 1",
  "endDt": "sample string 2",
  "zhekou": 1,
  "skip": 3,
  "limit": 4,
  "tel": "sample string 5",
  "token": "sample string 6",
  "uid": 1
}

application/xml, text/xml

Sample:
<sellListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 5</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 6</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <limit xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">4</limit>
  <skip xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">3</skip>
  <beginDt>sample string 1</beginDt>
  <endDt>sample string 2</endDt>
  <groupid>1</groupid>
  <userid>1</userid>
  <zhekou>1</zhekou>
</sellListPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

sellListResult
NameDescriptionTypeAdditional information
list

数组: sellProductItem

None.

count

integer

None.

amount

decimal number

None.

code

状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在...

integer

None.

msg

成功或者错误的说明,例如:登录成功,token过期...

string

None.

Response Formats

application/json, text/json

Sample:
{
  "list": [
    {
      "id": 1,
      "productCode": "sample string 2",
      "yansecode": "sample string 3",
      "yanse": "sample string 4",
      "chimacode": "sample string 5",
      "chima": "sample string 6",
      "saleprice": 7.0,
      "count": 1,
      "userName": "sample string 8",
      "zhekou": "sample string 9",
      "zhekouType": 10,
      "pinlei": "sample string 11"
    },
    {
      "id": 1,
      "productCode": "sample string 2",
      "yansecode": "sample string 3",
      "yanse": "sample string 4",
      "chimacode": "sample string 5",
      "chima": "sample string 6",
      "saleprice": 7.0,
      "count": 1,
      "userName": "sample string 8",
      "zhekou": "sample string 9",
      "zhekouType": 10,
      "pinlei": "sample string 11"
    }
  ],
  "count": 1,
  "amount": 2.0,
  "code": 3,
  "msg": "sample string 4"
}

application/xml, text/xml

Sample:
<sellListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <code xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">3</code>
  <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 4</msg>
  <amount>2</amount>
  <count>1</count>
  <list>
    <sellProductItem>
      <chima>sample string 6</chima>
      <chimacode>sample string 5</chimacode>
      <count>1</count>
      <id>1</id>
      <pinlei>sample string 11</pinlei>
      <productCode>sample string 2</productCode>
      <saleprice>7</saleprice>
      <userName>sample string 8</userName>
      <yanse>sample string 4</yanse>
      <yansecode>sample string 3</yansecode>
      <zhekou>sample string 9</zhekou>
      <zhekouType>10</zhekouType>
    </sellProductItem>
    <sellProductItem>
      <chima>sample string 6</chima>
      <chimacode>sample string 5</chimacode>
      <count>1</count>
      <id>1</id>
      <pinlei>sample string 11</pinlei>
      <productCode>sample string 2</productCode>
      <saleprice>7</saleprice>
      <userName>sample string 8</userName>
      <yanse>sample string 4</yanse>
      <yansecode>sample string 3</yansecode>
      <zhekou>sample string 9</zhekou>
      <zhekouType>10</zhekouType>
    </sellProductItem>
  </list>
</sellListResult>