GET api/account/email?emailAddress={emailAddress}

Returns details about a user by his e-mail address, if he is registered in the system.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emailAddress

string

Required

Body Parameters

None.

Response Information

Resource Description

AccountInfoSimpleDTO
NameDescriptionTypeAdditional information
Username

Username of the form "name.surname".

string

None.

Name

User's name. Optional.

string

None.

Surname

User's surname. Optional.

string

None.

AccountId

User's Account ID.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Name": "sample string 2",
  "Surname": "sample string 3",
  "AccountId": 4
}

text/html

Sample:
{"Username":"sample string 1","Name":"sample string 2","Surname":"sample string 3","AccountId":4}

application/xml, text/xml

Sample:
<AccountInfoSimpleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <AccountId>4</AccountId>
  <Name>sample string 2</Name>
  <Surname>sample string 3</Surname>
  <Username>sample string 1</Username>
</AccountInfoSimpleDTO>