Copy Pagev1/mcp/preview/update_absencespost https://shyftplan.com/api/v1/mcp/preview/update_absencesBody Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.company_idint32required≥ 1ID of a shyftplan account.absence_idsarray of objectsrequiredabsence_ids*ADD int32absence_reason_idint32≥ 1ID of the absence reason.is_full_daybooleanIs the absence spanning full days only?truetruefalsemanager_informedbooleanWhether the manager was informed directly about the Absence. Null when the absence reason has manager informed setting disabled.truetruefalsenotesstringNote saved with the object.paidbooleanDetermines whether the absence duration is counted as working time. Available options:true: Only retrieve absences that are marked as 'paid' (absence counts as working time).false: Only retrieve unpaid absences.truetruefalserefuse_messagestringNote for the refusal of the absence.starts_atdate-timeDate-time (ISO 8601) for the begin of the object's span.ends_atdate-timeDate-time (ISO 8601) for the end of the object's span.statestringenumDefaults to newState of the absence. Available options:new: Absence application (by manager or employee) on which no decision has been made.accepted: Approved absence (by manager).refused: Application refused by a manager.withdrawn: Application withdrawn by the employee.acceptednewrefusedwithdrawnAllowed:acceptednewrefusedwithdrawnResponse 201created UpdateAbsenceUpdated about 10 hours ago v1/mcp/preview/publish_shiftplanv1/mcp/session_briefingDid this page help you?YesNo