POST api/DaXuXian/getxiaoren

Request Information

URI Parameters

None.

Body Parameters

xiaorenPost
NameDescriptionTypeAdditional information
text

Collection of string

None.

uid

账号id

integer

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "text": [
    "sample string 1",
    "sample string 2"
  ],
  "uid": 1,
  "token": "sample string 2"
}

application/xml, text/xml

Sample:
<xiaorenPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers">
  <token xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 2</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">1</uid>
  <text xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </text>
</xiaorenPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Code

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">
  <Code>1</Code>
  <Msg>sample string 2</Msg>
</BaseResult>