Share via


Leave Dates (Independent Publisher) (Preview)

Leave Dates simplifies leave management, enabling seamless scheduling, tracking, and reporting for teams and organizations. Streamline time-off workflows effortlessly.

This connector is available in the following products and regions:

Service Class Regions
Copilot Studio Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Tiago Ramos
URL https://novalogica.pt/
Email [email protected]
Connector Metadata
Publisher Tiago Ramos (novalogica)
Website https://www.leavedates.com/
Privacy policy https://www.leavedates.com/privacy-policy
Categories Data;Human Resources

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Bearer Token securestring The Bearer Token for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add Employee

Add Employee

Approve Leave

Approve a leave request

Cancel Leave

Cancel a leave

Delete Employee

Delete a Employee

Get All Leave Types

Get all leave types of the company

Get Allowance Summary Report

Get allowance summary report of the company by allowance type, calendar, and allowance unit

Get Details Of An Employee

Get details of an employee

Get Employees

A list of employees

Get Leave Details

Get leave details

List Companies

List all companies of authenticated user

List Departments

A list of departments for a specific company

Request Leave

To request a leave, first you need to draft a leave to get available breakdowns using leaves/draft endpoint. For more information refer leaves/draft section.

Once you have drafted a leave, you can request the leave using available breakdowns.

Update Employee

Update a Employee

Update Leave

Update a leave request. You would need available breakdown durations to update the leave. The available breakdown durations can be obtained from redraft leave. To know more, refer leaves/{id}/redraft section.

Add Employee

Add Employee

Parameters

Name Key Required Type Description
Job Title
job_title string
Full Name
full_name True string
Email
email True string
Timezone
timezone string
Company
company_id True string
Approver
approver_id string
Department
department_id string
Employee Code
employee_code string
Is Admin
is_admin boolean
Start Date
start_date string
End Date
end_date string
Holiday Location
holiday_location string
Allowance Unit is Days
allowance_unit_is_days string
Minutes Per Working Day
minutes_per_working_day string

Returns

Name Path Type Description
job_title string

Job Title

full_name string

Full Name

email string

Email

department_id string

Department ID

employee_code string

Employee Code

company_id string

Company ID

is_admin boolean

Is Admin

start_date string

Start Date

end_date string

End Date

id string

Employee ID

Approve Leave

Approve a leave request

Parameters

Name Key Required Type Description
The unique identifier of the leave record
id True string

Leave ID

Company
company True string

Company ID

Cancel Leave

Cancel a leave

Parameters

Name Key Required Type Description
The unique identifier of the leave record
id True string

Leave ID

Company
company True string

Company ID

Delete Employee

Delete a Employee

Parameters

Name Key Required Type Description
The unique identifier of the employment record
id True string

Employment ID

Company
company_id True string

Company ID

Returns

response
object

Get All Leave Types

Get all leave types of the company

Parameters

Name Key Required Type Description
Company
company True string

Company ID

Returns

Name Path Type Description
array of object
id string

Leave Type ID

company_id string

Company ID

name string

Leave Type Name

description string

Description

Get Allowance Summary Report

Get allowance summary report of the company by allowance type, calendar, and allowance unit

Parameters

Name Key Required Type Description
Company
company True string

Company ID

Date
date True string

Example: 2021-01-13

Page
page True integer

current page of the report

Employee
employee string

Employee ID

Department
department string

Department ID

Allowance Type
allowance_type string

Allowance Type ID

Returns

Name Path Type Description
data
data array of object

data

Id
data.allowance_type.id string

Allowance Type Id

Name
data.allowance_type.name string

Allowance Type Name

Start Date
data.calendar.start_date string

Start date of the calendar

End Date
data.calendar.end_date string

End date of the Calendar

Allowance Unit
data.allowance_unit string

Allowance Unit Example: Days

Is Unlimited
data.is_unlimited integer

Allowance was unlimited days?

Total Allowance
data.total_allowance integer

Total units for the allowance type

Annual Allowance
data.annual_allowance integer

Total allowance days for the year

Booked Allowance
data.booked_allowance float

Total booked allowance days for the year

Remaining Book
data.remaining_to_book float

Remaining units to book for the allowance

Total allowances
total integer

Total allowances on the current request

Current Page
current_page integer

Current Page

Get Details Of An Employee

Get details of an employee

Parameters

Name Key Required Type Description
Employee ID
id True string

Employee ID

Company
company True string

Company ID

Returns

Name Path Type Description
id
user.id string

id

full_name
user.full_name string

full_name

email
user.email string

email

user.avatar string

avatar

date_of_birth
user.date_of_birth string

date_of_birth

deleted_at
user.deleted_at string

deleted_at

created_at
user.created_at string

created_at

updated_at
user.updated_at string

updated_at

verification_pending_email
user.verification_pending_email string

verification_pending_email

avatar_url
user.avatar_url string

avatar_url

Get Employees

A list of employees

Parameters

Name Key Required Type Description
Company
company True string

Company ID

Department
department_id string

Department ID

Returns

Name Path Type Description
array of object
id string

Employee ID

company_id string

Company ID

department string

Department ID

full_name string

Full Name

email string

Email

Get Leave Details

Get leave details

Parameters

Name Key Required Type Description
The unique identifier of the leave record
id True string

Leave ID

Company
company True string

Company ID

Returns

Name Path Type Description
Leave Id
id string

Leave Id

id
owner.id string

Leave Owner Id

full_name
owner.full_name string

Leave Owner Full Name

status
status string

Status of the leave request

leave_breakdowns
leave_breakdowns array of object

leave_breakdowns

leave_breakdowns.from string

From date

leave_breakdowns.to string

To date

leave_breakdowns.duration string

Breakdown Leave duration

leave_breakdowns.type string

Breakdown Leave Type

reason
reason string

Reason for the requested leave

id
type.id string

Leave Type Id

name
type.name string

Leave Type Name

List Companies

List all companies of authenticated user

Returns

Name Path Type Description
array of object
id string

Company ID

owner_id string

Owner ID of the Company

name string

Company Name

employments_count integer

Total Employees

List Departments

A list of departments for a specific company

Parameters

Name Key Required Type Description
Company
company True string

Company ID

Returns

Name Path Type Description
array of object
id string

Department ID

name string

Department Name

company_id string

Company ID

employments_count integer

Total Employees

Request Leave

To request a leave, first you need to draft a leave to get available breakdowns using leaves/draft endpoint. For more information refer leaves/draft section.

Once you have drafted a leave, you can request the leave using available breakdowns.

Parameters

Name Key Required Type Description
Company
company_id True string

Company ID

From
from True string

From Date

To
to True string

To Date

Leave Type
type_id True string

Leave Type ID

Reason
reason string

Reason description

Is Private
is_private boolean

Is Private

OwnerId
owner_id True string

Owner ID

From
from string

From Date

To
to string

To Date

Type
type string

Type Example working_day

Duration
duration string

Duration Example full_day / custom

Returns

Name Path Type Description
array of string

Update Employee

Update a Employee

Parameters

Name Key Required Type Description
Employee ID
id True string

Employee ID

Job Title
job_title string
Full Name
full_name True string
Email
email True string
Timezone
timezone string
Company
company_id True string
Approver
approver_id string
Department
department_id string
Employee Code
employee_code string
Is Admin
is_admin boolean
Start Date
start_date string
End Date
end_date string
Holiday Location
holiday_location string
Allowance Unit is Days
allowance_unit_is_days string
Minutes Per Working Day
minutes_per_working_day string

Returns

Name Path Type Description
job_title string

Job Title

full_name string

Full Name

email string

Email

department_id string

Department ID

employee_code string

Employee Code

company_id string

Company ID

is_admin boolean

Is Admin

start_date string

Start Date

end_date string

End Date

id string

Employee ID

Update Leave

Update a leave request. You would need available breakdown durations to update the leave. The available breakdown durations can be obtained from redraft leave. To know more, refer leaves/{id}/redraft section.

Parameters

Name Key Required Type Description
Leave ID
id True string

Leave ID

Company ID
company_id True string

Company ID

From
from string

From Date

To
to string

To From

Type
type_id True string

Leave Type

Reason
reason string

Reason Description

From
from string

From Date

To
to string

To Date

type
type string

Type Example working_day

Duration
duration string

Duration Example full day / custom

Returns

Name Path Type Description
array of string

Definitions

object

This is the type 'object'.