Skip to content

Calamari Public API (v1)

API for Calamari, your HR tool

Languages
Servers

https://{tenantName}.calamari.io/api/

Absence type

Absence Types API

Operations

Absence requests

Absence Requests API

Operations

Current shift status

Current Shift Status API

Operations

Projects

Projects API

Operations

Shifts and breaks

Shifts and Breaks API

Operations

Timesheet entries

Timesheet entries API

Operations

Working Week

Working Week API

Operations

Get all working weeks.

Request

Get all working weeks.

Security
basicAuth
curl -i -X POST \
  -u <username>:<password> \
  'https://{tenantname}.calamari.io/api/working-week/v1/all'

Responses

successful operation

Bodyapplication/jsonArray [
idinteger(int64)required

Working week id.

Example: 1
namestringrequired

Working week name.

Example: "Full time"
workingDaysArray of objects(WorkingDay)required

Working week days.

workingDays[].​dayNamestringrequired

Working day name.

Enum"MONDAY""TUESDAY""WEDNESDAY""THURSDAY""FRIDAY""SATURDAY""SUNDAY"
Example: "MONDAY"
workingDays[].​isWorkingDaybooleanrequired

Is it working day.

Example: true
workingDays[].​startTimestring(time)required

Start of working time. Pattern: HH:mm:ss.SSS. Has null value when specified day is not working day.

Example: "09:00:00.000"
workingDays[].​finishTimestring(time)required

Finish of working time. Pattern: HH:mm:ss.SSS. Has null value when specified day is not working day.

Example: "13:00:00.000"
workingDays[].​durationinteger(int64)required

Work duration in seconds >= 0 or has null value when specified day is not working day.

Example: 28800
]
Response
application/json
[ { "id": 1, "name": "Full time", "workingDays": [] } ]

Contract types

Contract Types API

Operations

Employees

Employees API

Operations

Holidays

Holidays API

Operations

Positions

Positions API

Operations

Teams

Teams API

Operations

People

Endpoints related to managing people records.

Operations