GET api/Employees

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Employee
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

LastName

string

None.

StoreId

integer

None.

PayRate

decimal number

None.

SSN

string

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "StoreId": 4,
    "PayRate": 5.0,
    "SSN": "sample string 6",
    "Active": true
  },
  {
    "Id": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "StoreId": 4,
    "PayRate": 5.0,
    "SSN": "sample string 6",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <Employee>
    <Active>true</Active>
    <FirstName>sample string 2</FirstName>
    <Id>1</Id>
    <LastName>sample string 3</LastName>
    <PayRate>5</PayRate>
    <SSN>sample string 6</SSN>
    <StoreId>4</StoreId>
  </Employee>
  <Employee>
    <Active>true</Active>
    <FirstName>sample string 2</FirstName>
    <Id>1</Id>
    <LastName>sample string 3</LastName>
    <PayRate>5</PayRate>
    <SSN>sample string 6</SSN>
    <StoreId>4</StoreId>
  </Employee>
</ArrayOfEmployee>