paismo-integration-sdk
v1.0.2
Published
This package is created by Paismo HR. It allows clients to upload timesheets data from their source (Ex. biometric device).
Downloads
6
Maintainers
Readme
This package is created by Paismo HR that allows their clients to upload timesheets (Employees data) to their server.
functions
This package has two functions:
init(client_id, client_secret)
pushData(data)
init(client_id, client_secret)
This functions initializes the package so that the data can be sent to Paismo HR's server. It expects a client_id
and client_secret
.
pushData(data)
This functions sends the given data to Paismo HR's server. It expects the json data in the following format:
[
{
"company_employee_id": "12345",
"start_time": "2023-08-10T09:00:00",
"end_time": "2023-08-10T05:00:00"
},
{
"company_employee_id": "12345",
"start_time": "2023-08-10T09:00:00",
"end_time": "2023-08-10T05:00:00"
},
...
]
If you face any issues or have any queries. You can reach out to us at [email protected] :D.