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: 235
Date: Thu, 16 Jul 2026 20:47:34 GMT
{
"programId": "7a2fef10-b299-4d13-a8e9-c79209b7300a",
"programExternalId": null,
"moduleTestsScope": "all",
"moduleTests": null,
"registerEmployees": [
"10722",
"10625",
"10786"
],
"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: 346
Date: Thu, 16 Jul 2026 20:47:34 GMT
{
"programId": "b417b2e2-66f0-4cb7-8e21-ca58a8d6e6da",
"programExternalId": null,
"moduleTestsScope": "selected",
"moduleTests": [
"fd12a0e7-07fd-41ff-a7a8-ef751e205621",
"4c76f287-221d-4e89-8730-3fe17270e06d",
"626ba8e1-01c7-49fe-a3c7-29faf443bce3"
],
"registerEmployees": [
"10784"
],
"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": 3,
"attemptsRegistered": 12,
"employeesUnregistered": 0,
"attemptsUnregistered": 0,
"totalEmployeesInProgram": 100
}