Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or “self”), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.
Balance warnings of the leave ledger. Only in WARN mode, when the vacation exceeds the allowed negative balance; the absence was created anyway. Empty otherwise.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pland Developer Platform","colors":{"primary":"#2563EB","light":"#bfdbfe","dark":"#1E40AF"},"logo":{"light":"https://mintcdn.com/pland/4nF818XuJvdH1X-y/logo/logo-light.png?fit=max\u0026auto=format\u0026n=4nF818XuJvdH1X-y\u0026q=85\u0026s=58e21d630b18eebde27bee10fa752eb3","dark":"https://mintcdn.com/pland/4nF818XuJvdH1X-y/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=4nF818XuJvdH1X-y\u0026q=85\u0026s=426b8f2e17759f6cab27a2049c396092"},"favicon":"https://mintcdn.com/pland/4nF818XuJvdH1X-y/favicon.png?fit=max\u0026auto=format\u0026n=4nF818XuJvdH1X-y\u0026q=85\u0026s=118b9198f497329520268b5f9511ff95","navbar":{"links":[{"href":"mailto:support@pland.app","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://cloud.pland.app/login"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/pland-software","youtube":"https://www.youtube.com/@pland.software"}},"seo":{"indexing":"navigable"},"icons":{"library":"fontawesome"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Roadmap","icon":"road","href":"https://feedback.pland.app/de/roadmap/main"},{"anchor":"Changelog","icon":"bullhorn","href":"https://feedback.pland.app/de/changelog"},{"anchor":"Knowledge Base","icon":"book","href":"https://help.pland.app"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pland","hasAudioNarration":false,"actualSubdomain":"pland","customDomains":["docs.pland.app"],"gitSource":{"type":"gitlab","owner":"common-digital","repo":"pland-docs","projectId":71427967,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e72d094e7057e3148df0","collectionId":"72c63d0c-dc7f-4b3f-8b62-95a30f93a70b","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aee03c755bb8cace6bce8ab","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":79},{"language":"default","tag":"Documents","count":8},{"language":"default","tag":"Users","count":8},{"language":"default","tag":"Tasks","count":7},{"language":"default","tag":"Customers","count":6},{"language":"default","tag":"Objects","count":6},{"language":"default","tag":"Absences","count":5},{"language":"default","tag":"Articles","count":5},{"language":"default","tag":"Equipment","count":5},{"language":"default","tag":"Quality Control","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"stylse.css","content":".nav-tabs-item:nth-child(3)::after{content:\"Coming soon\";display:inline-block;font-size:.65rem;font-weight:700;line-height:1.25;padding:.125rem .25rem;margin-left:.5rem;border-radius:var(--rounded-md, .375rem);background-color:rgb(var(--primary) / .1)}html.light .nav-tabs-item:nth-child(3)::after{color:rgb(var(--primary-dark))}html.dark .nav-tabs-item:nth-child(3)::after{color:rgb(var(--primary-light))}"}],"page":{"pagePath":"api-reference/absences/create","slug":"/api-reference/absences/create","pageMetadata":{"title":"Create Absence","openapi":"POST /absences/","description":"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \"self\"), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.","href":"/api-reference/absences/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or “self”), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Absence","openapi":"POST /absences/","description":"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \"self\"), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.","href":"/api-reference/absences/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Absences"],"summary":"Create new absence","description":"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \"self\"), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.","operationId":"createAbsence","requestBody":"b5aa8560-bc50-438f-9fe3-d28430c0307b","responses":{"201":"b6d2abf5-532b-45c8-9eac-9224c5a951cd","400":"f8a8711f-5c3c-4d91-95f0-27ad1f2f1f53","401":"7571a8dd-6427-4d45-9a63-4651cbcf1a11","403":"9e9c9ecc-df9b-46d3-adc9-9cf0c73c6e1a","409":"bef15e11-ce84-492b-89ef-3cd22981662e","422":"8c7fffe2-0127-49f6-8d0e-8c72c7905663","500":"20974fab-d4a5-46b5-aa1a-3c5a8ec6f6ae"},"security":["c7ce22cf-3be8-4ec7-a2f1-4c2da40233a2","86cc4373-bade-4510-93df-1ee809c8e966"],"method":"post","type":"path","servers":["049f04bf-2709-4eaa-8561-4ab663e714af","c9c1a3f9-30ec-4c06-b6dc-9dac055b68a8"],"path":"/absences/","baseUrlOptions":["https://cloud-api.pland.app/v2","https://beta-api.pland.app/v2"],"title":"Create new absence","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Absence data","required":true,"content":{"application/json":{"schema":{"type":"object","title":"Absence","description":"Absence record for a user, including type, dates, and affected jobs.","properties":{"_id":{"type":"string","description":"Unique identifier for the absence","format":"objectid","uniqueKey":"_id","typeLabel":"string\u003cobjectid>"},"number":{"description":"Unique number of the entity, used for identification","type":"integer","uniqueKey":"number","typeLabel":"integer"},"companyId":{"description":"The ID of the company this entity belongs to","type":"string","format":"objectid","x-internal":true,"uniqueKey":"companyId","typeLabel":"string\u003cobjectid>"},"status":{"type":"object","description":"Status struct for the absence","properties":{"status":{"description":"Current status","type":"integer","uniqueKey":"status.status","typeLabel":"integer"},"createdAt":{"description":"Creation timestamp","type":"string","format":"date-time","uniqueKey":"status.createdAt","typeLabel":"string\u003cdate-time>"},"createdBy":{"description":"User who created this supplier","type":"string","format":"objectid","uniqueKey":"status.createdBy","typeLabel":"string\u003cobjectid>"},"lastModifiedAt":{"description":"Last modification timestamp","type":"string","format":"date-time","uniqueKey":"status.lastModifiedAt","typeLabel":"string\u003cdate-time>"},"lastModifiedBy":{"description":"User who last modified this supplier","type":"string","format":"objectid","uniqueKey":"status.lastModifiedBy","typeLabel":"string\u003cobjectid>"},"agentId":{"oneOf":[{"description":"Agent that created or modified this entity","type":"string","format":"objectid","uniqueKey":"status.agentId.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"Agent that created or modified this entity","type":"null","format":"objectid","uniqueKey":"status.agentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"status.agentId","typeLabel":"string\u003cobjectid> | null"},"assistantId":{"oneOf":[{"description":"Text assistant that created or modified this entity on behalf of a user","type":"string","format":"objectid","uniqueKey":"status.assistantId.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"Text assistant that created or modified this entity on behalf of a user","type":"null","format":"objectid","uniqueKey":"status.assistantId.oneOf.1","typeLabel":"null"}],"uniqueKey":"status.assistantId","typeLabel":"string\u003cobjectid> | null"}},"uniqueKey":"status","typeLabel":"object"},"chatId":{"oneOf":[{"description":"ID of the chat associated with this entity","type":"string","format":"objectid","uniqueKey":"chatId.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"ID of the chat associated with this entity","type":"null","format":"objectid","uniqueKey":"chatId.oneOf.1","typeLabel":"null"}],"uniqueKey":"chatId","typeLabel":"string\u003cobjectid> | null"},"userId":{"description":"User ID for whom the absence is recorded","type":"string","format":"objectid","uniqueKey":"userId","typeLabel":"string\u003cobjectid>"},"type":{"description":"Absence type (e.g., illness, vacation, unpaid leave)","type":"integer","uniqueKey":"type","typeLabel":"integer"},"payTypeAbsenceId":{"oneOf":[{"description":"Pay type absence ID","type":"string","format":"objectid","uniqueKey":"payTypeAbsenceId.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"Pay type absence ID","type":"null","format":"objectid","uniqueKey":"payTypeAbsenceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"payTypeAbsenceId","typeLabel":"string\u003cobjectid> | null"},"calculationType":{"oneOf":[{"description":"Calculation type for the absence","type":"string","uniqueKey":"calculationType.oneOf.0","typeLabel":"string"},{"description":"Calculation type for the absence","type":"null","uniqueKey":"calculationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"calculationType","typeLabel":"string | null"},"desc":{"oneOf":[{"description":"Description or comment for the absence","type":"string","uniqueKey":"desc.oneOf.0","typeLabel":"string"},{"description":"Description or comment for the absence","type":"null","uniqueKey":"desc.oneOf.1","typeLabel":"null"}],"uniqueKey":"desc","typeLabel":"string | null"},"dtStart":{"description":"Start date/time of the absence","type":"string","format":"date-time","uniqueKey":"dtStart","typeLabel":"string\u003cdate-time>"},"dtEnd":{"description":"End date/time of the absence","type":"string","format":"date-time","uniqueKey":"dtEnd","typeLabel":"string\u003cdate-time>"},"daysAbsent":{"description":"Number of days absent. Server output for SHADOW and LEDGER. For LEGACY a client value stays authoritative.","type":"number","format":"float","uniqueKey":"daysAbsent","typeLabel":"number\u003cfloat>"},"startHalf":{"description":"Count only the second half of the first day","type":"boolean","uniqueKey":"startHalf","typeLabel":"boolean"},"endHalf":{"description":"Count only the first half of the last day","type":"boolean","uniqueKey":"endHalf","typeLabel":"boolean"},"days":{"description":"Counted day list. Each item has date, amount (1, 0.5 or 0), reason and optional holidayName and override.","type":"array","items":{"type":"object","uniqueKey":"days.items.[INDEX]","typeLabel":"object"},"uniqueKey":"days","typeLabel":"object[]"},"dayCountMismatch":{"oneOf":[{"description":"Set when a legacy client sent a daysAbsent that differs from the server count","type":"object","uniqueKey":"dayCountMismatch.oneOf.0","typeLabel":"object"},{"description":"Set when a legacy client sent a daysAbsent that differs from the server count","type":"null","uniqueKey":"dayCountMismatch.oneOf.1","typeLabel":"null"}],"uniqueKey":"dayCountMismatch","typeLabel":"object | null"},"fullDay":{"description":"Whether the absence is for a full day","type":"boolean","uniqueKey":"fullDay","typeLabel":"boolean"},"approvedBy":{"oneOf":[{"description":"User ID who approved the absence","type":"string","format":"objectid","uniqueKey":"approvedBy.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"User ID who approved the absence","type":"null","format":"objectid","uniqueKey":"approvedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"approvedBy","typeLabel":"string\u003cobjectid> | null"},"declinedBy":{"oneOf":[{"description":"User ID who declined the absence","type":"string","format":"objectid","uniqueKey":"declinedBy.oneOf.0","typeLabel":"string\u003cobjectid>"},{"description":"User ID who declined the absence","type":"null","format":"objectid","uniqueKey":"declinedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"declinedBy","typeLabel":"string\u003cobjectid> | null"},"affectedJobs":{"description":"List of job IDs affected by this absence","type":"array","items":{"type":"string","format":"objectid","uniqueKey":"affectedJobs.items.[INDEX]","typeLabel":"string\u003cobjectid>"},"uniqueKey":"affectedJobs","typeLabel":"string\u003cobjectid>[]"},"isAssigned":{"description":"Whether all replacement jobs are assigned","type":"boolean","uniqueKey":"isAssigned","typeLabel":"boolean"},"attachments":{"description":"Attachment IDs or file references","type":"array","items":{"type":"string","uniqueKey":"attachments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"attachments","typeLabel":"string[]"},"imageIds":{"description":"Image IDs associated with the absence","type":"array","items":{"type":"string","uniqueKey":"imageIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"imageIds","typeLabel":"string[]"},"objectManagerIds":{"description":"IDs of object managers","type":"array","items":{"type":"string","format":"objectid","uniqueKey":"objectManagerIds.items.[INDEX]","typeLabel":"string\u003cobjectid>"},"uniqueKey":"objectManagerIds","typeLabel":"string\u003cobjectid>[]"},"declineComment":{"oneOf":[{"description":"Comment for declined absence","type":"string","uniqueKey":"declineComment.oneOf.0","typeLabel":"string"},{"description":"Comment for declined absence","type":"null","uniqueKey":"declineComment.oneOf.1","typeLabel":"null"}],"uniqueKey":"declineComment","typeLabel":"string | null"},"sendEmailToCustomer":{"description":"Whether to send an email to the customer","type":"boolean","uniqueKey":"sendEmailToCustomer","typeLabel":"boolean"},"affectedObjectIds":{"description":"IDs of affected objects","type":"array","items":{"type":"string","format":"objectid","uniqueKey":"affectedObjectIds.items.[INDEX]","typeLabel":"string\u003cobjectid>"},"uniqueKey":"affectedObjectIds","typeLabel":"string\u003cobjectid>[]"},"absencePaidTimeArray":{"description":"Paid time for each day of the absence","type":"array","items":{"type":"object","uniqueKey":"absencePaidTimeArray.items.[INDEX]","typeLabel":"object"},"uniqueKey":"absencePaidTimeArray","typeLabel":"object[]"},"replacements":{"description":"Replacement assignments for the absence","type":"array","items":{"type":"object","uniqueKey":"replacements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"replacements","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"Absence · object"},"examples":{"Example":{"title":"Example","value":{"_id":"\u003cstring>","number":123,"companyId":"\u003cstring>","status":{"status":123,"createdAt":"2023-11-07T05:31:56Z","createdBy":"\u003cstring>","lastModifiedAt":"2023-11-07T05:31:56Z","lastModifiedBy":"\u003cstring>","agentId":"\u003cstring>","assistantId":"\u003cstring>"},"chatId":"\u003cstring>","userId":"\u003cstring>","type":123,"payTypeAbsenceId":"\u003cstring>","calculationType":"\u003cstring>","desc":"\u003cstring>","dtStart":"2023-11-07T05:31:56Z","dtEnd":"2023-11-07T05:31:56Z","daysAbsent":123,"startHalf":true,"endHalf":true,"days":[{}],"dayCountMismatch":{},"fullDay":true,"approvedBy":"\u003cstring>","declinedBy":"\u003cstring>","affectedJobs":["\u003cstring>"],"isAssigned":true,"attachments":["\u003cstring>"],"imageIds":["\u003cstring>"],"objectManagerIds":["\u003cstring>"],"declineComment":"\u003cstring>","sendEmailToCustomer":true,"affectedObjectIds":["\u003cstring>"],"absencePaidTimeArray":[{}],"replacements":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b6d2abf5-532b-45c8-9eac-9224c5a951cd":{"description":"Absence created successfully","content":{"application/json":{"schema":{"properties":{"absenceId":{"description":"ID of the created absence. When the absence crosses a year break, this is the id of the first part.","type":"string","format":"objectid","uniqueKey":"absenceId","typeLabel":"string\u003cobjectid>"},"absenceIds":{"description":"IDs of every created absence. Holds more than one entry when the absence was split at a year break.","type":"array","items":{"type":"string","format":"objectid","uniqueKey":"absenceIds.items.[INDEX]","typeLabel":"string\u003cobjectid>"},"uniqueKey":"absenceIds","typeLabel":"string\u003cobjectid>[]"},"warnings":{"description":"Balance warnings of the leave ledger. Only in WARN mode, when the vacation exceeds the allowed negative balance; the absence was created anyway. Empty otherwise.","type":"array","items":{"properties":{"code":{"type":"string","example":"NEGATIVE_LIMIT_EXCEEDED","uniqueKey":"warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"}},"type":"object","uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"warnings","typeLabel":"object[]"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"absenceId":"\u003cstring>","absenceIds":["\u003cstring>"],"warnings":[{"code":"NEGATIVE_LIMIT_EXCEEDED","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f8a8711f-5c3c-4d91-95f0-27ad1f2f1f53":{"description":"Invalid input data or missing required fields","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7571a8dd-6427-4d45-9a63-4651cbcf1a11":{"description":"Unauthorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"9e9c9ecc-df9b-46d3-adc9-9cf0c73c6e1a":{"description":"Forbidden, data.code ABSENCE_USER_FORBIDDEN (userId of another employee without rights), ABSENCE_TYPE_NOT_REQUESTABLE or LEAVE_OVERRIDE_FORBIDDEN","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"bef15e11-ce84-492b-89ef-3cd22981662e":{"description":"Absence already exists in this time frame, or data.code VACATION_OVERLAP: an illness overlaps an approved vacation and was not split. data.preview holds the split plan: overlap, allowed, code, credited [{date, amount}] (only days with an open consume, the days that will really be credited), creditedDays, certificateRequired (true for CH: splitVacation then needs certificateProvided, otherwise 422), pieces [{from, to, keepsOriginalId}] and illness {from, to}. Resend with splitVacation and certificateProvided to split.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"8c7fffe2-0127-49f6-8d0e-8c72c7905663":{"description":"data.code ILLNESS_BELOW_THRESHOLD: the illness does not meet the country threshold for a split (AT: up to three calendar days; CH: splitVacation without certificateProvided)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"20974fab-d4a5-46b5-aa1a-3c5a8ec6f6ae":{"description":"Error creating absence","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"c7ce22cf-3be8-4ec7-a2f1-4c2da40233a2":{"API-Key":{"type":"apiKey","name":"x-API-Key","in":"header","scopes":[],"schemeName":"API-Key"}},"86cc4373-bade-4510-93df-1ee809c8e966":{"Bearer-Auth":{"type":"http","bearerFormat":"JWT","scheme":"bearer","scopes":[],"schemeName":"Bearer-Auth"}}},"servers":{"049f04bf-2709-4eaa-8561-4ab663e714af":{"url":"https://cloud-api.pland.app/v2","description":"Production Server"},"c9c1a3f9-30ec-4c06-b6dc-9dac055b68a8":{"url":"https://beta-api.pland.app/v2","description":"Sandbox Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"x-API-Key","in":"header","scopes":[],"schemeName":"API-Key"},"schema":{"title":"x-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"API-Key","name":"x-API-Key"}],"title":"API-Key"},{"schemes":[{"scheme":{"type":"http","bearerFormat":"JWT","scheme":"bearer","scopes":[],"schemeName":"Bearer-Auth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer-Auth","name":"Authorization"}],"title":"Bearer-Auth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"pland","siteName":"Pland Developer Platform","title":"Create Absence - Pland Developer Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T16:44:30.498Z","originalFileLocation":"api-reference/absences/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \u0026quot;self\u0026quot;), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pland Developer Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Absence - Pland Developer Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \u0026quot;self\u0026quot;), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pland Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pland.app/api-reference/absences/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pland.mintlify.site/_mintlify/api/og/v2?division=Absences\u0026amp;title=Create+Absence\u0026amp;description=Create+a+new+absence+record+for+a+user.+Requires+dtStart+and+dtEnd+dates.+If+no+userId+is+provided+%28or+%22self%22%29%2C+creates+absence+for+the+authenticated+user.+Anot\u0026amp;theme=79a9502ef2604cadbd145a60\u0026amp;signature=23ecf274fcdc588fd9b2393e87a26be81677b21d04e0c80ed6212d39ea0d522c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Absence - Pland Developer Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \u0026quot;self\u0026quot;), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pland.mintlify.site/_mintlify/api/og/v2?division=Absences\u0026amp;title=Create+Absence\u0026amp;description=Create+a+new+absence+record+for+a+user.+Requires+dtStart+and+dtEnd+dates.+If+no+userId+is+provided+%28or+%22self%22%29%2C+creates+absence+for+the+authenticated+user.+Anot\u0026amp;theme=79a9502ef2604cadbd145a60\u0026amp;signature=23ecf274fcdc588fd9b2393e87a26be81677b21d04e0c80ed6212d39ea0d522c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pland/T_oVkU3Prt9hFyNK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pland Developer Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pland.app/api-reference/absences/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/absences/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pland.app/#organization\",\"name\":\"Pland Developer Platform\",\"url\":\"https://docs.pland.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pland/4nF818XuJvdH1X-y/logo/logo-light.png?fit=max\u0026auto=format\u0026n=4nF818XuJvdH1X-y\u0026q=85\u0026s=58e21d630b18eebde27bee10fa752eb3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pland.app#website\",\"name\":\"Pland Developer Platform\",\"url\":\"https://docs.pland.app\",\"publisher\":{\"@id\":\"https://docs.pland.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pland.app/api-reference/absences/create#webpage\",\"url\":\"https://docs.pland.app/api-reference/absences/create\",\"name\":\"Create Absence\",\"description\":\"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \\\"self\\\"), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\",\"dateModified\":\"2026-11-06T16:44:30.498Z\",\"isPartOf\":{\"@id\":\"https://docs.pland.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pland.app/api-reference/absences/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pland.app/api-reference/absences/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Absences\",\"item\":\"https://docs.pland.app/api-reference/absences/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Absence\",\"item\":\"https://docs.pland.app/api-reference/absences/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pland.app/api-reference/absences/create#apireference\",\"headline\":\"Create Absence\",\"name\":\"Create Absence\",\"description\":\"Create a new absence record for a user. Requires dtStart and dtEnd dates. If no userId is provided (or \\\"self\\\"), creates absence for the authenticated user. Another userId needs an admin or Absence CREATE/UPDATE rights, otherwise 403 ABSENCE_USER_FORBIDDEN. A non-admin creating an absence for themselves may only use absence types with requestable true, otherwise 403 ABSENCE_TYPE_NOT_REQUESTABLE. An illness type (isIllness) sent only as payTypeAbsenceId is stored with type 1 and splits an overlapped approved vacation like type 1. Illnesses are not approved automatically.\",\"url\":\"https://docs.pland.app/api-reference/absences/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pland.app/api-reference/absences/create#webpage\"},\"dateModified\":\"2026-11-06T16:44:30.498Z\",\"publisher\":{\"@id\":\"https://docs.pland.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pland.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pland Developer Platform\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pland Developer Platform","nav":{"global":{"anchors":[{"anchor":"Roadmap","icon":"road","href":"https://feedback.pland.app/de/roadmap/main"},{"anchor":"Changelog","icon":"bullhorn","href":"https://feedback.pland.app/de/changelog"},{"anchor":"Knowledge Base","icon":"book","href":"https://help.pland.app"}]},"tabs":[{"tab":"Introduction","hidden":false,"pages":[{"title":"Introduction","href":""}]},{"tab":"API Reference","hidden":false,"groups":[{"group":"Getting Started","pages":[{"title":"Authentication","href":"/api-reference/getting-started/authentication"},{"title":"Pagination","href":"/api-reference/getting-started/pagination"},{"title":"Sorting","href":"/api-reference/getting-started/sorting"}]},{"group":"Users","pages":[{"title":"List Users","openapi":"GET /users/","href":"/api-reference/users/list"},{"title":"Get User","openapi":"GET /users/{id}","href":"/api-reference/users/get"},{"title":"Get User by Number","openapi":"GET /users/{userNumber}/byNumber","href":"/api-reference/users/get-by-number"},{"title":"Get Last Number","openapi":"GET /users/lastNumber","href":"/api-reference/users/get-last-number"},{"title":"Create User","openapi":"POST /users/","href":"/api-reference/users/create"},{"title":"Delete User","openapi":"DELETE /users/{id}","href":"/api-reference/users/delete"},{"title":"Update User","openapi":"PATCH /users/{id}","href":"/api-reference/users/update"},{"title":"Send Invite SMS to User","openapi":"POST /users/{id}/generatePassword","href":"/api-reference/users/send-invite-sms"}]},{"group":"Salaries","pages":[{"title":"List Salaries","openapi":"GET /salaries/","href":"/api-reference/salaries/list"},{"title":"Export Salary Rows","openapi":"POST /salaries/exportSalaryRows","href":"/api-reference/salaries/export-rows"}]},{"group":"Jobs","pages":[{"title":"List Open Jobs","openapi":"GET /jobs/notAssigned","href":"/api-reference/jobs/list-open"},{"title":"List Jobs in Timeframe","openapi":"POST /jobs/jobsInTimeFrame","href":"/api-reference/jobs/list-in-timeframe"},{"title":"Update a Job","openapi":"PATCH /jobs/{id}/v2","href":"/api-reference/jobs/update"}]},{"group":"Time Tracking","pages":[{"title":"List Time Trackings","openapi":"GET /timetracking/list","href":"/api-reference/time-tracking/list"}]},{"group":"Objects","pages":[{"title":"List Objects","openapi":"GET /objects/","href":"/api-reference/objects/list"},{"title":"Get Object","openapi":"GET /objects/{id}","href":"/api-reference/objects/get"},{"title":"Get Object by Number","openapi":"GET /objects/{objectNumber}/byNumber","href":"/api-reference/objects/get-by-number"},{"title":"Get Last Number","openapi":"GET /objects/lastNumber","href":"/api-reference/objects/get-last-number"},{"title":"Create Object","openapi":"POST /objects/","href":"/api-reference/objects/create"},{"title":"Update Object","openapi":"PATCH /objects/{id}","href":"/api-reference/objects/update"}]},{"group":"Customers","pages":[{"title":"List Customers","openapi":"GET /customers/","href":"/api-reference/customers/list"},{"title":"Get Customer","openapi":"GET /customers/{id}","href":"/api-reference/customers/get"},{"title":"Get Last Customer Number","openapi":"GET /customers/lastNumber","href":"/api-reference/customers/get-last-number"},{"title":"Create Customer","openapi":"POST /customers/","href":"/api-reference/customers/create"},{"title":"Update Customer","openapi":"PATCH /customers/{id}","href":"/api-reference/customers/update"},{"title":"Batch Update Customers","openapi":"PATCH /customers/many","href":"/api-reference/customers/batch-update"}]},{"group":"Equipment","pages":[{"title":"List Equipment","openapi":"GET /equipment/","href":"/api-reference/equipment/list"},{"title":"Get Equipment","openapi":"GET /equipment/{id}","href":"/api-reference/equipment/get"},{"title":"Create Equipment","openapi":"POST /equipment/","href":"/api-reference/equipment/create"},{"title":"Update Equipment","openapi":"PATCH /equipment/{id}","href":"/api-reference/equipment/update"},{"title":"Batch Update Equipment","openapi":"PATCH /equipment/many","href":"/api-reference/equipment/batch-update"}]},{"group":"Articles","pages":[{"title":"List Articles","openapi":"GET /articles/","href":"/api-reference/articles/list"},{"title":"Get Article","openapi":"GET /articles/{id}","href":"/api-reference/articles/get"},{"title":"Get Last Number","openapi":"GET /articles/lastNumber","href":"/api-reference/articles/get-last-number"},{"title":"Create Article","openapi":"POST /articles/","href":"/api-reference/articles/create"},{"title":"Update Article","openapi":"PATCH /articles/{id}","href":"/api-reference/articles/update"}]},{"group":"Tasks","pages":[{"title":"List Tasks","openapi":"GET /tasks/","href":"/api-reference/tasks/list"},{"title":"Get Task","openapi":"GET /tasks/{id}","href":"/api-reference/tasks/get"},{"title":"Complete Task","openapi":"POST /tasks/{id}/complete","href":"/api-reference/tasks/complete"},{"title":"Create Task","openapi":"POST /tasks/","href":"/api-reference/tasks/create"},{"title":"Update Task","openapi":"PATCH /tasks/{id}","href":"/api-reference/tasks/update"},{"title":"Delete Tasks","openapi":"POST /tasks/delete","href":"/api-reference/tasks/delete"},{"title":"Task forms","openapi":"GET /tasks/{id}/forms","href":"/api-reference/tasks/get-task-forms"}]},{"group":"Task Types","pages":[{"title":"List Task Types","openapi":"GET /taskTypes/","href":"/api-reference/task-types/list"},{"title":"Get Task Type","openapi":"GET /taskTypes/{id}","href":"/api-reference/task-types/get"},{"title":"Create Task Type","openapi":"POST /taskTypes/","href":"/api-reference/task-types/create"},{"title":"Update Task Type","openapi":"PATCH /taskTypes/{id}","href":"/api-reference/task-types/update"},{"title":"Delete Task Type","openapi":"DELETE /taskTypes/{id}","href":"/api-reference/task-types/delete"}]},{"group":"Absences","pages":[{"title":"List Absences","openapi":"GET /absences/","href":"/api-reference/absences/list"},{"title":"Get Absence","openapi":"GET /absences/{id}","description":"Get a specific absence by its ID","href":"/api-reference/absences/get"},{"title":"Create Absence","openapi":"POST /absences/","href":"/api-reference/absences/create"},{"title":"Update Absence","openapi":"PATCH /absences/{id}","description":"Update an existing absence record with new data. Only provided fields will be updated.","href":"/api-reference/absences/update"},{"title":"List Personal Absences","openapi":"GET /absences/self","href":"/api-reference/absences/list-self"}]},{"group":"Material Orders","pages":[{"title":"List Material Orders","openapi":"GET /orders/","href":"/api-reference/material-orders/list"},{"title":"Get Material Order","openapi":"GET /orders/{id}","href":"/api-reference/material-orders/get"},{"title":"Create Material Order","openapi":"POST /objects/{objectId}/order","href":"/api-reference/material-orders/create"},{"title":"Update Material Order","openapi":"PATCH /orders/{id}","href":"/api-reference/material-orders/update"}]},{"group":"Quality Control","pages":[{"title":"List Quality Controls","openapi":"GET /qualityControl/","href":"/api-reference/quality-control/list"},{"title":"Get Quality Control","openapi":"GET /qualityControl/{id}","href":"/api-reference/quality-control/get"},{"title":"Create Quality Control","openapi":"POST /qualityControl/","href":"/api-reference/quality-control/create"},{"title":"List Quality Control by Object","openapi":"GET /qualityControl/object/{objectId}","href":"/api-reference/quality-control/list-by-object"},{"title":"List Quality Control by Object Manager","openapi":"GET /qualityControl/objectManager/{id}","href":"/api-reference/quality-control/list-by-object-manager"}]},{"group":"Documents","pages":[{"title":"List Documents","openapi":"GET /documents/","href":"/api-reference/documents/list"},{"title":"Get Document","openapi":"GET /documents/{id}","href":"/api-reference/documents/get"},{"title":"Upload Documents","openapi":"POST /documents/","href":"/api-reference/documents/create"},{"title":"Update Document","openapi":"PATCH /documents/{id}","href":"/api-reference/documents/update"},{"title":"Delete Document","openapi":"DELETE /documents/{id}","href":"/api-reference/documents/delete"},{"title":"List Documents for Entity","openapi":"GET /{entity}/{id}/documents","href":"/api-reference/documents/list-by-entity"},{"title":"Create Document from URL","openapi":"POST /documents/withUrl","href":"/api-reference/documents/create-from-url"},{"title":"Get document tags","openapi":"GET /documents/tags","href":"/api-reference/documents/get-document-tags"}]},{"group":"Logbuch","pages":[{"title":"Send Message","openapi":"POST /chat/v2/{id}/send","href":"/api-reference/logbuch/send-message"},{"title":"Send Note","openapi":"POST /chat/v2/{id}/sendNote","href":"/api-reference/logbuch/send-note"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"GET /integrations/webhooks/","href":"/api-reference/webhooks/list"},{"title":"Create Webhook","openapi":"POST /integrations/webhooks/","href":"/api-reference/webhooks/create"},{"title":"Update Webhook","openapi":"PATCH /integrations/webhooks/{id}","href":"/api-reference/webhooks/update"},{"title":"Delete Webhook","openapi":"DELETE /integrations/webhooks/{id}","href":"/api-reference/webhooks/delete"}]}]},{"tab":"Guides"}]},"basePath":"","title":"Create Absence - Pland Developer Platform","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}