POST api/TwoYiChangZheKou/getList

Request Information

URI Parameters

None.

Body Parameters

twoyichangzhekoulistPost
NameDescriptionTypeAdditional information
begindt

string

None.

enddt

string

None.

groupid

数组: integer

None.

userid

integer

None.

type

数组: TwoYiChangZheKouType

None.

weidu

1:未读。0:已读

integer

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "begindt": "sample string 1",
  "enddt": "sample string 2",
  "groupid": [
    1,
    2
  ],
  "userid": 1,
  "type": [
    1,
    1
  ],
  "weidu": 1,
  "tel": "sample string 3",
  "token": "sample string 4",
  "uid": 1
}

application/xml, text/xml

Sample:
<twoyichangzhekoulistPost 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 3</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 4</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <begindt>sample string 1</begindt>
  <enddt>sample string 2</enddt>
  <groupid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </groupid>
  <type xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebApi">
    <d2p1:Engine.TwoYiChangZheKouType>neibujia</d2p1:Engine.TwoYiChangZheKouType>
    <d2p1:Engine.TwoYiChangZheKouType>neibujia</d2p1:Engine.TwoYiChangZheKouType>
  </type>
  <userid>1</userid>
  <weidu>1</weidu>
</twoyichangzhekoulistPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

twoyichangzhekoulistResult
NameDescriptionTypeAdditional information
total

decimal number

None.

list

数组: twoyichangzhekouItem

None.

code

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

integer

None.

msg

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1.0,
  "list": [
    {
      "id": 1,
      "dt": "sample string 2",
      "huohao": "sample string 3",
      "type": 1,
      "tongyiren": "sample string 4",
      "yichangjine": 5.0,
      "huiyuantel": "sample string 6",
      "groupname": "sample string 7",
      "daogou": "sample string 8",
      "weidu": 9,
      "status": 10
    },
    {
      "id": 1,
      "dt": "sample string 2",
      "huohao": "sample string 3",
      "type": 1,
      "tongyiren": "sample string 4",
      "yichangjine": 5.0,
      "huiyuantel": "sample string 6",
      "groupname": "sample string 7",
      "daogou": "sample string 8",
      "weidu": 9,
      "status": 10
    }
  ],
  "code": 2,
  "msg": "sample string 3"
}

application/xml, text/xml

Sample:
<twoyichangzhekoulistResult 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">2</code>
  <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</msg>
  <list>
    <twoyichangzhekouItem>
      <daogou>sample string 8</daogou>
      <dt>sample string 2</dt>
      <groupname>sample string 7</groupname>
      <huiyuantel>sample string 6</huiyuantel>
      <huohao>sample string 3</huohao>
      <id>1</id>
      <status>10</status>
      <tongyiren>sample string 4</tongyiren>
      <type>neibujia</type>
      <weidu>9</weidu>
      <yichangjine>5</yichangjine>
    </twoyichangzhekouItem>
    <twoyichangzhekouItem>
      <daogou>sample string 8</daogou>
      <dt>sample string 2</dt>
      <groupname>sample string 7</groupname>
      <huiyuantel>sample string 6</huiyuantel>
      <huohao>sample string 3</huohao>
      <id>1</id>
      <status>10</status>
      <tongyiren>sample string 4</tongyiren>
      <type>neibujia</type>
      <weidu>9</weidu>
      <yichangjine>5</yichangjine>
    </twoyichangzhekouItem>
  </list>
  <total>1</total>
</twoyichangzhekoulistResult>