Download OpenAPI specification:Download
Our API follows the REST architectural style, offering predictable, resource-oriented URLs. Requests are accepted in form-encoded bodies, while responses are provided in JSON format, accompanied by standard HTTP response codes. For all endpoints, use the following prefix: [https://api.javelo.io/]. Accessing our endpoints requires authentication through request headers. The integration token, necessary for authentication, is generated upon synchronization activation via the integrations page on Javelo. :
{ 'headers': { 'Authorization': 'Bearer <token>', 'Content-Type': 'application/json' }}
Update a training
| uuid required | string UUID of the training |
| external_id | string External id of the training |
| title | string Title of the training |
| description | string Description of the training |
| owner | string Who is the training for ? (email or username) |
| cpf | boolean Is the training eligible to CPF |
| priority | integer <int32> [ 1 .. 4 ] Priority of the training |
| state | string Enum: "initial" "unapproved" "approved" "hold_on" "accepted" "declined" "not_done" "done" Status of the training (accepted, done, rejected,...) |
| link_name | string Link name of the training |
| link_url | string Link url of the training |
| cost | string Cost of the training |
| organization | string Where the training can be done |
| mandatory | boolean Is the training mandatory |
| is_certifying | boolean Does the training give a certification |
| done_on | string <date> When the training is taking or has taken place |
| created_by | string User who requested the training (email or username) |
| start_date | string <date> When the training starts or has started |
| end_date | string <date> When the training ends or has ended |
| duration | integer <int32> Duration of the training (hours) |
[- {
- "uuid": "string",
- "external_id": "string",
- "title": "string",
- "description": "string",
- "owner": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "state": "string",
- "cpf": true,
- "priority": 0,
- "link_name": "string",
- "link_url": "string",
- "cost": "string",
- "organization": "string",
- "mandatory": true,
- "is_certifying": true,
- "done_on": "2019-08-24",
- "created_by": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "duration": 0
}
]Get one training of a company
| uuid required | string Training uuid |
[- {
- "uuid": "string",
- "external_id": "string",
- "title": "string",
- "description": "string",
- "owner": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "state": "string",
- "cpf": true,
- "priority": 0,
- "link_name": "string",
- "link_url": "string",
- "cost": "string",
- "organization": "string",
- "mandatory": true,
- "is_certifying": true,
- "done_on": "2019-08-24",
- "created_by": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "duration": 0
}
]Create a training
| external_id required | string External id of the training |
| title required | string Title of the training |
| description | string Description of the training |
| owner | string Who is the training for ? (email or username) |
| cpf required | boolean Is the training eligible to CPF |
| priority | integer <int32> [ 1 .. 4 ] Priority of the training |
| state required | string Enum: "initial" "unapproved" "approved" "hold_on" "accepted" "declined" "not_done" "done" Status of the training (accepted, done, rejected,...) |
| link_name | string Link name of the training |
| link_url | string Link url of the training |
| cost | string Cost of the training |
| organization required | string Where the training can be done |
| mandatory | boolean Is the training mandatory |
| is_certifying required | boolean Does the training give a certification |
| done_on | string <date> When the training is taking or has taken place |
| created_by | string User who requested the training (email or username) |
| start_date | string <date> When the training starts or has started |
| end_date | string <date> When the training ends or has ended |
| duration | integer <int32> Duration of the training (hours) |
[- {
- "uuid": "string",
- "external_id": "string",
- "title": "string",
- "description": "string",
- "owner": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "state": "string",
- "cpf": true,
- "priority": 0,
- "link_name": "string",
- "link_url": "string",
- "cost": "string",
- "organization": "string",
- "mandatory": true,
- "is_certifying": true,
- "done_on": "2019-08-24",
- "created_by": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "duration": 0
}
]Get all trainings of company
| page | integer <int32> Default: 1 Page offset to fetch. |
| per_page | integer <int32> Default: 50 Number of results to return per page. |
| offset | integer <int32> Default: 0 Pad a number of results. |
[- {
- "uuid": "string",
- "external_id": "string",
- "title": "string",
- "description": "string",
- "owner": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "state": "string",
- "cpf": true,
- "priority": 0,
- "link_name": "string",
- "link_url": "string",
- "cost": "string",
- "organization": "string",
- "mandatory": true,
- "is_certifying": true,
- "done_on": "2019-08-24",
- "created_by": {
- "uuid": "string",
- "email": "string",
- "external_id": "string",
- "first_name": "string",
- "last_name": "string",
- "identifier": "string"
}, - "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "duration": 0
}
]