POST api/TwoDiaoBo/getDataByHuohao

Request Information

URI Parameters

None.

Body Parameters

getDataByHuohaoPost
NameDescriptionTypeAdditional information
huohao

string

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "huohao": "sample string 1",
  "tel": "sample string 2",
  "token": "sample string 3",
  "uid": 1
}

application/xml, text/xml

Sample:
<getDataByHuohaoPost 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 2</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <huohao>sample string 1</huohao>
</getDataByHuohaoPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

getDataByHuohaoResult
NameDescriptionTypeAdditional information
pinpai

string

None.

huohao

string

None.

yanse

string

None.

chima

string

None.

count

integer

None.

imgurl

string

None.

imgid

integer

None.

code

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

integer

None.

msg

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "pinpai": "sample string 1",
  "huohao": "sample string 2",
  "yanse": "sample string 3",
  "chima": "sample string 4",
  "count": 5,
  "imgurl": "sample string 6",
  "imgid": 1,
  "code": 7,
  "msg": "sample string 8"
}

application/xml, text/xml

Sample:
<getDataByHuohaoResult 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">7</code>
  <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 8</msg>
  <chima>sample string 4</chima>
  <count>5</count>
  <huohao>sample string 2</huohao>
  <imgid>1</imgid>
  <imgurl>sample string 6</imgurl>
  <pinpai>sample string 1</pinpai>
  <yanse>sample string 3</yanse>
</getDataByHuohaoResult>