Document Upload
This API is to upload documents using candidate id and document id.
Headers
-
application/json
-
application/json
Body
-
document_id integer
-
issue_date string(date)
-
expiry_date string(date)
-
file string
POST
/candidate/{id}/document-upload
curl \
-X POST https://api-console.logezy.co/v1/candidate/{id}/document-upload \
-H "Content-Type: string" \
-H "Accept: string" \
-d '{"document_id":42,"issue_date":"2025-05-04","expiry_date":"2025-05-04","file":"string"}'
Request examples
# Headers
Content-Type: string
Accept: string
# Payload
{
"document_id": 42,
"issue_date": "2025-05-04",
"expiry_date": "2025-05-04",
"file": "string"
}
Response examples (200)
{
"data": {
"id": 10350,
"file": "https://cdn-assets-logezystaging.s3-eu-west-1.amazonaws.com/demo_agency/1701175788file.png",
"title": "Degree Certificate",
"issue_date": "2023-04-11",
"description": null,
"document_id": "102",
"expiry_date": "2023-11-11",
"candidate_id": "38",
"document_category": "Certificate"
},
"status": "success",
"message": "Documents uploaded successfully."
}
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
</root>