API Change Log – June 15th 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
PUT \{\{api\_url}}/v1/ employees /\{\{employee\_id}}/
    POST \{\{api\_url}}/v1
    /employees
    /\{\{employee\_id}}/ 

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

  <td style={{ textAlign: "left" }}>
    Value change for `country_code`\
    inside\
    `work_phone`\
    /`mobile_phone`\
    /`home_phone`\
    objects
  </td>

  <td style={{ textAlign: "left" }}>
    API takes countryFk\
     in request, returns\
    countryFk in response
  </td>

  <td style={{ textAlign: "left" }}>
    Value change for `country_code`\
    inside `work_phone`/\
    `mobile_phone`/\
    `home_phone` objects
  </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" }}>
    \{\{api\_url}}/v1/invoices\
    /\{\{invoice\_id}}/products
  </td>

  <td style={{ textAlign: "left" }}>
    Support for API key\
    for the Product Sale API.
  </td>

  <td style={{ textAlign: "left" }}>
    Earlier, API key was not supported for the\
    Product Sale APIs.
  </td>

  <td style={{ textAlign: "left" }}>
    Now, the Product Sale\
    APIs will support the\
    API key.
  </td>

  <td style={{ textAlign: "left" }}>
    [Add a product to an invoice](https://zenotiapi.readme.io/reference/add-a-product-to-an-invoice)
  </td>
</tr>

<tr>
  <td style={{ textAlign: "left" }}>
    \{\{api\_url}}/v1/rooms\
    /\{\{room\_id}}/blockouttimes
  </td>

  <td style={{ textAlign: "left" }}>
    Support for API Key\
    for the Blockout times\
    API and adding\
    `created_by_id`\
    parameter in\
    request model.
  </td>

  <td style={{ textAlign: "left" }}>
    Earlier, updatedBy was returning null if\
    authenticated using an API Key.
  </td>

  <td style={{ textAlign: "left" }}>
    Now, API Key\
    authentication is\
    mandatory, and\
    updatedBy will return created\_by\_id\
    nfo.
  </td>

  <td style={{ textAlign: "left" }}>
    [Create the blockout time of a room](https://zenotiapi.readme.io/reference/create-the-blockout-time-of-a-room)
  </td>
</tr>