complete

Description

Enables you to mark the status of an assessment order to complete.

Request

POST https://api.smartrecruiters.com/v1/assessments/{assessmentOrderId}/complete

Path Parameters

name type description
assessmentOrderId string unique id of an assessment order

Query Parameters

n/a

Request Body

Instance of AssessmentComment

Response Body

Instance of AssessmentOrder

Example request

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/511a3942300469a9c33819d8/complete

Example request body

1
2
3
4
5
6
7
8
9
{
    "message": "Order is completed, all results are sent",
    "author": {
        "firstName": "John",
        "lastName": "Mnemonic",
        "email": "john.mnemonic@smartrecruiters.com",
        "phone": "(123) 321 32 1231"
    }
}

Example response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
    "id": "511a3942300469a9c33819d1",
    "status": "COMPLETED",
    "createDate": "2013-03-07T13:34:40.137+0000",
    "lastUpdateDate": "2013-03-07T13:34:40.137+0000",
    "requestor": {
        "firstName": "Rob",
        "lastName": "Kaman",
        "email": "rob.kaman@smartrecruiters.com",
        "phone": "(415) 111-2222"
    },
    "candidate": {
        "id": "e63dfcab300260b2591f585126ede56627db4ef8",
        "firstName": "Mark",
        "lastName": "Hunt",
        "email": "mark.hunt@smartrecruiters.com",
        "phone": "(415) 111-2222",
        "addressLine": "409 North Magnolia Avenue, Orlando, FL 32801, United States"
    },
    "job": {
        "id": "e63dfcab300260b2591f585126ede56627db4321",
        "name": "Senior Ruby Developer",
        "industry": {
            "id": "computer_software",
            "label": "Computer Software"
        },
        "function": {
            "id": "engineering",
            "label": "Engineering"
        },
        "experienceLevel": {
            "id": "mid_senior_level",
            "label": "senior"
        },
        "location": {
            "country": "US",
            "region": "FL",
            "city": "Orlando"
        }
    },
    "company": {
        "id": "511a3942300469a9c33811d1",
        "name": "Orlando Magic Inc."
    },
    "offer": {
        "catalogId": "bbb-444-111",
        "name": "Senior Ruby Developer Skill Test"
    }
}