Assign Test to Candidate

Assign Test to Candidate

POSTAssign Test to Candidate

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/assignTest
Body
Copy
{ "email": "{Candidate 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." } }