v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBCreate program calendar strategy
Create a program calendar strategy.
Program calendar strategies provide new methods of calendar creation. For example, in the FIXED_CYCLE_CLOSING strategy, the cycle_closing_date of the calendar is fixed, but the due date is dynamic. The due date is calculated from the values set in the configuration object.
This endpoint generates a Program calendar strategy created event.
<b>Note:</b> This endpoint cannot be used to create a fixed due date calendar.
Path parameters
Program ID
Headers
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
Example request
{
"configuration": {
"cycle_closing_day": 10,
"days_between_cycle_closing_and_due_date": 5
},
"active": true
}Response
OK
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
}