Mark assessment orders as Complete

You can proceed to mark the assessment order as ‘Complete’ after processing and submitting the order. Sending the following POST request can do this:

curl -i -H "X-SmartToken:abc123" -H "Content-Type: application/json;charset=utf-8" -d @body.json -X POST https://api.smartrecruiters.com/v1/assessments/511a3942300469a9c33819d1/complete

body.json:

1
2
3
4
5
6
7
8
9
{
    "message": "All attachments were sent and we are closing this request",
    "author": {
        "firstName": "John",
        "lastName": "Mnemonic",
        "email": "john.mnemonic@smartrecruiters.com",
        "phone": "(123) 321 32 1231"
    }
}

You might have noticed in the above sample that you also have the option of adding a comment to the order using the AssessmentComment object while completing the assessment order.

After sending the complete request, the status of your assessment order status will change to ‘COMPLETED’.