Skip to content
English
  • There are no suggestions because the search field is empty.

Introduction

The FitnetLeave API allows third-party applications to interact in real time via Web Service with the FitnetManager leave management module.

The information contained in this documentation requires a minimum knowledge of a number of web technologies. Among these technologies, we find:

HTTP Protocol

An HTTP request is as follows:

  • One method (GET, POST, PUT, DELETE)
  • A path to a resource (/index.php,/list/content/)
  • A protocol version (usually 1.0 or 1.1)
  • A set of properties and values ​​(Content-Type, Length)
  • A content (optional)

REST architecture (Representational State Transfer)

This architecture is based on the HTTP protocol; HTTP methods are therefore used as well:

  • GET : reading information 
  • POST : sending information 
  • PUT : updating information 
  • DELETE : deleting information 

JSON Exchange format

JSON is built around the ECMAScript objects format (JavaScript)

The 2 main characteristics are:

  • The principle of key / value
  • Organising data in a table

The types of data available are: table, object, character string, numeric value (integer, double), Boolean (true/false), null.