GET api/User/getUser?username={username}&password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
ID

integer

None.

Email

string

None.

Password

string

None.

Username

string

None.

Name

string

None.

Phone

string

None.

Workplace

string

None.

AirportCode

string

None.

COANO

string

None.

Role

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Email": "sample string 2",
  "Password": "sample string 3",
  "Username": "sample string 4",
  "Name": "sample string 5",
  "Phone": "sample string 6",
  "Workplace": "sample string 7",
  "AirportCode": "sample string 8",
  "COANO": "sample string 9",
  "Role": "sample string 10"
}

text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiEramp.Models">
  <AirportCode>sample string 8</AirportCode>
  <COANO>sample string 9</COANO>
  <Email>sample string 2</Email>
  <ID>1</ID>
  <Name>sample string 5</Name>
  <Password>sample string 3</Password>
  <Phone>sample string 6</Phone>
  <Role>sample string 10</Role>
  <Username>sample string 4</Username>
  <Workplace>sample string 7</Workplace>
</User>