# Submit a week for approval

Team workspaces only. weekStart is YYYY-MM-DD and must be the first day of the caller's week (Monday, or Sunday when that is their preference) and not in the future. A rejected week can be submitted again. A week that is already submitted or approved is 409, and so is a week while a timer started in or before it is still running.

Canonical: https://easerix.com/docs/developers/api/croncrunch/timesheets/submitTimesheet

{/* 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/timesheets/submit","method":"post"}]} />
    </>
  );
}
