API Change Log – June 29th 2022 Release

Check the API updates for this release.

  <th style={{ textAlign: "left" }}>
    Scenario
  </th>

  <th style={{ textAlign: "left" }}>
    Earlier Behavior
  </th>

  <th style={{ textAlign: "left" }}>
    New Behavior
  </th>

  <th style={{ textAlign: "left" }}>
    API Documentation Link
  </th>
</tr>
API End Point
POST
    \{\{api\_url}}/v1/employees
  </td>

  <td style={{ textAlign: "left" }}>
    New response object added for payroll info.
  </td>

  <td style={{ textAlign: "left" }}>
    NA
  </td>

  <td style={{ textAlign: "left" }}>
    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.
  </td>

  <td style={{ textAlign: "left" }}>
    [Add employee with catalog information](https://zenotiapi.readme.io/reference/add-employee-with-catalog-information)
  </td>
</tr>

<tr>
  <td style={{ textAlign: "left" }}>
    PUT

    \{api\_url}/v1/employees/\{employee\_id}
  </td>

  <td style={{ textAlign: "left" }}>
    New response object added for payroll info.
  </td>

  <td style={{ textAlign: "left" }}>
    NA
  </td>

  <td style={{ textAlign: "left" }}>
    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.
  </td>

  <td style={{ textAlign: "left" }}>
    [Update employee of the center with given catalog details](https://zenotiapi.readme.io/reference/update-employee-of-the-center-with-given-catalog-details)
  </td>
</tr>

<tr>
  <td style={{ textAlign: "left" }}>
    GET\
    \{api\_url}/v1/employees/\{employee\_id}?expand=payroll\_info

    OR

    GET

    \{api\_url}/v1/employees/\{employee\_id}
  </td>

  <td style={{ textAlign: "left" }}>
    New response object added for payroll info.
  </td>

  <td style={{ textAlign: "left" }}>
    NA
  </td>

  <td style={{ textAlign: "left" }}>
    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.
  </td>

  <td style={{ textAlign: "left" }}>
    [Retrieve employee details with payroll information](https://zenotiapi.readme.io/reference/retrieve-employee-details-with-payroll-information)
  </td>
</tr>