Resources
This page includes all endpoints available for the human resources module of Logiciel Actif.
List all resources
GET
https://app.gem-books.com/api/resources
This endpoint allows you to get the list of your resources. The resources are returned, sorted by code (A-Z).
Query Parameters
page
string
The number of page you wish to see. Default is 1.
per_page
string
The number of the desired result per page. Default is 20. Maximum is 100
Headers
Authentication*
string
Bearer token.
Accept*
string
Should be application/json
.
Retrieve a resource
GET
https://app.gem-books.com/api/resources/:id
This endpoint allows you to get the details of the resource.
Path Parameters
id
string
The ID of the resource to retrieve
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Create a resource
POST
https://app.gem-books.com/api/resources
This endpoint allows you to create a resource. Returns the created resource.
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Content-type
string
Should be application/json
.
Request Body
code
string
Code of resource
name
string
Name of resource
Update a resource
PUT
https://app.gem-books.com/api/resources/:id
This endpoint allows you to update a specific resource. Returns the updated resource.
Path Parameters
id
string
ID of resource to update
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Content-type
string
Should be application/json
.
Last updated