In order to access this endpoint ensure that you do a GET request with an Authorization header containing your access token.
Headers:
Authorization : {token}
Content-Type : application/json
Result Codes
200 OK
201 Created
400 Bad request
403 Forbidden
500 Internal server error
Get Document
Return a Vacancy Document. The parameter is the Document Id (Guid).
Response
A file (.doc, .docx, .pdf)
Get Documents by Vacancy Id
Return a list of Documents by Vacancy Id. The parameter is the Vacancy Id.
Response
Upload Vacancy Document
Upload a Vacancy Document. Upload a file in the request body. The parameters are the Vacancy Id (Integer) and the Document Name. The Document Name is optional.
Response
[
{
"Id": "49b69573-3430-4402-a583-08b3f6d0f89d",
"Name": "document_one.docx",
"Link": "https://api.simplify.hr/v1/document/49b69573-3430-4402-a583-08b3f6d0f89d",
"CreatedDate": "2023-04-24T09:20:13.85"
},
{
"Id": "e911bfa0-0761-4a5a-8670-46dc1644df54",
"Name": "document_two.docx",
"Link": "https://api.simplify.hr/v1/document/e911bfa0-0761-4a5a-8670-46dc1644df54",
"CreatedDate": "2023-04-24T09:21:44.89"
},
]
Response Header
location: https://api.simplify.hr/v1/Document/{document-id}
Update Vacancy Document Name
Update a Vacancy Document Name with the Vacancy Id (Integer) and Document Id (Guid).
Sample Post Data
{
"Name": "Sample Document Name"
}
Delete a Candidate Assessment
Delete a Vacancy Document with the Vacancy Id (Integer) and Document Id (Guid).