Attachment - LIST (Retrieve FileID)
This API is used to extract list of employee attachments data (e.g., resume, profile photo, etc.). It retrieves attachment from TblEmployeeAttachment table, joined with TblAttachment.
Note: this API does not return the actual file or binary content. In order to get actual file (in binary format), use the FileID returned from this API in the GetAttachment API.
It can also filter with EmployeeCode parameter for a specific employee. If EmployeeCode is not provided, the API returns attachments uploaded in the past 30 days.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
InterfaceCode
Response headers
CF-RAY
pragma
expires
Cache-Control
CF-Cache-Status
x-frame-options
x-aspnet-version
x-xss-protection
x-content-type-options
content-security-policy
strict-transport-security
Response
OK
FileID
Source
FileName
DateCreated
AttachmentID
EmployeeCode
FileSizeInBytes
OriginalFileName
