Assign Test to Bulk Candidates

Assign Test to Bulk Candidates

POSTAssign Test to Bulk Candidates

This API will be used to assign tests directly to the candidates.

Pass ak, sgn, and ts as headers, and all three parameters will be received using the Signature Generation API.

Header
ak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URL
Copy
{{API Endpoint}}/api/v1/assignTestMultiCandidates
Body
Copy
{ "email": [ "{Candidate1 Email Id}", "{Candidate2 Email Id}", "{Candidate3 Email Id}" ], "testId": "{Test Id}", "isMailEnable": "{1 or 0}", "isPasswordSkip": "{1 or 0}" }
Response
Case 1 : When Success
Success
{ "result": "success", "success": { "code": "200", "msg": "Test is assigned and mail has been sent successfully" } }
Case 2 : When Details is missing
Error
{ "result": "error", "error": { "code": "3095", "msg": "{Field name} is required." } }