Bulk Register Candidates
POST
/bulk-loading/upload
This endpoint registers candidates in bulk by attaching a CSV file with any number of candidates.
Query Parameters
| Name | Type | Required | Value / Example |
|---|---|---|---|
registerType | string | Yes | Method used to register new candidates. Options: byName, byNationalId |
File
| Parameter | Type | Required | Value / Example |
|---|---|---|---|
registerType | Form Data | Yes | CSV file with a maximum size of 5MB |
API Responses
- 201 OK
Below is an example of the response structure.
{
"isSuccess": true,
"statusCode": 201,
"message": "Success",
"data": {
"uuid": "7203d1d6-53ea-4837-8c9a-6690f0c9d07e",
"message": "File uploaded successfully"
}
}
UUID in Response
The UUID received in the response can later be used to check the status of the uploaded file and of each candidate it contained.