POST api/User/Recommend

Submit proposal

Request Information

Body Parameters

RecommendModel
NameDescriptionTypeAdditional information
UserId

Submit proposal user id

integer

None.

Recommandation

proposals

string

None.

Name

The person who submitted the opinion name

string

None.

Phone

contact phone

string

None.

QQ

QQ number

string

None.

Email

mailbox

string

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Recommandation": "sample string 2",
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "QQ": "sample string 5",
  "Email": "sample string 6",
  "Token": "sample string 7",
  "Language": "sample string 8",
  "AppId": "sample string 9"
}

application/xml, text/xml

Sample:
<RecommendModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 9</AppId>
  <Language>sample string 8</Language>
  <Token>sample string 7</Token>
  <Email>sample string 6</Email>
  <Name>sample string 3</Name>
  <Phone>sample string 4</Phone>
  <QQ>sample string 5</QQ>
  <Recommandation>sample string 2</Recommandation>
  <UserId>1</UserId>
</RecommendModel>

Response Information

Resource Description

Statestatus codeillustrate:
0. Indicates success

NormalResult
NameDescriptionTypeAdditional information
Message

Message [in most cases, the message can be used as a prompt]

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "State": 2
}

application/xml, text/xml

Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <Message>sample string 1</Message>
</NormalResult>