/results /attachments – list

Description

Enables you to get a list of attachments submitted to a particular assessment result.

Request

GET https://api.smartrecruiters.com/v1/assessments/{assessmentOrderId}/results/{resultId}/attachments

Path Parameters

name type description
assessmentOrderId string unique id of an assessment order
resultId string unique id of an assessment result

Query Parameters

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

Request Body

n/a

Response Body

ListResult containing list of AssessmentResultAttachment

Example request

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

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
{
    "limit": 10,
    "offset": 0,
    "totalFound": 3,
    "content": [
        {
            "id": "511a3942300469a9c33819d8",
            "createDate": "2013-03-13T14:44:24.108+0000",
            "lastUpdateDate": "2013-03-15T10:20:12.108+0000",
            "fileName": "JetLi_JavaTest.pdf"
        },
        {
            "id": "333a3942300469a9c33819d8",
            "createDate": "2013-03-13T14:44:24.108+0000",
            "lastUpdateDate": "2013-03-15T10:20:12.108+0000",
            "fileName": "JetLi_EjbTest.pdf"
        },
        {
            "id": "333a3942300469a9c3381aaa",
            "createDate": "2013-03-13T14:44:24.108+0000",
            "lastUpdateDate": "2013-03-15T10:20:12.108+0000",
            "fileName": "JetLi_RubyTest.pdf"
        }
    ]
}