Discussions

Ask a Question
Back to All

Post (Old) Availability for an employee

I see the "User" field is irrelevant as appearing in the document under PATH PARAMS here: https://platform.humanity.com/reference#post-future-availability

I am using the following call with the USER field in the parameters tab.
But no matter which Employee ID I put under the User field it creates the availability for the employee's ID entered in the URL:
https://www.humanity.com/api/v2/employees/user/availabilities/future
Question: If I have to PUT the employee ID under the API call replacing the USER then what the USER field in the path parameters is for?

Reason: I am trying to change the USER under the path parameters but is not making any difference.https://i.imgur.com/4Cif2sD.png

I need the working examples of the API call for posting and editing the Future and weekly availability in which I can change the ID of the employee in postman under the USER key and it can work.

https://i.imgur.com/oVty3gW.png