/comments – list

Description

Enables you to get a list of comments associated with a particular assessment order.

Request

GET https://api.smartrecruiters.com/v1/assessments/{assessmentOrderId}/comments?limit={limit}&offset={offset}

Path Parameters

name type description
assessmentOrderId string unique id of an assessment order

Query Parameters

name type description
limit string number of comments to return, max is 100, default is 10
offset string number of comments to skip while processing the results, default is 0

Request Body

n/a

Response Body

ListResult containing list of AssessmentComments

Example request

curl -i -H "X-SmartToken: abc123" -X GET https://api.smartrecruiters.com/v1/assessments/511a3942300469a9c33819d8/comments

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
{
    "limit": 10,
    "offset": 0,
    "totalFound": 2,
    "content": [
        {
            "id": "211a3942300469a9c33819d1",
            "createDate": "2013-03-08T09:22:01.605+0000",
            "message": "We are starting work on this. This assessment should take about 3 business days.",
            "author": {
                "firstName": "John",
                "lastName": "Mnemonic",
                "email": "john.mnemonic@smartrecruiters.com",
                "phone": "(123) 321 32 1231"
            }
        },
        {
            "id": "333a3942300469a9c33819aa",
            "createDate": "2013-03-08T09:22:01.605+0000",
            "message": "Candidate is not responding to emails and is not answering the calls. We can't reach him.",
            "author": {
                "firstName": "John",
                "lastName": "Mnemonic",
                "email": "john.mnemonic@smartrecruiters.com",
                "phone": "(123) 321 32 1231"
            }
        }
    ]
}