GET api/User

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserDetails
NameDescriptionTypeAdditional information
UserId

integer

None.

Name

string

None.

Email

string

None.

LabName

string

None.

MachineSerialNumber

string

None.

PhoneNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "LabName": "sample string 4",
  "MachineSerialNumber": "sample string 5",
  "PhoneNumber": "sample string 6"
}

text/xml

Sample:
<UserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoilTesting.Entities">
  <Email>sample string 3</Email>
  <LabName>sample string 4</LabName>
  <MachineSerialNumber>sample string 5</MachineSerialNumber>
  <Name>sample string 2</Name>
  <PhoneNumber>sample string 6</PhoneNumber>
  <UserId>1</UserId>
</UserDetails>