POST api/People/employees

Get the employees assigned to the service account's campuses Provide an AccountID to filter on a particular account

Request Information

URI Parameters

None.

Body Parameters

FilterEmployee
NameDescriptionTypeAdditional information
ServiceTypeID

integer

None.

StatusID

integer

None.

BuildingID

integer

None.

JobID

integer

None.

IsARAMARKEmployee

boolean

None.

SearchText

string

None.

QuickSearchTitle

string

None.

EmployeeID

integer

None.

AccountID

integer

None.

BusinessRole

string

None.

BusinessRoleLevel

integer

None.

EffectiveDateFrom

date

None.

EffectiveDateTo

date

None.

EVSAssignee

boolean

None.

FMAssignee

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceTypeID": 1,
  "StatusID": 1,
  "BuildingID": 1,
  "JobID": 1,
  "IsARAMARKEmployee": true,
  "SearchText": "sample string 1",
  "QuickSearchTitle": "sample string 2",
  "EmployeeID": 1,
  "AccountID": 1,
  "BusinessRole": "sample string 3",
  "BusinessRoleLevel": 1,
  "EffectiveDateFrom": "2024-05-18T08:05:41.7937533Z",
  "EffectiveDateTo": "2024-05-18T08:05:41.7937533Z",
  "EVSAssignee": true,
  "FMAssignee": true
}

application/xml, text/xml

Sample:
<FilterEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Filters">
  <AccountID>1</AccountID>
  <BuildingID>1</BuildingID>
  <BusinessRole>sample string 3</BusinessRole>
  <BusinessRoleLevel>1</BusinessRoleLevel>
  <EVSAssignee>true</EVSAssignee>
  <EffectiveDateFrom>2024-05-18T08:05:41.7937533+00:00</EffectiveDateFrom>
  <EffectiveDateTo>2024-05-18T08:05:41.7937533+00:00</EffectiveDateTo>
  <EmployeeID>1</EmployeeID>
  <FMAssignee>true</FMAssignee>
  <IsARAMARKEmployee>true</IsARAMARKEmployee>
  <JobID>1</JobID>
  <QuickSearchTitle>sample string 2</QuickSearchTitle>
  <SearchText>sample string 1</SearchText>
  <ServiceTypeID>1</ServiceTypeID>
  <StatusID>1</StatusID>
</FilterEmployee>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FilterEmployee'.

Response Information

Resource Description

A list of Employees

Collection of SimpleEmployee
NameDescriptionTypeAdditional information
ID

integer

None.

LastName

string

None.

FirstName

string

None.

MiddleInitial

string

None.

AccountID

integer

None.

EmployeeNumber

string

None.

Job

string

None.

EmploymentStatusID

integer

None.

EmploymentStatus

string

None.

IsEmployeeStatusActive

boolean

None.

IsHousekeeper

boolean

None.

IsHrsSupervisor

boolean

None.

IsInspector

boolean

None.

IsPatientFacing

boolean

None.

IsTransporter

boolean

None.

IsEVSAssignable

boolean

None.

IsFMAssignable

boolean

None.

JobID

integer

None.

JobTitle

string

None.

Email

string

None.

Height

decimal number

None.

ShoeSize

decimal number

None.

EthnicityID

integer

None.

IsSelect

boolean

None.

UserName

string

None.

FullName

string

None.

EnDescription

string

None.

Responsibilities

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "LastName": "sample string 2",
    "FirstName": "sample string 3",
    "MiddleInitial": "sample string 4",
    "AccountID": 5,
    "EmployeeNumber": "sample string 6",
    "Job": "sample string 7",
    "EmploymentStatusID": 8,
    "EmploymentStatus": "sample string 9",
    "IsEmployeeStatusActive": true,
    "IsHousekeeper": true,
    "IsHrsSupervisor": true,
    "IsInspector": true,
    "IsPatientFacing": true,
    "IsTransporter": true,
    "IsEVSAssignable": true,
    "IsFMAssignable": true,
    "JobID": 1,
    "JobTitle": "sample string 18",
    "Email": "sample string 19",
    "Height": 1.0,
    "ShoeSize": 1.0,
    "EthnicityID": 1,
    "IsSelect": true,
    "UserName": "sample string 20",
    "FullName": "sample string 2, sample string 3",
    "EnDescription": "samplestring2,samplestring3",
    "Responsibilities": "Housekeeper, Supervisor, Inspector, Transporter"
  },
  {
    "ID": 1,
    "LastName": "sample string 2",
    "FirstName": "sample string 3",
    "MiddleInitial": "sample string 4",
    "AccountID": 5,
    "EmployeeNumber": "sample string 6",
    "Job": "sample string 7",
    "EmploymentStatusID": 8,
    "EmploymentStatus": "sample string 9",
    "IsEmployeeStatusActive": true,
    "IsHousekeeper": true,
    "IsHrsSupervisor": true,
    "IsInspector": true,
    "IsPatientFacing": true,
    "IsTransporter": true,
    "IsEVSAssignable": true,
    "IsFMAssignable": true,
    "JobID": 1,
    "JobTitle": "sample string 18",
    "Email": "sample string 19",
    "Height": 1.0,
    "ShoeSize": 1.0,
    "EthnicityID": 1,
    "IsSelect": true,
    "UserName": "sample string 20",
    "FullName": "sample string 2, sample string 3",
    "EnDescription": "samplestring2,samplestring3",
    "Responsibilities": "Housekeeper, Supervisor, Inspector, Transporter"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <SimpleEmployee>
    <AccountID>5</AccountID>
    <Email>sample string 19</Email>
    <EmployeeNumber>sample string 6</EmployeeNumber>
    <EmploymentStatus>sample string 9</EmploymentStatus>
    <EmploymentStatusID>8</EmploymentStatusID>
    <EthnicityID>1</EthnicityID>
    <FirstName>sample string 3</FirstName>
    <Height>1</Height>
    <ID>1</ID>
    <IsEVSAssignable>true</IsEVSAssignable>
    <IsEmployeeStatusActive>true</IsEmployeeStatusActive>
    <IsFMAssignable>true</IsFMAssignable>
    <IsHousekeeper>true</IsHousekeeper>
    <IsHrsSupervisor>true</IsHrsSupervisor>
    <IsInspector>true</IsInspector>
    <IsPatientFacing>true</IsPatientFacing>
    <IsSelect>true</IsSelect>
    <IsTransporter>true</IsTransporter>
    <Job>sample string 7</Job>
    <JobID>1</JobID>
    <JobTitle>sample string 18</JobTitle>
    <LastName>sample string 2</LastName>
    <MiddleInitial>sample string 4</MiddleInitial>
    <ShoeSize>1</ShoeSize>
    <UserName>sample string 20</UserName>
  </SimpleEmployee>
  <SimpleEmployee>
    <AccountID>5</AccountID>
    <Email>sample string 19</Email>
    <EmployeeNumber>sample string 6</EmployeeNumber>
    <EmploymentStatus>sample string 9</EmploymentStatus>
    <EmploymentStatusID>8</EmploymentStatusID>
    <EthnicityID>1</EthnicityID>
    <FirstName>sample string 3</FirstName>
    <Height>1</Height>
    <ID>1</ID>
    <IsEVSAssignable>true</IsEVSAssignable>
    <IsEmployeeStatusActive>true</IsEmployeeStatusActive>
    <IsFMAssignable>true</IsFMAssignable>
    <IsHousekeeper>true</IsHousekeeper>
    <IsHrsSupervisor>true</IsHrsSupervisor>
    <IsInspector>true</IsInspector>
    <IsPatientFacing>true</IsPatientFacing>
    <IsSelect>true</IsSelect>
    <IsTransporter>true</IsTransporter>
    <Job>sample string 7</Job>
    <JobID>1</JobID>
    <JobTitle>sample string 18</JobTitle>
    <LastName>sample string 2</LastName>
    <MiddleInitial>sample string 4</MiddleInitial>
    <ShoeSize>1</ShoeSize>
    <UserName>sample string 20</UserName>
  </SimpleEmployee>
</ArrayOfSimpleEmployee>