POST api/User/userSellInfo
个人销售数据
Request Information
URI Parameters
None.
Body Parameters
userSellInfoPost| Name | Description | Type | Additional information |
|---|---|---|---|
| userid |
不填写代表查询当前用户的。 |
integer |
None. |
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"userid": 1,
"tel": "sample string 1",
"token": "sample string 2",
"uid": 1
}
application/xml, text/xml
Sample:
<userSellInfoPost 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 1</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 2</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <userid>1</userid> </userSellInfoPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
userSellInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| lastweekAmount | decimal number |
None. |
|
| lastweekTicheng | decimal number |
None. |
|
| weekAmount | decimal number |
None. |
|
| weekTicheng | decimal number |
None. |
|
| lastMonthAmount | decimal number |
None. |
|
| lastMonthTicheng | decimal number |
None. |
|
| monthAmont | decimal number |
None. |
|
| monthTicheng | decimal number |
None. |
|
| paiming | integer |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"lastweekAmount": 1.0,
"lastweekTicheng": 2.0,
"weekAmount": 3.0,
"weekTicheng": 4.0,
"lastMonthAmount": 5.0,
"lastMonthTicheng": 6.0,
"monthAmont": 7.0,
"monthTicheng": 8.0,
"paiming": 9,
"code": 10,
"msg": "sample string 11"
}
application/xml, text/xml
Sample:
<userSellInfoResult 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">10</code> <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 11</msg> <lastMonthAmount>5</lastMonthAmount> <lastMonthTicheng>6</lastMonthTicheng> <lastweekAmount>1</lastweekAmount> <lastweekTicheng>2</lastweekTicheng> <monthAmont>7</monthAmont> <monthTicheng>8</monthTicheng> <paiming>9</paiming> <weekAmount>3</weekAmount> <weekTicheng>4</weekTicheng> </userSellInfoResult>