Show Employee File
GET /services/api/v1/employee_files/{id}
Returns the requested employee file.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The ID of the employee file. |
Response
Requested employee file.
- Example
- Schema
{
"id": "A96ey16n",
"employee_id": "vke923ml",
"employee_file_category_id": "KZBGNQz4",
"date": "2024-07-27",
"type_of": "custom",
"display_name": "MY CV",
"name": "MY CV",
"file_url": "http://assets.onboard.org/uploads/employee_file/file/vM7WRbqLmEjpOQyag6P0/cv.pdf",
"file_filename": "cv.pdf",
"file_size": 75637,
"file_content_type": "application/pdf"
}
Attribute | Type | Description |
---|---|---|
id | string | Employee file id. |
created_at | timestamp | Creation timestamp. |
updated_at | timestamp | Last update timestamp. |
employee_file_category_id | string | Id of the employee file category the file is in. Null when file is not assigned to any category. |
date | string | Creation date of the file. |
type_of | int | Type of the file. Possible values are: ["custom", "employee_payout", "certificazione_unica", "signed_document"] |
name | string | Customizable name of the file. |
file_url | string | Temporary url to the file. |
file_name | string | Name of the file. |
file_size | int | Size of the file in bytes. |
file_content_type | string | Content Type of the file. |