v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Program calendar strategies

Update program calendar strategy

Update a program calendar strategy.

This endpoint generates a Program calendar strategy updated event.

<b>Note:</b> This endpoint cannot be used to update a fixed due date calendar.

patch/v1/programs/{programId}/calendar-strategies/{programCalendarStrategyId}

Path parameters

programIdinteger required
Example:6912345

Program ID

programCalendarStrategyIdinteger required
Example:6912345

Program calendar strategy ID

Headers

x-cidstring
Example:5bb05174-4e80-11ea-b77f-2e728ce88125

The Correlation Identifier field is used to link related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. You can find the x-cid field in the response header of an API endpoint call. If the x-cid value isn't passed, one is automatically generated.

Request body

OR
OR
OR
OR
OR
OR

Example request

{
  "configuration": {
    "cycle_closing_day": 10,
    "days_between_cycle_closing_and_due_date": 5
  },
  "active": true
}

Response

OK

OR
OR
OR
OR
OR
OR

Example response

{
  "program_calendar_strategy_id": 67854322,
  "program_id": 1122,
  "created_at": "2024-09-12T16:46:16.43663522",
  "updated_at": "2024-09-12T16:46:16.43663522",
  "configuration": {
    "cycle_closing_day": 10,
    "days_between_cycle_closing_and_due_date": 5
  },
  "active": true
}