获取咨询集合

URL地址:api/App/Consult/GetConsult

请求方式:GET

传递参数

None.

传递对象

ConsultQuery (检索条件对象)
名   称描   述参数类型附加信息
IdQuery

编号

integer

None.

PhoneQuery

电话号码

string

None.

EmailQuery

电子邮件

string

None.

QQQuery

qq号

string

None.

WxIdQuery

微信id

string

None.

ContentQuery

咨询内容

string

None.

ConsultTimeQuery

咨询时间

date

None.

ReplyContentQuery

回复内容

string

None.

PromoterQuery

业务员账号

integer

None.

PromoterNameQuery

业务员姓名

date

None.

ReplyTimeQuery

回复时间

date

None.

ReTimeQuery

创建时间

date

None.

application/json, text/json

Sample:
{
  "IdQuery": 1,
  "PhoneQuery": "sample string 2",
  "EmailQuery": "sample string 3",
  "QQQuery": "sample string 4",
  "WxIdQuery": "sample string 5",
  "ContentQuery": "sample string 6",
  "ConsultTimeQuery": "2021-03-07T23:03:29.8452387+08:00",
  "ReplyContentQuery": "sample string 8",
  "PromoterQuery": 9,
  "PromoterNameQuery": "2021-03-07T23:03:29.8452387+08:00",
  "ReplyTimeQuery": "2021-03-07T23:03:29.8452387+08:00",
  "ReTimeQuery": "2021-03-07T23:03:29.8452387+08:00"
}

application/xml, text/xml

Sample:
<ConsultQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <ConsultTimeQuery>2021-03-07T23:03:29.8452387+08:00</ConsultTimeQuery>
  <ContentQuery>sample string 6</ContentQuery>
  <EmailQuery>sample string 3</EmailQuery>
  <IdQuery>1</IdQuery>
  <PhoneQuery>sample string 2</PhoneQuery>
  <PromoterNameQuery>2021-03-07T23:03:29.8452387+08:00</PromoterNameQuery>
  <PromoterQuery>9</PromoterQuery>
  <QQQuery>sample string 4</QQQuery>
  <ReTimeQuery>2021-03-07T23:03:29.8452387+08:00</ReTimeQuery>
  <ReplyContentQuery>sample string 8</ReplyContentQuery>
  <ReplyTimeQuery>2021-03-07T23:03:29.8452387+08:00</ReplyTimeQuery>
  <WxIdQuery>sample string 5</WxIdQuery>
</ConsultQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfConsultEntity (咨询集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of ConsultEntity

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": [
    {
      "Id": 1,
      "Phone": "sample string 2",
      "Email": "sample string 3",
      "QQ": "sample string 4",
      "WxId": "sample string 5",
      "Content": "sample string 6",
      "ConsultTime": "2021-03-07T23:03:29.8608577+08:00",
      "ReplyContent": "sample string 8",
      "Promoter": 9,
      "PromoterName": "2021-03-07T23:03:29.8608577+08:00",
      "ReplyTime": "2021-03-07T23:03:29.8608577+08:00",
      "ReTime": "2021-03-07T23:03:29.8608577+08:00"
    },
    {
      "Id": 1,
      "Phone": "sample string 2",
      "Email": "sample string 3",
      "QQ": "sample string 4",
      "WxId": "sample string 5",
      "Content": "sample string 6",
      "ConsultTime": "2021-03-07T23:03:29.8608577+08:00",
      "ReplyContent": "sample string 8",
      "Promoter": 9,
      "PromoterName": "2021-03-07T23:03:29.8608577+08:00",
      "ReplyTime": "2021-03-07T23:03:29.8608577+08:00",
      "ReTime": "2021-03-07T23:03:29.8608577+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfConsultEntityj2mLa_SCg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>
    <ConsultEntity>
      <ConsultTime>2021-03-07T23:03:29.8608577+08:00</ConsultTime>
      <Content>sample string 6</Content>
      <Email>sample string 3</Email>
      <Id>1</Id>
      <Phone>sample string 2</Phone>
      <Promoter>9</Promoter>
      <PromoterName>2021-03-07T23:03:29.8608577+08:00</PromoterName>
      <QQ>sample string 4</QQ>
      <ReTime>2021-03-07T23:03:29.8608577+08:00</ReTime>
      <ReplyContent>sample string 8</ReplyContent>
      <ReplyTime>2021-03-07T23:03:29.8608577+08:00</ReplyTime>
      <WxId>sample string 5</WxId>
    </ConsultEntity>
    <ConsultEntity>
      <ConsultTime>2021-03-07T23:03:29.8608577+08:00</ConsultTime>
      <Content>sample string 6</Content>
      <Email>sample string 3</Email>
      <Id>1</Id>
      <Phone>sample string 2</Phone>
      <Promoter>9</Promoter>
      <PromoterName>2021-03-07T23:03:29.8608577+08:00</PromoterName>
      <QQ>sample string 4</QQ>
      <ReTime>2021-03-07T23:03:29.8608577+08:00</ReTime>
      <ReplyContent>sample string 8</ReplyContent>
      <ReplyTime>2021-03-07T23:03:29.8608577+08:00</ReplyTime>
      <WxId>sample string 5</WxId>
    </ConsultEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfConsultEntityj2mLa_SCg>