Add Attachment
POST/cases/:caseNumber/attachments
Attaches a file to an existing case: a log extract, a photograph of the equipment, a
report. The file reaches the teams handling the case and appears straight away in the shared
folder for that case, at the address returned as cloudLink on the case details.
A file is stored under the name you give it. Sending a name that is already on the case replaces the file that was there, and the previous content is not kept — so use a distinct name when you mean to add a second file rather than correct the first. Files cannot be renamed or removed through this API.
Request
Responses
- 201
- 400
- 404
- 409
- 500
The file has been attached. The identifier returned addresses it on this case, and is what you will use to fetch it.
The file is missing, empty, or larger than the maximum allowed, or the name given to it cannot be stored — it carries one of % # ? & + or a control character, is made only of dots, or is longer than 200 characters.
No case with this number belongs to your account.
The case is closed and no longer accepts attachments. A resolved case still does.