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: 302
Date: Thu, 13 Nov 2025 05:09:00 GMT
{
"programId": "670fbae1-259a-4b3f-bbaf-aff1f6a3a8c3",
"programExternalId": null,
"moduleTestsScope": "all",
"moduleTests": null,
"registerEmployees": [
"10509",
"10538",
"10710",
"10923",
"10738"
],
"unregisterEmployees": [
"11897",
"11512",
"11747"
]
}
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: 364
Date: Thu, 13 Nov 2025 05:09:00 GMT
{
"programId": "536f0bc2-c3ce-4c98-86a9-432c60511eea",
"programExternalId": null,
"moduleTestsScope": "selected",
"moduleTests": [
"c25ecebb-0a8a-422c-ba3d-2efbdd2d88eb"
],
"registerEmployees": [
"10561",
"10962",
"10982",
"10931",
"10683"
],
"unregisterEmployees": [
"11521",
"11563",
"11841",
"11737"
]
}
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": 5,
"attemptsRegistered": 20,
"employeesUnregistered": 3,
"attemptsUnregistered": 6,
"totalEmployeesInProgram": 97
}