POST api/Consult/ContractViewList

合同列表 必填参数【Token,UserId,pagesize,page,UserType】

Request Information

URI Parameters

None.

Body Parameters

UserType=1时,用户必须是专家,获取专家合同列表;

QueryParameter
NameDescriptionTypeAdditional information
OrderByType

1 按利率 2按金额 3 按贷款年限

integer

None.

UserType

用户类型 0-用户 1-专家

integer

None.

page

页码

integer

None.

pagesize

页码条数

integer

None.

LabelIds

选择的标签Id:用,隔开 最多3个

string

None.

ExpertId

专家Id

integer

None.

Status

状态

string

None.

ProType

发布类型 0-咨询 1-需求

integer

None.

OrderType

订单类型 0-用户咨询订单,1-专家咨询订单,2-用户购买提问次数订单,3-用户历史问题购买,4-委托合同订单,5-资讯购买订单

string

None.

ContractType

合同类型 0-普通委托合同,1-赎楼委托合同, 2-评估委托合同, 3-注册委托合同

string

None.

ContractId

合同Id

integer

None.

AnswerId

回答Id

integer

None.

UserId

用户编号

string

None.

Token

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderByType": 1,
  "UserType": 2,
  "page": 3,
  "pagesize": 4,
  "LabelIds": "sample string 5",
  "ExpertId": 6,
  "Status": "sample string 7",
  "ProType": 8,
  "OrderType": "sample string 9",
  "ContractType": "sample string 10",
  "ContractId": 11,
  "AnswerId": 12,
  "UserId": "sample string 13",
  "Token": "sample string 14"
}

application/xml, text/xml

Sample:
<QueryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ConsultModels">
  <Token>sample string 14</Token>
  <UserId>sample string 13</UserId>
  <AnswerId>12</AnswerId>
  <ContractId>11</ContractId>
  <ContractType>sample string 10</ContractType>
  <ExpertId>6</ExpertId>
  <LabelIds>sample string 5</LabelIds>
  <OrderByType>1</OrderByType>
  <OrderType>sample string 9</OrderType>
  <ProType>8</ProType>
  <Status>sample string 7</Status>
  <UserType>2</UserType>
  <page>3</page>
  <pagesize>4</pagesize>
</QueryParameter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'QueryParameter'.

Response Information

Resource Description

合同列表 必填参数【Token,UserId,pagesize,page,UserType】

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.