Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Simplicate API Data Model

Navigation: Schema: HRM > Tables

LeaveById

Contents Previous Home Next More

Fetches a single leave by its id

Catalog: Simplicate

Schema: HRM

This is a read-only table function. The Simplicate API may not support changing the data or the Invantive SQL driver for Simplicate does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Simplicate API.

Select Simplicate API URL: /hrm/leave/{id}

Insert Simplicate API URL: /hrm/leave/{id}

Update Simplicate API URL: /hrm/leave/{id}

Delete Simplicate API URL: /hrm/leave/{id}

Field Selection Method: NotRequired

Base Path: data

Select Simplicate API Operation: get /hrm/leave/{id}

Table Function Parameters

The following parameters can be used to control the behaviour of the table function LeaveById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

id

string

 

The template's id

 

Table Function Columns

The columns of the table function LeaveById are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

created_at

string

Created at

 

created

string

Created

 

description

string

Description

 

employee_amount

float

 

 

employee_declarable

string

 

 

employee_employee_id

string

 

 

employee_id

string

Employee ID

 

employee_name

string

 

 

employee_person_id

string

 

 

employee_tariff

float

 

 

end_date

string

End Date

 

hours

float

 

 

id

string

ID

 

leavetype_affects_balance

boolean

 

 

leavetype_blocked

boolean

 

 

leavetype_color

string

 

 

leavetype_id

string

 

 

leavetype_label

string

 

 

modified

string

Modified

 

start_date

string

Start Date

 

updated_at

string

Updated at

 

year

int64

 

 

 

06-04-2021 14:59 Version 20.1.393-BETA+3152