GET api/account/authorize/{code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

None.

Response Information

Resource Description

LoginProfileModel
NameDescriptionTypeAdditional information
id

integer

None.

email

string

None.

username

string

None.

nickName

string

None.

picture

string

None.

emailVerified

boolean

None.

role

UserType

None.

accessToken

string

None.

loginType

UserType

None.

userId

string

None.

spDentistId

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

clientId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "email": "sample string 2",
  "username": "sample string 3",
  "nickName": "sample string 4",
  "picture": "sample string 5",
  "emailVerified": true,
  "role": 1,
  "accessToken": "sample string 7",
  "loginType": 1,
  "userId": "sample string 8",
  "spDentistId": "sample string 9",
  "longitude": 10.0,
  "latitude": 11.0,
  "clientId": 12
}

application/xml, text/xml

Sample:
<LoginProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
  <AccessToken>sample string 7</AccessToken>
  <ClientId>12</ClientId>
  <Email>sample string 2</Email>
  <EmailVerified>true</EmailVerified>
  <Id>1</Id>
  <Latitude>11</Latitude>
  <LoginType>Docter</LoginType>
  <Longitude>10</Longitude>
  <NickName>sample string 4</NickName>
  <Picture>sample string 5</Picture>
  <Role>Docter</Role>
  <SpDentistId>sample string 9</SpDentistId>
  <UserId>sample string 8</UserId>
  <Username>sample string 3</Username>
</LoginProfileModel>