Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Work Calendar → Insert/Update

AI-generated

Summary

Insert or update a Work Calendar in Acumatica by specifying its ID, description, time zone, weekly calendar settings including start/end times and unpaid breaks for each weekday, and defining multiple calendar exceptions with specific dates, work days, and times.

Inputs

  • Work Calendar ID — The unique identifier for the work calendar to insert or update.
  • Description — A text description of the work calendar.
  • Time Zone — The time zone associated with the work calendar.
  • Calendar Settings — Settings for each weekday (Monday through Sunday) indicating whether it is a work day, the start and end times, and unpaid break time.
  • Calendar Exceptions — A collection of calendar exceptions specifying dates or days of week with details such as description, start/end times, unpaid break time, and whether the day is a work day.

Output shape

a single record representing the inserted or updated Work Calendar resource.

Returned data contains details of the Work Calendar as accepted by the Acumatica API after the insert or update operation. Inputs marked optional may be omitted if not updating those fields. Operation performs an upsert based on presence and value of Work Calendar ID.

Examples

Example 1: Update existing calendar

Provide the existing Work Calendar ID, modify calendar settings and exceptions to update the calendar's schedule.

Example 2: Insert new calendar

Omit the Work Calendar ID, specify new calendar settings and exceptions to create a new Work Calendar record.

Links

Discussion