API Change Log – June 29th 2022 Release
over 2 years ago by Abhay Anumula
Check the API updates for this release.
API End Point | Scenario | Earlier Behavior | New Behavior | API Documentation Link |
---|---|---|---|---|
POST {{api_url}}/v1/employees | New response object added for payroll info. | NA | This API will contain additional attributes (optional parameter) PayoutModel and OverTimeInclude. If custom payroll is enabled the value for both the attributes will be “-1” by default. | Add employee with catalog information |
PUT {api_url}/v1/employees/{employee_id} | New response object added for payroll info. | NA | This API will contain additional attributes (optional parameter) PayoutModel and OverTimeInclude. If custom payroll is enabled the value for both the attributes will be “-1” by default. | Update employee of the center with given catalog details |
GET {api_url}/v1/employees/{employee_id}?expand=payroll_info OR GET {api_url}/v1/employees/{employee_id} | New response object added for payroll info. | NA | This API will contain additional attributes (optional parameter) PayoutModel and OverTimeInclude. If custom payroll is enabled the value for both the attributes will be “-1” by default. | Retrieve employee details with payroll information |