Method registers or unregisters employees for a given program.
POST https://api.startexam.com/v1/program/employees
None
Json with a RegisterProgramEmployeesQuery:
ProgramId
- Program identifier, guid from StartExam.
ProgramExternalId
- Program external identifier. Pass your own string ID from integrated system rather than guid from StartExam for easier integration (optional).
ModuleTestsScope
- pass all to apply action for all tests in a program,
or pass selected to apply action only for selected tests in a program.
ModuleTests
- identifiers of specific module tests, guids from StartExam.
Used only for ModuleTestsScope = selected and manual program mode.
RegisterEmployees
- Identifiers of employees to register. One request must not contain more than 500 employees to register.
UnregisterEmployees
- Identifiers of employees to unregister. One request must not contain more than 500 employees to unregister.
all scope: register / unregister for all tests at once.selected scope: register / unregister for specified tests.POST https://api.startexam.com/v1/program/employees HTTP/1.1
Host: api.startexam.com
Accept: application/json; charset=utf-8
Authorization: SharedKey 99:f52JP7GQd0xqrBzMO1NWTNVGzLENymgdUXu/Ie++NX4=
Content-Type: application/json; charset=utf-8
Content-Length: 274
Date: Wed, 13 May 2026 09:28:49 GMT
{
"programId": "1b918387-08c7-4391-a030-615982b5f866",
"programExternalId": null,
"moduleTestsScope": "all",
"moduleTests": null,
"registerEmployees": [
"10782",
"10918",
"10503",
"10652",
"10946",
"10582"
],
"unregisterEmployees": []
}
POST https://api.startexam.com/v1/program/employees HTTP/1.1
Host: api.startexam.com
Accept: application/json; charset=utf-8
Authorization: SharedKey 99:f52JP7GQd0xqrBzMO1NWTNVGzLENymgdUXu/Ie++NX4=
Content-Type: application/json; charset=utf-8
Content-Length: 403
Date: Wed, 13 May 2026 09:28:49 GMT
{
"programId": "a1a9c6dd-fd1b-436c-93c3-b7acfdd696be",
"programExternalId": null,
"moduleTestsScope": "selected",
"moduleTests": [
"43786ae7-2657-4224-b6a2-097206364cda",
"4efee217-8d8d-4dcc-b3ab-4771816df332",
"96707207-90b8-4e54-883e-56242c9ee053",
"20cf739e-eae4-4dd2-9b9a-bc36c8935e98"
],
"registerEmployees": [
"10759",
"10556"
],
"unregisterEmployees": []
}
Date and Authorization headers are constructed in the standard way.
200 OK, 400 Bad Request, etc. according the response processing guide.
Json.
Method returns operation results:
EmployeesRegistered - number of new employees added to the program.
AttemptsRegistered - number of attempts created.
EmployeesUnregistered - number of employees removed from the program.
AttemptsUnregistered - number of attempts removed.
TotalEmployeesInProgram - total number of employees in the program after operation.
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 151
{
"employeesRegistered": 6,
"attemptsRegistered": 18,
"employeesUnregistered": 0,
"attemptsUnregistered": 0,
"totalEmployeesInProgram": 100
}