POST api/TwoPanCun/PanCunInfo
详情
Request Information
URI Parameters
None.
Body Parameters
BaseIdPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<BaseIdPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <tel>sample string 2</tel> <token>sample string 3</token> <uid>1</uid> <id>1</id> </BaseIdPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PanCunInfoResule| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| groupid | integer |
None. |
|
| groupname | string |
None. |
|
| list | 数组: addPanCunInfoItem |
None. |
|
| day | string |
None. |
|
| createdt | string |
None. |
|
| username | string |
None. |
|
| userid | integer |
None. |
|
| zhangmushuototal | integer |
None. |
|
| shipanshutotal | integer |
None. |
|
| chayijianshutotal | integer |
None. |
|
| chayijinetotal | decimal number |
None. |
|
| peifujinetotal | decimal number |
None. |
|
| yimoping |
1:已确认。0:未确认 |
integer |
None. |
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"groupid": 1,
"groupname": "sample string 2",
"list": [
{
"pinpai": "sample string 1",
"zhangmushuo": 2,
"shipanshu": 3,
"chayijianshu": 4,
"chayijine": 5.0,
"peifujine": 6.0
},
{
"pinpai": "sample string 1",
"zhangmushuo": 2,
"shipanshu": 3,
"chayijianshu": 4,
"chayijine": 5.0,
"peifujine": 6.0
}
],
"day": "sample string 3",
"createdt": "sample string 4",
"username": "sample string 5",
"userid": 6,
"zhangmushuototal": 7,
"shipanshutotal": 8,
"chayijianshutotal": 9,
"chayijinetotal": 10.0,
"peifujinetotal": 11.0,
"yimoping": 12,
"code": 13,
"msg": "sample string 14"
}
application/xml, text/xml
Sample:
<PanCunInfoResule 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">13</code>
<msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 14</msg>
<chayijianshutotal>9</chayijianshutotal>
<chayijinetotal>10</chayijinetotal>
<createdt>sample string 4</createdt>
<day>sample string 3</day>
<groupid>1</groupid>
<groupname>sample string 2</groupname>
<id>1</id>
<list>
<addPanCunInfoItem>
<chayijianshu>4</chayijianshu>
<chayijine>5</chayijine>
<peifujine>6</peifujine>
<pinpai>sample string 1</pinpai>
<shipanshu>3</shipanshu>
<zhangmushuo>2</zhangmushuo>
</addPanCunInfoItem>
<addPanCunInfoItem>
<chayijianshu>4</chayijianshu>
<chayijine>5</chayijine>
<peifujine>6</peifujine>
<pinpai>sample string 1</pinpai>
<shipanshu>3</shipanshu>
<zhangmushuo>2</zhangmushuo>
</addPanCunInfoItem>
</list>
<peifujinetotal>11</peifujinetotal>
<shipanshutotal>8</shipanshutotal>
<userid>6</userid>
<username>sample string 5</username>
<yimoping>12</yimoping>
<zhangmushuototal>7</zhangmushuototal>
</PanCunInfoResule>