POST api/CustomerService/EditHeadImage

客服头像修改

Request Information

URI Parameters

None.

Body Parameters

CustomerServiceParameter
NameDescriptionTypeAdditional information
CsdId

客服Id

string

None.

Token

登录验证

string

None.

Avatar

头像

string

None.

Mobile

手机号

string

None.

VerifyCode

验证码

string

None.

CodeType

验证码类型

integer

None.

Sex

性别 0女/1男

integer

None.

NickName

昵称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CsdId": "sample string 1",
  "Token": "sample string 2",
  "Avatar": "sample string 3",
  "Mobile": "sample string 4",
  "VerifyCode": "sample string 5",
  "CodeType": 6,
  "Sex": 7,
  "NickName": "sample string 8"
}

application/xml, text/xml

Sample:
<CustomerServiceParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.CustomerServiceModels">
  <Avatar>sample string 3</Avatar>
  <CodeType>6</CodeType>
  <CsdId>sample string 1</CsdId>
  <Mobile>sample string 4</Mobile>
  <NickName>sample string 8</NickName>
  <Sex>7</Sex>
  <Token>sample string 2</Token>
  <VerifyCode>sample string 5</VerifyCode>
</CustomerServiceParameter>

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

Response Information

Resource Description

客服头像修改

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.