POST api/User/register_third

第三方账号注册/登录 1010

Request Information

Parameters

NameDescriptionAdditional information
model
第三方返回的数据对象

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AccessType": 0,
  "Nick": "sample string 1",
  "Gender": 0,
  "HeaderUrl": "sample string 2",
  "Brief": "sample string 3",
  "AccessId": "sample string 4",
  "AccessToken": "sample string 5",
  "AccessOpenUid": "sample string 6",
  "MZStudioUserId": "sample string 7",
  "MZChatUserId": "sample string 8",
  "PassWord": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

{"Result":0,"Message":"","Data":{"Token":"","Profile":{"IsTempUser":0,"NumberOfLikedSoundFile":0,"NumberOfLikedMessage":0,"LatestAccessTime":1415001997,"RegisteTime":1415001997,"MaxRadioCount":5,"UserId":"ac6aec54-3063-e411-a33d-ac853d9f52f0","Nick":"admin","HeaderUrl":"http://image.muzhifm.com/nohead.jpg","CoverUrl":null,"Brief":null,"Gender":0,"Birthday":"","IsVerified":0,"SourceType":0,"NumberOfFan":0,"NumberOfAttention":0,"IsAttentioned":0,"UserGroupId":"00000000-0000-0000-0000-000000000000","SmallImagePath":"","LargeImagePath":"","MiddleImagePath":"","IsBindMobile":1,"HasPassword":1,"MobilePhone":"18911326689","Email":"huogh@info.com.cn"}},"Version":null}

Response body formats

application/json, text/json

Sample:
{
  "Result": 1,
  "Message": "sample string 2",
  "Data": {},
  "Version": "sample string 4"
}