Axiomatic

Close Calendar

Period close templates and checklists

Authentication

Requires session cookie (web app) or API key (x-api-key header). All endpoints are tenant-scoped via entityId.

Endpoints

MethodPathDescription
GET/api/close-calendar?entityId=List close templates/tasks
POST/api/close-calendarCreate template or checklist
PATCH/api/close-calendarUpdate task status

List close calendar

GET /api/close-calendar?entityId={entityId}

Returns close templates and tasks for the entity.

{
  "templates": [
    { "id": "tpl_abc", "name": "Month-end close", "tasks": [...] }
  ],
  "tasks": [
    { "id": "task_xyz", "templateId": "tpl_abc", "status": "pending", "dueOffset": 5 }
  ]
}

Create template or checklist

POST /api/close-calendar

Body: { "entityId", "name", "tasks": [{ "name", "dueOffset" }] } for template, or { "entityId", "templateId", "periodId" } for checklist.

Update task status

PATCH /api/close-calendar

Body: { "entityId", "taskId", "status": "pending" | "in_progress" | "complete" }