Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
employees
|
JSON string of array of the Employee objects
|
Parameter
|
Type
|
Description
|
Id
|
string
|
Unique external ID of the employee
|
IsSuccess
|
bool
|
Returns true for the successful insert/update or false in terms of failure
|
IsExisting
|
bool
|
Returns true for the existing employee (consequently the update is done) or false for the new (new record is added)
|
Message
|
string
|
Detailed message for the result
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
employeeNotificationManagers
|
JSON string of array of the EmployeeNotificationManagers objects
|
The object consists of the following parameters
|
NotificationManager
9ExternalId
|
string
|
Unique external ID of employee to be set as notification manager. Pass null to remove notification manager from employee
|
NotificationManager
10ExternalId
|
string
|
Unique external ID of employee to be set as notification manager. Pass null to remove notification manager from employee
|
Parameter
|
Type
|
Description
|
Id
|
string
|
Unique external ID of the employee
|
IsSuccess
|
bool
|
Returns true for the successful insert/update or false in terms of failure
|
IsExisting
|
bool
|
Returns true for the existing employee (consequently the update is done) or false
|
Message
|
string
|
Detailed message for the result
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
departments
|
The JSON string of array of Department objects
|
Parameter |
Type |
Description |
Id |
string |
Department Code |
IsSuccess |
bool |
Returns true for the successful insert/update or false in terms of failure |
IsExisting |
bool |
Returns true for the existing department (consequently the update is done) or false for the new (new record is added) |
Message |
string |
Detailed message for the result |
[{"Id":"1","IsSuccess":true,"IsExisting":true,"Message":"Department Updated successfully"},
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
terminalIP
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075
|
Parameter |
Description |
login |
Login for the web service |
password |
Password for the web service |
fromDate |
Date represented as string with format ‘yyyy-MM-dd’ |
toDate |
Date represented as string with format ‘yyyy-MM-dd’ |
employeeExternalId |
Unique external ID of an employee |
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
departmentCode
|
Department code
|
Parameter
|
Type
|
Description
|
ExternalId
|
string
|
Unique external ID of the employee. If employee does not have external ID - employee Code is shown
|
TerminalIP
|
string
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075
|
ScanTime
|
string
|
Date represented as string with format ‘yyyy-MM-dd HH:mm:ss’
|
ReaderType
|
string
|
Represents the way employee was identified. Possible values are:
• Card
• Finger
• Pin
• Common |
Source
|
string
|
Name of the terminal (or ‘Manual” for manually added swipes)
|
Direction
|
string
|
In or Out
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
terminalIP
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075
|
Parameter |
Description |
login |
Login for the web service |
password |
Password for the web service |
fromDate |
Date represented as string with format ‘yyyy-MM-dd’ |
toDate |
Date represented as string with format ‘yyyy-MM-dd’ |
employeeExternalId |
Unique external ID of an employee |
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
departmentCode
|
Department code
|
Parameter
|
Type
|
Description
|
ExternalId
|
string
|
Unique external ID of the employee. If employee does not have external ID - employee Code is shown
|
TerminalIP
|
string
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075
|
ScanTime
|
string
|
Date represented as string with format ‘yyyy-MM-dd HH:mm:ss’
|
ReaderType
|
string
|
Represents the way employee was identified. Possible values are:
• Card
• Finger
• Pin
• Common |
Source
|
string
|
Name of the terminal (or ‘Manual” for manually added swipes)
|
Direction
|
string
|
Start or End
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
Parameter
|
Type
|
Description
|
ExternalId
|
string
|
Unique external ID of the employee. If employee does not have external ID - employee Code is shown
|
EmployeeName
|
string
|
Employee first name and employee last name
|
TerminalIP
|
string
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075. If employee does not have any access control swipes the value will be null
|
TerminalName
|
string
|
Title of terminal entered in Synergy Workforce. If employee does not have any access control swipes the value will be null
|
ScanTime
|
string
|
Date represented as string with format ‘yyyy-MM-dd HH:mm:ss’. If employee does not have any access control swipes the value will be null
|
ReaderName
|
string
|
Title of reader where access control swipe was made. If employee does not have any access control swipes the value will be null
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
Parameter |
Type |
Description |
Code |
string |
Unique external ID of the absence |
Name |
string |
Absence name |
|
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
absences
|
The JSON string of array of Absence objects. Definition of abject is provided in related
|
|
table above
|
Parameter |
Type |
Description |
Id |
string |
Unique code of absence |
IsSuccess |
bool |
Returns true for the successful insert/update or false in terms of failure |
IsExisting |
bool |
Returns true for the existing absence (consequently the update is done) or false for the new (new record is added) |
Message |
string |
Detailed message for the result |
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
externalEmployeeId
|
Unique external ID of an employee
|
Parameter
|
Type
|
Description
|
Date
|
string
|
Date represented as string with format ‘yyyy-MM-dd’
|
EmployeeExternalId
|
string
|
Unique external ID of the employee. If employee does not have external ID - employee Code is shown
|
MorningAbsenceCode
|
string
|
Unique code of absence
|
AfternoonAbsenceCode
|
string
|
Unique code of absence
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
employeeAbsences
|
The JSON string of array of EmployeeAbsence objects. Definition of abject is provided in related table above
|
Parameter
|
Type
|
Description
|
Id
|
string
|
Unique external ID of the employee
|
IsSuccess
|
bool
|
Returns true for the successful insert/update or false in terms of failure
|
IsExisting
|
bool
|
Returns true for the existing absence (consequently the update is done) or false for the new (new record is added)
|
Message
|
string
|
Detailed message for the result
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
employeeExternalId
|
Unique external ID of an employee
|
Parameter |
Description |
login |
Login for the web service |
password |
Password for the web service |
fromDate |
Date represented as string with format ‘yyyy-MM-dd’ |
toDate |
Date represented as string with format ‘yyyy-MM-dd’ |
departmentCode |
Department code |
Parameter
|
Description
|
login
|
Login for the web service
|
password
|
Password for the web service
|
fromDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
toDate
|
Date represented as string with format ‘yyyy-MM-dd’
|
terminalIP
|
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075
|
Parameter |
Type |
Description |
ExternalId |
string |
Unique external ID of the employee. If employee does not have external ID – employee Code is shown |
Date |
string |
Date represented as string with format ‘yyyy-MM-dd’ |
Tip |
decimal |
Tip amount |
TerminalIP |
string |
Terminal IP represented as string with 0-padded octets (xxx.xxx.xxx.xxx) e.g. 081.115.002.075. If added manually, then value is empty |
Source |
string |
Name of the terminal from which tip was added. IF added manually, value holds username added the tip |
TipType |
int |
Type of the tip. 0 – Cash, 1 - Credit |
[{"EmployeeExternalId":"1","Date":"2018-02-01","Tip":10.50000,"TerminalIP":"081.115.002.075","Source":"Synergy device","TipType":0},
{"EmployeeExternalId":"1","Date":"2018-02-02","Tip":19.99000,"TerminalIP":"081.115.002.075","Source":"Synergy device","TipType":0},
{"EmployeeExternalId":"2","Date":"2018-01-07","Tip":11.50000,"TerminalIP":"081.115.002.075","Source":"Synergy device","TipType":1},
{"EmployeeExternalId":"2","Date":"2018-02-16","Tip":9.99000,"TerminalIP":"","Source":"john.smith","TipType":1},
{"EmployeeExternalId":"2","Date":"2018-02-02","Tip":99.99000,"TerminalIP":"","Source":"jane.smith","TipType":0}]