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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authentication* | string | Bearer token. |
Accept* | string | Should be |
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
Name | Type | Description |
---|---|---|
id | string | The ID of the resource to retrieve |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Create a resource
POST
https://app.gem-books.com/api/resources
This endpoint allows you to create a resource. Returns the created resource.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Content-type | string | Should be |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
id | string | ID of resource to update |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Content-type | string | Should be |
Last updated