Employees

Upload a file attachment to an employee

post/api/employees/{id}/attachments

Request

  • Base URL: https://ewihub.posechecker.com (the document declares no server; this is the origin it was published from)
  • URL: https://ewihub.posechecker.com/api/employees/{id}/attachments
  • Auth: HTTP bearer

Path parameters

idstring required

Response

idstring required

Attachment ID

keystring required

S3 object key

originalNamestring required

Original file name

mimeTypestring required

MIME type

sizenumber required

File size in bytes

labelstring

User-provided label

uploadedBystring

User ID of uploader

createdAtstring required

Upload timestamp

Example response

{
  "originalName": "report.pdf",
  "mimeType": "application/pdf",
  "size": 204800
}

Changes

No recorded changes to this operation across all 1 revision of this API.