Submit Timesheet Documents via API
As a Third Party, I would like to be able to attach documents to Timesheets using the Firefish API
Acceptance Criteria
An endpoint should be available that allows a third party to attach Documents to timesheets in Firefish
POST api/v1.0/timesheets/{TimesheetRef}/documents
The file restrictions should match the same as those present for the user in the front end, as per BETA-2155: Timesheet Documents
Done
Maximum of 5 documents allowed per timesheet
Maximum size of 10MB per document
Allowed File Types: all image, document and pdf formats (matching front end restrictions)
Validation messages should accurately inform the third party if a document isn’t accepted:
“File Rejected: <reason>”
Adding additional files to a timesheet shouldn’t replace any existing attached files
Attaching a Document to a Timesheet should not change the status of that timesheet
Additional information
We currently already do this on the Candidate API for submitting CVs, so the expectation is that this should follow the same techniques: api/v1.0/candidates/{CandidateRef}/documents

🚀 Your feature suggestion is live! Now it’s time to rally support—share it with your colleagues and get those votes in.
💡 "An idea can turn to dust or magic, depending on the talent that rubs against it." Let’s make yours magic. The more votes your Firefish feature suggestion gets, the better its chances of making it onto our roadmap.
Start sharing and make an impact! 🔥
Firefish Product Team🐠.