POST api/AppLogin/DoAppLogin

“DoAppLogin”的文档。

Request Information

Parameters

NameDescriptionAdditional information
model
“model”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Pwd": "sample string 2",
  "MemberId": "3cb907ef-ad1a-4d4f-960e-76e0cac1aa48"
}

application/xml, text/xml

Sample:
<AppLogin.InPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
  <MemberId>3cb907ef-ad1a-4d4f-960e-76e0cac1aa48</MemberId>
  <Pwd>sample string 2</Pwd>
  <UserName>sample string 1</UserName>
</AppLogin.InPrame>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'InPrame'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Model": {},
  "Model1": {},
  "Model2": {},
  "Model3": {},
  "Model4": {},
  "Model5": {},
  "Model6": {},
  "ErrorMessage": "sample string 8",
  "ErroCode": -1
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 8</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Model1_x003E_k__BackingField />
  <_x003C_Model2_x003E_k__BackingField />
  <_x003C_Model3_x003E_k__BackingField />
  <_x003C_Model4_x003E_k__BackingField />
  <_x003C_Model5_x003E_k__BackingField />
  <_x003C_Model6_x003E_k__BackingField />
  <_x003C_Model_x003E_k__BackingField />
</ResultModel>