# Request time off

Team workspaces only. Opens a pending request for the caller. startDate and endDate are inclusive YYYY-MM-DD, at most a year apart, and between 2000 and 2100. Working days are Monday to Friday excluding holidays. A range with none is 400. Pending days count against the policy, and the range cannot overlap one of the caller's pending or approved requests.

Canonical: https://easerix.com/docs/developers/api/croncrunch/time-off/createTimeOffRequest

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="croncrunch" operations={[{"path":"/v1/time-off/requests","method":"post"}]} />
    </>
  );
}
