POST api/Expert/ExpertEditPrice

专家新增或修改定价信息 必填参数【UserId,Token,EntrustPrice,ConsultPrice,PriceId】

Request Information

URI Parameters

None.

Body Parameters

ExpertPriceParameter
NameDescriptionTypeAdditional information
ConsultPrice

咨询价格

decimal number

None.

EntrustPrice

委托定金

decimal number

None.

PriceId

定价Id

integer

None.

UserId

专家Id

string

None.

Token

登录验证

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ConsultPrice": 1.0,
  "EntrustPrice": 2.0,
  "PriceId": 3,
  "UserId": "sample string 4",
  "Token": "sample string 5"
}

application/xml, text/xml

Sample:
<ExpertPriceParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ExpertModels">
  <Token>sample string 5</Token>
  <UserId>sample string 4</UserId>
  <ConsultPrice>1</ConsultPrice>
  <EntrustPrice>2</EntrustPrice>
  <PriceId>3</PriceId>
</ExpertPriceParameter>

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 'ExpertPriceParameter'.

Response Information

Resource Description

专家新增或修改定价信息 必填参数【UserId,Token,EntrustPrice,ConsultPrice,PriceId】

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.