# Save a week as a template

Stores the week's project and description rows under name. Hours are not stored. name is at most 80 characters and unique for the caller in this workspace, ignoring case. A week with no activities is 400. A submitted or approved week can still be saved, because saving does not change it.

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

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