The GovX API is used for the communication between the Moodle-based backend and the GovX mobile app. It was implemented by Eummena team as part of the GovX LMS product. It is based on Moodle's core API (web services) and it's extending it in many ways to match the needs of the custom GovX mobile app.
The API is documented in OpenAPI specification with a few vendor extensions.
The GovX API is using an API token (key) as a form of authentication. This token is created at the system level or, usually, at each user's level.
The API token needs to be passed with the wstoken
parameter in every request to the API endpoints.
All requests to the API endpoints must follow the URL schema of Moodle:
https://example.com/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=ENDPOINT&wstoken=XXXXX¶m1=value1¶m2=value2&...
.
The following samples provide the first part for the URL of each endpoint for convenience. If you want to test them you will have to provide the token and any relevant API parameters.
Load a list of all competencies
filters required | Array of objects filters |
sort required | string Column to sort by. |
order required | string Sort direction. Should be either ASC or DESC. |
skip required | integer Skip this number of records before returning results. |
limit required | integer Return this number of records at most. |
Load a list of a competencies.
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "shortname": "string",
- "idnumber": "string",
- "description": "string",
- "descriptionformat": 1,
- "sortorder": 0,
- "parentid": 0,
- "path": "string",
- "ruleoutcome": 0,
- "ruletype": "string",
- "ruleconfig": "string",
- "scaleid": 0,
- "scaleconfiguration": "string",
- "competencyframeworkid": 0,
- "id": 0,
- "timecreated": 0,
- "timemodified": 0,
- "usermodified": 0
}
]
List the competencies in a course
id required | integer <int32> The course id |
list the competencies in a course
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "competency": {
- "shortname": "string",
- "idnumber": "string",
- "description": "string",
- "descriptionformat": 1,
- "sortorder": 0,
- "parentid": 0,
- "path": "string",
- "ruleoutcome": 0,
- "ruletype": "string",
- "ruleconfig": "string",
- "scaleid": 0,
- "scaleconfiguration": "string",
- "competencyframeworkid": "string",
- "id": 0,
- "timecreated": 0,
- "timemodified": 0,
- "usermodified": 0
}, - "coursecompetency": {
- "courseid": 0,
- "competencyid": 0,
- "sortorder": 0,
- "ruleoutcome": 0,
- "id": 0,
- "timecreated": 0,
- "timemodified": 0,
- "usermodified": 0
}
}
]
Get courses matching a specific field (id/s, shortname, idnumber, category)
field required | string The field to search can be left empty for all courses or: id: course id ids: comma separated course ids shortname: course short name idnumber: course id number category: category id the course belongs to |
value | string The value to match |
Get courses matching a specific field (id/s, shortname, idnumber, category)
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "fullname": "string",
- "displayname": "string",
- "shortname": "string",
- "categoryid": 0,
- "categoryname": "string",
- "sortorder": 0,
- "summary": "string",
- "summaryformat": 0,
- "summaryfiles": [
- {
- "filename": "string",
- "filepath": "string",
- "filesize": 0,
- "fileurl": "string",
- "timemodified": 0,
- "mimetype": "string",
- "isexternalfile": 0,
- "repositorytype": "string"
}
], - "overviewfiles": [
- {
- "filename": "string",
- "filepath": "string",
- "filesize": 0,
- "fileurl": "string",
- "timemodified": 0,
- "mimetype": "string",
- "isexternalfile": 0,
- "repositorytype": "string"
}
], - "contacts": [
- {
- "id": 0,
- "fullname": "string"
}
], - "enrollmentmethods": [
- "string"
], - "customfields": [
- {
- "name": "string",
- "shortname": "string",
- "type": "string",
- "value": "string"
}
], - "idnumber": "string",
- "format": "string",
- "showgrades": 0,
- "newsitems": 0,
- "startdate": 0,
- "enddate": 0,
- "maxbytes": 0,
- "showreports": 0,
- "visible": 0,
- "groupmode": 0,
- "groupmodeforce": 0,
- "defaultgroupingid": 0,
- "enablecompletion": 0,
- "completionnotify": 0,
- "lang": "string",
- "theme": "string",
- "marker": 0,
- "legacyfiles": 0,
- "calendartype": "string",
- "timecreated": 0,
- "timemodified": 0,
- "requested": 0,
- "cacherev": 0,
- "filters": [
- {
- "filter": "string",
- "localstate": 0,
- "inheritedstate": 0
}
], - "courseformatoptions": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return course details
options | Array of integers List of course id. If empty return all courses except front page course. |
return courses
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "id": 0,
- "shortname": "string",
- "categoryid": 0,
- "categorysortorder": 0,
- "fullname": "string",
- "displayname": "string",
- "idnumber": "string",
- "summary": "string",
- "summaryformat": 0,
- "format": "string",
- "showgrades": 0,
- "newsitems": 0,
- "startdate": 0,
- "enddate": 0,
- "numsections": 0,
- "maxbytes": 0,
- "showreports": 0,
- "visible": 0,
- "hiddensections": 0,
- "groupmode": 0,
- "groupmodeforce": 0,
- "defaultgroupingid": 0,
- "timecreated": 0,
- "timemodified": 0,
- "enablecompletion": 0,
- "completionnotify": 0,
- "lang": "string",
- "forcetheme": "string",
- "courseformatoptions": [
- {
- "name": "string",
- "value": "string"
}
], - "customfields": [
- {
- "name": "string",
- "shortname": "string",
- "type": "string",
- "value": "string"
}
]
}
]
Retrieves a tag cloud for the given collection and/or query search.
tagcollid required | integer <int32> Tag collection id. |
isstandard required | integer <int32> Whether to return only standard tags. |
limit required | integer <int32> Default: 150 Maximum number of tags to retrieve. default 150 |
sort required | string Default: "name" Sort order for display (id, name, rawname, count, flag, isstandard, tagcollid). |
search required | string Default: "" Search string. |
fromctx required | integer Context id where this tag cloud is displayed |
ctx required | integer Only retrieve tag instances in this context. |
rec required | integer Default: 1 Retrieve tag instances in the $ctx context and it's children. |
Retrieves a tag cloud for the given collection and/or query search.
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "tags": {
- "name": "string",
- "viewurl": "string",
- "flag": 0,
- "isstandard": 0,
- "count": 0,
- "size": 0
}, - "tagscount": 0,
- "totalcount": 0,
- "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
search for users matching the parameters
criteria required | Array of objects the key/value pairs to be considered in user search. Values can not be empty. Specify different keys only once (fullname => 'user1', auth => 'manual', ...) - key occurences are forbidden. The search is executed with AND operator on the criterias. Invalid criterias (keys) are ignored, the search is still executed on the valid criterias. You can search without criteria, but the function is not designed for it. It could very slow or timeout. The function is designed to search some specific users. |
search for users matching the parameters
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "username": "string",
- "firstname": "string",
- "lastname": "string",
- "fullname": "string",
- "email": "string",
- "address": "string",
- "phone1": "string",
- "phone2": "string",
- "icq": "string",
- "skype": "string",
- "yahoo": "string",
- "aim": "string",
- "msn": "string",
- "department": "string",
- "institution": "string",
- "idnumber": "string",
- "interests": "string",
- "firstaccess": 0,
- "lastaccess": 0,
- "auth": "string",
- "suspended": 0,
- "confirmed": 0,
- "lang": "string",
- "calendartype": "string",
- "theme": "string",
- "timezone": "string",
- "mailformat": 0,
- "description": "string",
- "descriptionformat": 0,
- "city": "string",
- "url": "string",
- "country": "string",
- "profileimageurlsmall": "string",
- "profileimageurl": "string",
- "customfields": [
- {
- "type": null,
- "required": null,
- "properties": null
}
], - "preferences": [
- {
- "type": null,
- "required": null,
- "properties": null
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of seats available in a course
users required | object users |
user updated successfully
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
Return user application id
user_id required | integer <int32> user id |
track_id required | integer <int32> track id |
lang | string Results language [en (default), ar] |
Return user application id
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
], - "timecreated": 0
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "date": 0,
- "message": "string"
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of seats available in a course
courseid required | integer <int32> Course id |
a list of available seats
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "total_seats": 0,
- "reserved_seats": 0,
- "remaining_seats": 0
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return the history of specific user enrolment application
user_id required | integer <int32> user id |
track_id required | integer <int32> track id |
lang | string Results language [en (default), ar] |
Return all enrolment applications for a specific user
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "statuses": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
], - "timecreated": 0
}
]
}
], - "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return all enrolment applications for a specific user
user_id required | integer <int32> user id |
lang | string Results language [en (default), ar] |
Return all enrolment applications for a specific user
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
], - "timecreated": 0
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "date": 0,
- "message": "string"
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return the history of specific user enrolment application
user_id required | integer <int32> userid (Default to "null") |
track_id required | integer <int32> userid |
lang | string Track ID |
get user enrollment applications
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "track_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return all enrolment applications for a specific user
userid required | integer <int32> userid (Default to "null") |
lang | string Results language [en (default), ar] |
user enrollment application
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "track_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
], - "timecreated": 0
}
]
}
], - "status": [
- {
- "id": 0,
- "name": "string",
- "date": 0,
- "message": "string"
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of user interests
userid required | integer <int32> userid (Default to "null") |
a list of programs
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": "string",
- "name": "string"
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of interviews
userid required | integer <int32> userid (Default to "null") |
a list of interviews
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "id": 0,
- "datatime": 0,
- "trackid": 0,
- "instructions": "string"
}
]
Attach additional information to an application put to "on-hold"
application_id required | integer <int32> userid (Default to "null") |
text required | string Does the delegate agree on the terms and conditions? |
files | Array of integers Array of attached files' item_id |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "is_valid": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
First step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
fullname_ar required | string Delegate name in Arabic |
fullname_en required | string Delegate name in English |
nationality_id required | string The short code of country |
birth_date required | integer Delegate's birth date (timestamp) |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Second step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
edu_level_id required | integer Education level id |
major required | string Education major name |
years_of_exp required | integer Experience years |
work_sector required | string Work sector [Government, Semi Government] |
organization_id required | integer Organization ID |
city_id required | integer City ID |
job_title required | string Delegate's job title |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Third step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
track_id required | integer Selected track ID |
mobile required | string Delegate mobile number |
cv_file required | integer The CV file item_id |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Fourth step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
has_us_visa | integer Does the delegate has a valid US visa? |
us_visa_expiry | integer The US visa expiration date (timestamp) |
has_uk_visa | integer Does the delegate has a valid UK visa? |
uk_visa_expiry required | integer The UK visa expiration date (timestamp) |
has_schengen_visa | integer Does the delegate has a valid Schengen visa? |
schengen_visa_expiry | integer The Schengen visa expiration date (timestamp) |
has_other_visa required | integer Does the delegate has any valid visa? |
other_countries_visa required | Array of strings Array of countries' codes that the delegate has valid visa of them |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Fifth step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
competencies_rates required | Array of objects Array of competencies IDs and the rating value;[{"competency_id":1, "rating":5},...] |
justification required | string Delegate's nomination justification |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Sixth step of updating a created application
application_id required | integer <int32> userid (Default to "null") |
terms_conditions_agreement required | integer <int32> Does the delegate agree on the terms and conditions? |
disclaimer_agreement required | integer <int32> Does the delegate agree on the disclaimer? |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Attach additional information to an application put to "on-hold"
application_id required | integer <int32> Application ID |
track_id required | integer <int32> Track ID |
text required | string Does the delegate agree on the terms and conditions? |
files required | Array of integers Array of attached files' item_id |
lang | string lang en, ar |
update user enrollment
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "application_id": 0,
- "form": [
- {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}
], - "timecreated": 0,
- "timemodified": 0,
- "track_id": 0,
- "current_step": "string",
- "status": [
- {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return user application id
user_id required | integer <int32> userid (Default to "null") |
track_id required | integer <int32> Track id |
lang | string lang en, ar |
Return user application id
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "application_id": 0,
- "form": {
- "fullname_ar": "string",
- "fullname_en": "string",
- "nationality_id": "string",
- "birth_date": 0,
- "edu_level_id": 0,
- "major": "string",
- "years_of_exp": 0,
- "work_sector": "string",
- "organization_id": 0,
- "city_id": 0,
- "job_title": "string",
- "mobile": "string",
- "cv_file": "string",
- "has_us_visa": 0,
- "us_visa_expiry": 0,
- "has_uk_visa": 0,
- "uk_visa_expiry": 0,
- "has_schengen_visa": 0,
- "schengen_visa_expiry": 0,
- "has_other_visa": 0,
- "other_countries_visa": [
- "string"
], - "competencies_rates": [
- {
- "competency_id": 0,
- "rating": 0
}
], - "justification": "string",
- "terms_conditions_agreement": 0,
- "disclaimer_agreement": 0,
- "status": {
- "id": 0,
- "name": "string"
}, - "supplements": [
- {
- "text": "string",
- "files": [
- "string"
]
}
]
}, - "status": {
- "id": 0,
- "name": "string",
- "message": "string",
- "timecreated": 0
}
}
]
Return list of interview
userid required | integer <int32> User id |
List of user interviews
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "application_id": 0,
- "method": "string",
- "details": "string",
- "datetime": "string",
- "course_name": "string",
- "interviewer1": "string",
- "interviewer2": "string",
- "interviewer3": "string"
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Covers the required data in the "about" tab of course page
userid required | integer <int32> User id |
courseid required | integer Course ID |
get the course overview
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "likes": 0,
- "bookmarks": 0,
- "shares": 0,
- "is_liked": 0,
- "is_bookmarked": 0,
- "is_shared": 0,
- "rating": 0,
- "title": "string",
- "featured_media_url": "string",
- "about": "string",
- "objectives": "string",
- "outcome": "string",
- "eligibility": "string",
- "skills_gained": "string",
- "mode": "string",
- "topics": [
- {
- "mode": "string",
- "title": "string",
- "short_description": "string",
- "date": 0
}
], - "instructors": [
- {
- "id": 0,
- "name": "string",
- "job": "string",
- "employer": "string",
- "image_url": "string"
}
], - "contact_person": [
- {
- "id": 0,
- "name": "string",
- "phone": "string",
- "email": "string"
}
], - "top_reviews": [
- {
- "id": 0,
- "name": "string",
- "review": "string",
- "rating": 0
}
], - "top_faqs": [
- {
- "id": 0,
- "question": "string",
- "answer": "string"
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Get the list of courses where a user is enrolled in
userid required | integer <int32> |
returnusercount | integer <int32> Default: 1 Include count of enrolled users for each course? This can add several seconds to the response time if a user is on several large courses, so set this to false if the value will not be used to improve performance. |
return enroled users courses
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "id": 0,
- "shortname": "string",
- "enrolledusercount": 0,
- "category": "string",
- "fullname": "string",
- "displayname": "string",
- "idnumber": "string",
- "summary": "string",
- "summaryformat": 0,
- "format": "string",
- "showgrades": 0,
- "completed": 0,
- "startdate": 0,
- "enddate": 0,
- "marker": 0,
- "lastaccess": 0,
- "visible": 0,
- "hidden": 0,
- "completionusertracked": 0,
- "timecreated": 0,
- "progress": null,
- "enablecompletion": 0,
- "completionhascriteria": 0,
- "lang": "string",
- "isfavourite": 0,
- "overviewfiles": [
- {
- "filename": "string",
- "filepath": "string",
- "filesize": 0,
- "fileurl": "string",
- "timemodified": 0,
- "mimetype": "string",
- "isexternalfile": 0,
- "repositorytype": "string"
}
]
}
]
Return list of user feedback
userid required | integer <int32> userid (Default to "null") |
status required | string Default: "pending" default is pending |
a list of programs
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "feedbacks": {
- "id": 0,
- "course": 0,
- "name": "string",
- "intro": "string",
- "introformat": 0,
- "anonymous": 0,
- "email_notification": 0,
- "multiple_submit": 0,
- "autonumbering": 0,
- "site_after_submit": "string",
- "page_after_submit": "string",
- "page_after_submitformat": 0,
- "publish_stats": 0,
- "timeopen": 0,
- "timeclose": 0,
- "timemodified": 0,
- "completionsubmit": 0,
- "coursemodule": 0,
- "introfiles": [ ],
- "pageaftersubmitfiles": [ ]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of courses feedback
courseids required | Array of Array of objects ucourseids (Default to "null") |
a list of programs
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "feedbacks": {
- "id": 0,
- "course": 0,
- "name": "string",
- "intro": "string",
- "introformat": 0,
- "anonymous": 0,
- "email_notification": 0,
- "multiple_submit": 0,
- "autonumbering": 0,
- "site_after_submit": "string",
- "page_after_submit": "string",
- "page_after_submitformat": 0,
- "publish_stats": 0,
- "timeopen": 0,
- "timeclose": 0,
- "timemodified": 0,
- "completionsubmit": 0,
- "coursemodule": 0,
- "introfiles": [ ],
- "pageaftersubmitfiles": [ ]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Get a single feedback page items.
feedbackid required | integer <int32> Feedback instance id |
page required | integer The page to get starting by 0 |
courseid | integer Course where user completes the feedback (for site feedbacks only). |
List of feedback items
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "items": {
- "id": 0,
- "feedback": 0,
- "template": 0,
- "name": "string",
- "label": "string",
- "presentation": "string",
- "typ": "string",
- "hasvalue": 0,
- "position": 0,
- "required": 0,
- "dependitem": 0,
- "dependvalue": "string",
- "options": "string",
- "itemfiles": [
- {
- "contectid": 0,
- "compnent": "string",
- "filearea": "string",
- "itemid": 0,
- "filepath": "string",
- "filename": "string",
- "isdir": 0,
- "isimage": 0,
- "timemodified": 0,
- "timecreated": 0,
- "filesize": 0,
- "author": "string",
- "license": "string",
- "filenameshort": "string",
- "filesizeformatted": "string",
- "icon": "string",
- "timecreatedformatted": "string",
- "timemodifiedformatted": "string",
- "url": "string"
}
], - "itemnumber": 0,
- "otherdata": "string"
}, - "hasprevpage": 0,
- "hasnextpage": 0,
- "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Process a jump between pages.
feedbackid required | integer <int32> Feedback instance id. |
page required | integer <int32> The page being processed. |
responses | Array of objects The data to be processed. |
goprevious | integer Whether we want to jump to previous page. |
courseid | integer Course where user completes the feedback (for site feedbacks only). |
a list of available seats
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "jumpto": 0,
- "completed": 0,
- "completionpagecontents": "string",
- "siteaftersubmit": "string",
- "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of cities
lang required | string Default: "en" Results language [en (default), ar] |
Return list of cities
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "name": "string"
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of user degrees
lang required | string Default: "en" Results language [en (default), ar] |
a list of degrees
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": [
- {
- "id": 0,
- "name": "string"
}
], - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "short_code": "string",
- "name": "string"
}
]
Return list of organizations
lang required | string Default: "en" Results language [en (default), ar] |
a list of organizations
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": [
- {
- "id": 0,
- "name": "string"
}
], - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Returns a list of discussions of specific course
courseid required | integer <int32> course id |
a list of discussions
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "forum_id": 0,
- "discussions": [
- {
- "id": 0,
- "subject": "string",
- "message": "string",
- "num_threads": 0
}
]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of programs
lang required | string Default: "en" Results language [en (default), ar] |
a list of programs
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": [
- {
- "id": 0,
- "name": "string",
- "about": "string",
- "sort_order": 0,
- "image": "string",
- "catagory": "string"
}
], - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of seats available in a course
userid required | integer <int32> userid (Default to "null") |
a list of available seats
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "total_seats": 0,
- "reserved_seats": 0,
- "remaining_seats": 0
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Return list of tracks
program_id required | integer <int32> The program ID (represents idnumber field in moodle) |
lang required | string Default: "en" Results language [en (default), ar] |
a list of programs
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "data": {
- "id": 0,
- "name": "string",
- "sort_order": 0,
- "summary": "string",
- "image": "string",
- "eligibility": "string",
- "campus": 0,
- "online": 0,
- "workshop": 0,
- "details": "string",
- "course_details": "string",
- "terms_conditions": "string",
- "available_seats": "string",
- "areas_of_interest": [ ],
- "courses": [ ]
}, - "warnings": {
- "item": "string",
- "itemid": 0,
- "warningcode": "string",
- "message": "string"
}
}
]
Retrieve a list of popup notifications for a user
useridto required | integer <int32> the user id who received the message, 0 for current user |
newestfirst | integer Default: 1 true for ordering by newest first, false for oldest first |
limit | integer Default: 0 the number of results to return |
offset | integer Default: 0 offset the result set by a given amount |
Retrieve a list of popup notifications for a user
Eummena's internal development server
The development instance on Deloitte's side
The user acceptance testing (UAT) instance
[- {
- "notifications": {
- "id": 0,
- "useridfrom": 0,
- "useridto": 0,
- "subject": "string",
- "shortenedsubject": "string",
- "text": "string",
- "fullmessage": "string",
- "fullmessageformat": 0,
- "fullmessagehtml": "string",
- "smallmessage": "string",
- "contexturl": "string",
- "contexturlname": "string",
- "timecreated": 0,
- "timecreatedpretty": "string",
- "timeread": 0,
- "read": 0,
- "deleted": 0,
- "iconurl": "string",
- "component": "string",
- "eventtype": "string",
- "customdata": "string"
}, - "unreadcount": 0
}
]