The EOL API enables the results of surveys completed by trainees to be communicated to Cegos.
Access to this API is restricted to authorized users. Access requires a specific authorization defined by the "api-eol" scope. If you haven't already done so, we suggest you follow the registration steps explained in the "Register your application" section.
For developers and other engineering teams, an Open API documentation generated by Swagger is available at this URL:
https://eol.api.cegos.fr/swagger
Send survey answer.
Route
POST https://eol.api.cegos.fr/v1/survey
Parameters
SurveyRequest | ||
---|---|---|
Name | Type | Description |
Partner | String | Partner ID. |
BusinessModel | String | Business model, possible value: Inter, Ipack, Ls. |
RegistrationNumber | String | Cegos registration number. |
CaseNumber | String | Cegos case number. |
UserId | String | Trainee's unique identifier. |
UserMail | String | Trainee's mail. |
UserLastName | String | Trainee's last name. |
UserFirstName | String | Trainee's first name. |
EventRef | String | Session's unique identifier. |
PartnerUserId | String | Partner user ID. |
PartnerSessionId | String | Partner session ID. |
SurveyPdf | String | The survey url in pdf format. |
SurveyId | String | Survey's unique identifier.. |
Responses | Array<ResponseRequest> | All answers provided by the trainee. |
ResponseRequest | ||
---|---|---|
Name | Type | Description |
QuestionId | String | Unique question ID. |
Value | String | Response provided. |
Result
An http 200 code will be returned in case of success.