Get basic employees
post
/config/sim/v1/employees/getEmployees2
Gets all the basic employees information
Request
Supported Media Types
- application/json
- multipart/form-data
The input Body model that needs to be given.
Root Schema : schema
Type:
Show Source
object
-
include:
string
Objects included in the response.Example:
hierUnitId
-
includeAll:
string
This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except
Ext values. If 'detailed' is specified, The response contains all the properties of the object. Example:detailed
-
languages:
string
If specified, limits the translated strings returned.Example:
en-US, es-ES, es-MX
-
limit:
integer
If using paging, number of results returned in this page.Example:
0
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supported.Example:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order.Example:
objectNum:asc
-
searchCriteria:
string
Search criteria to filter results based on field value.Example:
where equals(objectNum,1)
Response
Supported Media Types
- application/json
200 Response
A collection of employees.
Root Schema : Employee2GetResponse
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
9
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items:
array items
Array of basic employee objects of the organization.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : Employee2
Type:
Show Source
object
-
alternateId:
integer
ID to use instead of the Employee ID when signing into the workstation.Example:
2121
-
checkName:
string
Name to print on guest checks.Example:
Employee Check Name
-
dataExtensions:
array dataExtensions
An array of data extensions for employees
-
email:
string
Email address of the employee.Example:
employee@restaurant.com
-
firstName:
string
Employee's first name, which prints on reports.Example:
Employee
-
group:
integer
The group of the employee.Example:
1
-
hasFingerprintEnrolled:
boolean
Flag indicating if the employee has its fingerprint enrolled. This flag cannot be modified by API.Example:
false
-
id:
integer
ID number to identify the employee on workstations.Example:
2021
-
infoLine1:
string
Information line 1Example:
Information line 1
-
infoLine2:
string
Information line 2Example:
Information line 2
-
infoLine3:
string
Information line 3Example:
Information line 3
-
infoLine4:
string
Information line 4Example:
Information line 4
-
isDataPrivacyConsentGranted:
boolean
The consent status of the employee.Example:
false
-
isDeleted:
boolean
Flag indicating if the employee record is deleted. If true, the record cannot be edited.Example:
false
-
language:
object language
A string that contains translations of default language name for the employee on the EMC and the workstation into multiple languages
-
languageObjNum:
integer
The object number of the default language for the employee on the EMC and the workstation.Example:
1
-
lastName:
string
Employee's last name, which prints on reports.Example:
Employee
-
level:
integer
The level of the employee. This value should be between 1-9.Example:
1
-
locale:
object locale
A string that contains translations of locale name for the employee to use in the EMC into multiple languages
-
localeObjNum:
integer
The object number of the locale of the employeeExample:
1
-
objectNum:
integer
Unique reference of the employee in the system.Example:
1
-
payrollId:
string
External payroll ID for the employee.Example:
EMP-01
-
pin:
integer
PIN for the employee.Example:
2222
-
terminationDate:
string
The date the employee was terminated.Format:YYYY-MM-DD. This value is set from Labor Management and cannot be addedExample:
2021-11-21T00:00:00.000Z
-
userName:
string
The login name for the EMC.Example:
empName
Nested Schema : language
Type:
object
A string that contains translations of default language name for the employee on the EMC and the workstation into multiple languages
Example:
{
"en-US":"Spanish",
"de-DE":"Spanisch",
"es-MX":"Espanol"
}
Nested Schema : locale
Type:
object
A string that contains translations of locale name for the employee to use in the EMC into multiple languages
Example:
{
"en-US":"es-Spain",
"de-DE":"es-Spanien",
"es-MX":"es-Espana"
}
Nested Schema : Employee_dataExtensions
Type:
Show Source
object
-
columnName:
string
Name of the extention fieldExample:
extension column 1
-
value:
string
Value of the extention fieldExample:
value 1