Requests
This section contains a detailed technical explanation of all the endpoints necessary to manage the information related to requests through the API.
Considerations
The structure of a request in the Orquest API has the following information:
-
employeeId: external identifier of the employee.
-
status: status of the request. The possible values are
REQUESTED,GRANTEDandDENIED. -
type: type of availability that applies to the request. The possible values are
MANDATORY,MAYBEandNON_WORKED. -
from: start date of the request in
yyyy-MM-ddformat. -
to: end date of the request in
yyyy-MM-ddformat. -
fromHour: start time of the request in
HH:mmformat. Refers to local time, that is, the time zone of the service. -
toHour: end time of the request in
HH:mmformat. Refers to local time, that is, the time zone of the service. -
comments: reason or explanation for making the request.
-
recover: type of recovery indicating how the employee’s request could be compensated. The options are
FREE(free day) orNONE.