POST api/thirdlogin?openid={openid}&logintype={logintype}&nickname={nickname}&photourl={photourl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
openid

string

None.

logintype

integer

Default value is 0

nickname

string

None.

photourl

string

None.

Body Parameters

None.

Response Information

Resource Description

AngellAPIResultOfNewPersonObejct
NameDescriptionTypeAdditional information
Result

NewPersonObejct

None.

IsOperationSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "customerID": 1,
    "photoUrl": "sample string 2",
    "phoneNum": "sample string 3",
    "nickName": "sample string 4",
    "sex": "sample string 5",
    "email": "sample string 6",
    "username": "sample string 7",
    "allcoin": 8,
    "token": "sample string 9"
  },
  "IsOperationSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<AngellAPIResultOfNewPersonObejctj5bX4IN2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AK.WebApi.Api">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsOperationSuccess>true</IsOperationSuccess>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model.AKServiceModel.updatePerson">
    <d2p1:allcoin>8</d2p1:allcoin>
    <d2p1:customerID>1</d2p1:customerID>
    <d2p1:email>sample string 6</d2p1:email>
    <d2p1:nickName>sample string 4</d2p1:nickName>
    <d2p1:phoneNum>sample string 3</d2p1:phoneNum>
    <d2p1:photoUrl>sample string 2</d2p1:photoUrl>
    <d2p1:sex>sample string 5</d2p1:sex>
    <d2p1:token>sample string 9</d2p1:token>
    <d2p1:username>sample string 7</d2p1:username>
  </Result>
</AngellAPIResultOfNewPersonObejctj5bX4IN2>