# Batch upsert dates to a calendar `BatchUpsertDatesForCalendar` `POST /api/calendars/generic/{scope}/{code}/dates/$batchUpsert` - [OpenAPI fragment](https://www.lusid.com/docs/api/lusid/endpoints/calendars/BatchUpsertDatesForCalendar.json) - [Rendered page](https://www.lusid.com/docs/api/lusid/endpoints/calendars/BatchUpsertDatesForCalendar) Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. ## Referenced schemas - [CreateDateRequest](https://www.lusid.com/docs/api/lusid/schemas/CreateDateRequest.txt) - [BatchUpsertDatesForCalendarResponse](https://www.lusid.com/docs/api/lusid/schemas/BatchUpsertDatesForCalendarResponse.txt) [< Calendars](https://www.lusid.com/docs/api/lusid/endpoints/calendars/llms.txt)