Update Employees

post

/config/sim/v1/employees/updateEmployees

Updates the Employee. If Employee is not found is not found, it creates a new Employee.

Request

Supported Media Types
Header Parameters
Body ()
Employee Request Body
Root Schema : EmployeeCURequestBody
Type: object
Show Source
Nested Schema : dataExtensions
Type: array
An array of data extensions for employees
Show Source
Nested Schema : emcVisibility
Type: array
Array of hierarchy units visible to the employee in EMC.
Show Source
Nested Schema : properties
Type: array
Array of properties where the employee is assigned.
Show Source
Nested Schema : roles
Type: array
An array of roles associated with the employee at different hierarchy levels
Show Source
Nested Schema : Employee_dataExtensions
Type: object
Show Source
Nested Schema : Employee_emcVisibility_CUD
Type: object
Show Source
  • Unique reference of the hierarchy unit where the employee EMC visibility is configured
    Example: 3599
  • Boolean flag indicating if the EMC visibility is propagated to child nodes of the hierarchy unit
    Example: true
Nested Schema : Employee_properties_CUD
Type: object
Show Source
  • Object number of the class of the employee at the property.
    Example: 1
  • Flag indicating if employee is in training at the property.
    Example: false
  • The number of minutes that the employee can clock in late without being prompted or requiring authorization.
    Example: 1
  • unique ID number to identify the employee in a Liquor Dispensing System.
    Example: 1
  • operators
    Array of revenue center operators records for the employees
  • A string value of 0s & 1s of length 16 representing the enablement or disablement of the options associated with the employee property assignment.
    Example: 0000000000000000
  • Unique hierarchy unit value associated with the property
    Example: 1
  • Unique hierarchy unit value associated with the RVC.
    Example: 1
Nested Schema : operators
Type: array
Array of revenue center operators records for the employees
Show Source
Nested Schema : Employee_properties_operators_CUD
Type: object
Show Source
Nested Schema : Employee_roles_CUD
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Response Object
Body ()
Root Schema : EmployeeResponse
Type: object
Show Source

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source
Back to Top