Calabrio
App · 25 actions
Read people, teams and schedules in Calabrio ONE and add absences, absence requests and schedule notes.
Actions
| Action | What it does |
|---|---|
| Add full-day absence | Put a full-day absence on a person's schedule. |
| Add part-day absence | Put an absence of up to 36 hours on a person's schedule. |
| Find people by employment number | Find people by their employment numbers. |
| Get absence request | Check whether an absence request was approved, denied or is still waiting. |
| Get person | Get one person's details. |
| Get person's schedule | Get a person's schedule for a range of days. |
| Get team's schedule | Get the schedules of everyone in a team for a range of days. |
| List absence balances | List a person's absence balances on a day. |
| List absences | List the kinds of absence set up in a business unit. |
| List activities | List the activities agents can be scheduled for. |
| List business units | List the business units your token can work in. |
| List people in team | List the people in a team on a day. |
| List roles | List the roles of a business unit. |
| List scenarios | List the schedule scenarios of a business unit. |
| List schedule changes | List the schedules that changed in a time range. |
| List scheduled absences | List the absences on people's schedules for a range of days. |
| List sites | List the sites of a business unit. |
| List skills | List the skills of a business unit. |
| List teams | List the teams of a business unit, or of one site. |
| Remove full-day absence | Remove full-day absences from a person's schedule. |
| Remove part-day absence | Remove part-day absences from a person's schedule in a time range. |
| Request full-day absence | Send a full-day absence request for a person, to be approved in Calabrio. |
| Request part-day absence | Send an absence request for part of a day, to be approved in Calabrio. |
| Set absence balance | Add or update a person's absence balance from a date. |
| Set schedule note | Put 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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- Absence
absence_idtextRequired - The kind of absence. Use an absence ID from List absences.
- From
start_datedateRequired - The first day, at most 31 days ago.
- To
end_datedateRequired - The last day, at most 18 months ahead.
- Scenario
scenario_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- Absence
absence_idtextRequired - The kind of absence. Use an absence ID from List absences.
- Starts
start_timedate and timeRequired - When it starts, at most 31 days ago. Calabrio reads it in UTC.
- Ends
end_timedate and timeRequired - When it ends, at most 12 months ahead. Calabrio reads it in UTC.
- Make it a full day when it covers one
convert_to_full_daynumber - Whether Calabrio should turn it into a full-day absence when it can.One of:
0(No),1(Yes). - Scenario
scenario_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 numbers
employment_numberslistRequired - The employment numbers to look for.
- On
datedate - 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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Request
request_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
- Person
person_idtextRequired - The person's ID, from List people in team.
- On
datedate - 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
- Person
person_idtextRequired - The person's ID, from List people in team.
- From
start_datedateRequired - The first day.
- To
end_datedateRequired - The last day.
- Scenario
scenario_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Team
teamtextRequired - The team. Use a team ID from List teams.
- From
start_datedateRequired - The first day.
- To
end_datedateRequired - The last day.
- Scenario
scenario_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- On
datedateRequired - 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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Include deleted
include_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Include deleted
include_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
- Team
teamtextRequired - The team. Use a team ID from List teams.
- On
datedate - The day to look at. Leave empty for today.
- Include optional columns
optional_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 unit
business_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 unit
business_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 since
changes_fromdate and timeRequired - Changes made from this time. Calabrio reads it in UTC.
- Changed until
changes_todate and time - Changes made up to this time. Leave empty for now. Calabrio reads it in UTC.
- Page
pagenumberRequired - Which page to read, from 1. Use 0 to read everything at once.
- Days a page
page_sizenumber - How many days each page holds.
- Business unit
business_unit_idtext - Only this business unit. Pick one, or use an ID from List business units.
- Days from
start_datedate - Only schedules on or after this day.
- Days to
end_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
- People
person_idslistRequired - The people's IDs, from List people in team. Calabrio suggests 50 to 100 at a time.
- From
start_datedateRequired - The first day.
- To
end_datedateRequired - The last day.
- Scenario
scenario_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 unit
business_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 unit
business_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 unit
business_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- From
start_datedateRequired - The first day.
- To
end_datedateRequired - The last day.
- Scenario
scenario_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- From
start_timedate and timeRequired - The start of the range. Calabrio reads it in UTC.
- To
end_timedate and timeRequired - The end of the range. Calabrio reads it in UTC.
- Absences
absence_idslist - Only these kinds of absence, from List absences. Leave empty for all of them.
- Scenario
scenario_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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- Absence
absence_idtextRequired - The kind of absence. Use an absence ID from List absences.
- From
start_datedateRequired - The first day.
- To
end_datedateRequired - The last day.
- Subject
subjecttextRequired - The request's subject.
- Message
messagetextRequired - 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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- Absence
absence_idtextRequired - The kind of absence. Use an absence ID from List absences.
- Starts
start_timedate and timeRequired - When it starts. Calabrio reads it in UTC.
- Ends
end_timedate and timeRequired - When it ends. Calabrio reads it in UTC.
- Subject
subjecttextRequired - The request's subject.
- Message
messagetextRequired - 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
- Person
person_idtextRequired - The person's ID, from List people in team.
- Absence
absence_idtextRequired - The kind of absence. Use an absence ID from List absences.
- From
date_fromdateRequired - The day the balance starts.
- Balance brought in
balance_innumber - The balance brought in.
- Accrued
accruednumber - What is earned in the period.
- Extra
extranumber - 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 unit
business_unit_idtextRequired - The business unit to work in. Pick one, or use an ID from List business units.
- Person
person_idtextRequired - The person's ID, from List people in team.
- Day
datedateRequired - The day.
- Note
notetextRequired - The note.
- Agent can see it
is_publictrue/falseRequired - Turn on to show the note to the agent.
- Scenario
scenario_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"
}
}