{

"post": {
  "operationId": "createAttachment",
  "description": "Create a new attachment: <p>curl -H 'X-Samanage-Authorization: Bearer TOKEN' <br>-F 'file[attachable_type]=PARENT_OBJECT_TYPE' <br>-F 'file[attachable_id]=PARENT_OBJECT_ID' <br>-F 'file[attachment]=@/PATH/TO/FILE' <br>-H 'Accept: application/vnd.samanage.v1.3+xml' <br>-H 'Content-Type: multipart/form-data' <br>-X POST https://api.samanage.com/attachments.xml/json </p>",
  "tags": ["Attachment"],
  "responses": {
    "200": { "description": "File successfully attached" },
    "400": { "description": "Bad request" },
    "500": { "description": "Server error" }
  }
}

}