Calabrio

App · 25 actions

Read people, teams and schedules in Calabrio ONE and add absences, absence requests and schedule notes.

Actions

ActionWhat it does
Add full-day absencePut a full-day absence on a person's schedule.
Add part-day absencePut an absence of up to 36 hours on a person's schedule.
Find people by employment numberFind people by their employment numbers.
Get absence requestCheck whether an absence request was approved, denied or is still waiting.
Get personGet one person's details.
Get person's scheduleGet a person's schedule for a range of days.
Get team's scheduleGet the schedules of everyone in a team for a range of days.
List absence balancesList a person's absence balances on a day.
List absencesList the kinds of absence set up in a business unit.
List activitiesList the activities agents can be scheduled for.
List business unitsList the business units your token can work in.
List people in teamList the people in a team on a day.
List rolesList the roles of a business unit.
List scenariosList the schedule scenarios of a business unit.
List schedule changesList the schedules that changed in a time range.
List scheduled absencesList the absences on people's schedules for a range of days.
List sitesList the sites of a business unit.
List skillsList the skills of a business unit.
List teamsList the teams of a business unit, or of one site.
Remove full-day absenceRemove full-day absences from a person's schedule.
Remove part-day absenceRemove part-day absences from a person's schedule in a time range.
Request full-day absenceSend a full-day absence request for a person, to be approved in Calabrio.
Request part-day absenceSend an absence request for part of a day, to be approved in Calabrio.
Set absence balanceAdd or update a person's absence balance from a date.
Set schedule notePut a note on a person's schedule for a day.

Add full-day absence

Put a full-day absence on a person's schedule.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Absenceabsence_idtextRequired
The kind of absence. Use an absence ID from List absences.
Fromstart_datedateRequired
The first day, at most 31 days ago.
Toend_datedateRequired
The last day, at most 18 months ahead.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Add part-day absence

Put an absence of up to 36 hours on a person's schedule.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Absenceabsence_idtextRequired
The kind of absence. Use an absence ID from List absences.
Startsstart_timedate and timeRequired
When it starts, at most 31 days ago. Calabrio reads it in UTC.
Endsend_timedate and timeRequired
When it ends, at most 12 months ahead. Calabrio reads it in UTC.
Make it a full day when it covers oneconvert_to_full_daynumber
Whether Calabrio should turn it into a full-day absence when it can.One of: 0 (No), 1 (Yes).
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Find people by employment number

Find people by their employment numbers.

Inputs

Employment numbersemployment_numberslistRequired
The employment numbers to look for.
Ondatedate
The day to look at. Leave empty for today.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "ContractId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "DisplayName": "Ada Lovelace",
        "Email": "ada@example.com",
        "EmploymentNumber": "10042",
        "EmploymentStartDate": "2024-01-08",
        "FirstDayOfWeek": 1,
        "FirstName": "Ada",
        "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Identity": "ada@example.com",
        "Language": "en-US",
        "LastName": "Lovelace",
        "Note": "Part time",
        "PersonSkills": [
          {
            "Active": true,
            "Proficiency": 1.0,
            "SkillId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "Roles": [
          {
            "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "RoleId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "SiteId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TeamId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TerminationDate": "2027-01-31",
        "TimeZoneId": "Europe/Stockholm",
        "WorkflowControlSetId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
      }
    ]
  }
}

Get absence request

Check whether an absence request was approved, denied or is still waiting.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Requestrequest_idtextRequired
The request's ID, from Request full-day absence or Request part-day absence.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "IsAlreadyAbsent": false,
        "IsApproved": false,
        "IsAutoAproved": false,
        "IsAutoDenied": false,
        "IsCancelled": false,
        "IsDeleted": false,
        "IsDenied": false,
        "IsExpired": false,
        "IsNew": false,
        "IsPending": true,
        "IsWaitlisted": false,
        "Reason": "Not enough staff"
      }
    ]
  }
}

Get person

Get one person's details.

Inputs

Personperson_idtextRequired
The person's ID, from List people in team.
Ondatedate
The day to look at. Leave empty for today.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "ContractId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "DisplayName": "Ada Lovelace",
        "Email": "ada@example.com",
        "EmploymentNumber": "10042",
        "EmploymentStartDate": "2024-01-08",
        "FirstDayOfWeek": 1,
        "FirstName": "Ada",
        "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Identity": "ada@example.com",
        "Language": "en-US",
        "LastName": "Lovelace",
        "Note": "Part time",
        "PersonSkills": [
          {
            "Active": true,
            "Proficiency": 1.0,
            "SkillId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "Roles": [
          {
            "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "RoleId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "SiteId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TeamId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TerminationDate": "2027-01-31",
        "TimeZoneId": "Europe/Stockholm",
        "WorkflowControlSetId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
      }
    ]
  }
}

Get person's schedule

Get a person's schedule for a range of days.

Inputs

Personperson_idtextRequired
The person's ID, from List people in team.
Fromstart_datedateRequired
The first day.
Toend_datedateRequired
The last day.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Date": "2027-03-15",
        "DayOff": {
          "DayOffTemplateId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
          "Name": "Day off"
        },
        "PersonId": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Shift": [
          {
            "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "ActivityId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "DisplayColorHex": "#80FF80",
            "Name": "Phone",
            "Period": {
              "EndTime": "2027-03-15T12:00:00",
              "StartTime": "2027-03-15T08:00:00"
            }
          }
        ],
        "ShiftCategory": {
          "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
          "Name": "Early",
          "ShortName": "EA"
        }
      }
    ]
  }
}

Get team's schedule

Get the schedules of everyone in a team for a range of days.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
TeamteamtextRequired
The team. Use a team ID from List teams.
Fromstart_datedateRequired
The first day.
Toend_datedateRequired
The last day.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Date": "2027-03-15",
        "DayOff": {
          "DayOffTemplateId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
          "Name": "Day off"
        },
        "PersonId": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Shift": [
          {
            "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "ActivityId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "DisplayColorHex": "#80FF80",
            "Name": "Phone",
            "Period": {
              "EndTime": "2027-03-15T12:00:00",
              "StartTime": "2027-03-15T08:00:00"
            }
          }
        ],
        "ShiftCategory": {
          "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
          "Name": "Early",
          "ShortName": "EA"
        }
      }
    ]
  }
}

List absence balances

List a person's absence balances on a day.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
OndatedateRequired
The day to look at.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Accrued": 25,
        "BalanceIn": 5,
        "BalanceOut": 27,
        "Extra": 0,
        "Period": {
          "EndDate": "2027-12-31",
          "StartDate": "2027-01-01"
        },
        "Remaining": 27,
        "TrackedBy": "Days",
        "Used": 3
      }
    ]
  }
}

List absences

List the kinds of absence set up in a business unit.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Include deletedinclude_deletednumber
Whether to include deleted absences.One of: 0 (Active only), 1 (Include deleted).

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Confidential": false,
        "DisplayColor": "#FF8080",
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "InContractTime": true,
        "InPaidTime": true,
        "InWorkTime": false,
        "IsDeleted": false,
        "Name": "Holiday",
        "PayrollCode": "HOL",
        "Requestable": true,
        "ShortName": "HO",
        "TrackerType": "Days"
      }
    ]
  }
}

List activities

List the activities agents can be scheduled for.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Include deletedinclude_deletednumber
Whether to include deleted activities.One of: 0 (Active only), 1 (Include deleted).

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "DisplayColor": "#80FF80",
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "InContractTime": true,
        "InPaidTime": true,
        "InReadyTime": true,
        "InWorkTime": true,
        "IsDeleted": false,
        "Name": "Phone",
        "PayrollCode": "PH",
        "RequiresSkill": true
      }
    ]
  }
}

List business units

List the business units your token can work in.

Inputs

None.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Name": "Customer Service"
      }
    ]
  }
}

List people in team

List the people in a team on a day.

Inputs

TeamteamtextRequired
The team. Use a team ID from List teams.
Ondatedate
The day to look at. Leave empty for today.
Include optional columnsoptional_columnstrue/false
Turn on to add your custom person columns.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "ContractId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "DisplayName": "Ada Lovelace",
        "Email": "ada@example.com",
        "EmploymentNumber": "10042",
        "EmploymentStartDate": "2024-01-08",
        "FirstDayOfWeek": 1,
        "FirstName": "Ada",
        "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Identity": "ada@example.com",
        "Language": "en-US",
        "LastName": "Lovelace",
        "Note": "Part time",
        "PersonSkills": [
          {
            "Active": true,
            "Proficiency": 1.0,
            "SkillId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "Roles": [
          {
            "BusinessUnitId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "RoleId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
          }
        ],
        "SiteId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TeamId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "TerminationDate": "2027-01-31",
        "TimeZoneId": "Europe/Stockholm",
        "WorkflowControlSetId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b"
      }
    ]
  }
}

List roles

List the roles of a business unit.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Name": "Agent"
      }
    ]
  }
}

List scenarios

List the schedule scenarios of a business unit.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "DefaultScenario": true,
        "Description": "Default",
        "EnableReporting": true,
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Restricted": false
      }
    ]
  }
}

List schedule changes

List the schedules that changed in a time range.

Inputs

Changed sincechanges_fromdate and timeRequired
Changes made from this time. Calabrio reads it in UTC.
Changed untilchanges_todate and time
Changes made up to this time. Leave empty for now. Calabrio reads it in UTC.
PagepagenumberRequired
Which page to read, from 1. Use 0 to read everything at once.
Days a pagepage_sizenumber
How many days each page holds.
Business unitbusiness_unit_idtext
Only this business unit. Pick one, or use an ID from List business units.
Days fromstart_datedate
Only schedules on or after this day.
Days toend_datedate
Only schedules on or before this day.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "ChangesUpTo": "2026-12-01T12:00:00",
        "Page": 1,
        "Schedules": [
          {
            "Date": "2027-03-15",
            "DayOff": {
              "DayOffTemplateId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
              "Name": "Day off"
            },
            "PersonId": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
            "Shift": [
              {
                "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
                "ActivityId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
                "DisplayColorHex": "#80FF80",
                "Name": "Phone",
                "Period": {
                  "EndTime": "2027-03-15T12:00:00",
                  "StartTime": "2027-03-15T08:00:00"
                }
              }
            ],
            "ShiftCategory": {
              "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
              "Name": "Early",
              "ShortName": "EA"
            }
          }
        ],
        "TotalPages": 1,
        "TotalSchedules": 1
      }
    ]
  }
}

List scheduled absences

List the absences on people's schedules for a range of days.

Inputs

Peopleperson_idslistRequired
The people's IDs, from List people in team. Calabrio suggests 50 to 100 at a time.
Fromstart_datedateRequired
The first day.
Toend_datedateRequired
The last day.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Date": "2027-03-15",
        "FullDayAbsence": {
          "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
          "Confidential": false,
          "Name": "Holiday"
        },
        "PersonId": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
        "Shift": [
          {
            "AbsenceId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
            "Name": "Doctor",
            "Period": {
              "EndTime": "2027-03-15T10:00:00",
              "StartTime": "2027-03-15T08:00:00"
            }
          }
        ]
      }
    ]
  }
}

List sites

List the sites of a business unit.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Name": "London",
        "ShortName": "LDN",
        "TimeZoneId": "Europe/London"
      }
    ]
  }
}

List skills

List the skills of a business unit.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "ActivityId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Description": "English calls",
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Name": "Phone English",
        "ResolutionMinutes": 15,
        "TimeZoneId": "Europe/London"
      }
    ]
  }
}

List teams

List the teams of a business unit, or of one site.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Message": "OK",
    "Result": [
      {
        "Id": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "Name": "London/Team A",
        "SiteId": "0f1e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b",
        "SiteName": "London",
        "TeamName": "Team A"
      }
    ]
  }
}

Remove full-day absence

Remove full-day absences from a person's schedule.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Fromstart_datedateRequired
The first day.
Toend_datedateRequired
The last day.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Remove part-day absence

Remove part-day absences from a person's schedule in a time range.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Fromstart_timedate and timeRequired
The start of the range. Calabrio reads it in UTC.
Toend_timedate and timeRequired
The end of the range. Calabrio reads it in UTC.
Absencesabsence_idslist
Only these kinds of absence, from List absences. Leave empty for all of them.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Request full-day absence

Send a full-day absence request for a person, to be approved in Calabrio.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Absenceabsence_idtextRequired
The kind of absence. Use an absence ID from List absences.
Fromstart_datedateRequired
The first day.
Toend_datedateRequired
The last day.
SubjectsubjecttextRequired
The request's subject.
MessagemessagetextRequired
The request's message.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Request part-day absence

Send an absence request for part of a day, to be approved in Calabrio.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
Absenceabsence_idtextRequired
The kind of absence. Use an absence ID from List absences.
Startsstart_timedate and timeRequired
When it starts. Calabrio reads it in UTC.
Endsend_timedate and timeRequired
When it ends. Calabrio reads it in UTC.
SubjectsubjecttextRequired
The request's subject.
MessagemessagetextRequired
The request's message.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Set absence balance

Add or update a person's absence balance from a date.

Inputs

Personperson_idtextRequired
The person's ID, from List people in team.
Absenceabsence_idtextRequired
The kind of absence. Use an absence ID from List absences.
Fromdate_fromdateRequired
The day the balance starts.
Balance brought inbalance_innumber
The balance brought in.
Accruedaccruednumber
What is earned in the period.
Extraextranumber
Extra to give.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

Set schedule note

Put a note on a person's schedule for a day.

Inputs

Business unitbusiness_unit_idtextRequired
The business unit to work in. Pick one, or use an ID from List business units.
Personperson_idtextRequired
The person's ID, from List people in team.
DaydatedateRequired
The day.
NotenotetextRequired
The note.
Agent can see itis_publictrue/falseRequired
Turn on to show the note to the agent.
Scenarioscenario_idtext
The schedule scenario. Leave empty for the default scenario, or use an ID from List scenarios.

Outputs

dataobject
The response from Calabrio.
Example output
{
  "data": {
    "Errors": [
      {
        "Message": "The person was not found.",
        "ReasonCode": "NotFound",
        "ReasonSource": "PersonId"
      }
    ],
    "Id": "d9b8a7c4-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
    "Message": "OK"
  }
}

On this page