POST api/User/Login

登入

Request Information

URI Parameters

None.

Body Parameters

參數

LoginModel
NameDescriptionTypeAdditional information
OpenId

string

None.

LoginType

integer

None.

Mail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OpenId": "sample string 1",
  "LoginType": 2,
  "Mail": "sample string 3"
}

text/xml

Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teema.Libary.Models">
  <LoginType>2</LoginType>
  <Mail>sample string 3</Mail>
  <OpenId>sample string 1</OpenId>
</LoginModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CiResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Data": {}
}

text/xml

Sample:
<CiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teema.Libary.Models">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
</CiResult>