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: 222
Date: Tue, 14 Oct 2025 13:49:14 GMT
{
"programId": "99aa0b24-72ed-468e-92cc-2e65c4e5e001",
"programExternalId": null,
"moduleTestsScope": "all",
"moduleTests": null,
"registerEmployees": [
"10652",
"10783"
],
"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: 382
Date: Tue, 14 Oct 2025 13:49:14 GMT
{
"programId": "e233de66-a8c6-4a48-a238-8b4ea6c7dba8",
"programExternalId": null,
"moduleTestsScope": "selected",
"moduleTests": [
"6a3d1b0b-468f-4270-b421-87fec5e78766",
"5d1b5e17-23e1-4256-8668-39f42c7a21a6"
],
"registerEmployees": [
"10955",
"10736",
"10759",
"10566",
"10987"
],
"unregisterEmployees": [
"11557",
"11939"
]
}
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: 150
{
"employeesRegistered": 2,
"attemptsRegistered": 8,
"employeesUnregistered": 0,
"attemptsUnregistered": 0,
"totalEmployeesInProgram": 100
}