v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
s) Attachment Management

Update an attachment by ID

put/eclipse-conductor/rest/v1/tenants/{tenantId}/attachments/{attachmentId}

Path parameters

tenantIdinteger required
attachmentIdinteger required

Request body

attachmentIdinteger
attachmentTypestring required

File name for the attachment.Supported file for pdf,doc,json,text

base64EncodedAttachmentstring

Optional base64 Encoded data of the attachment

fileNamestring

Optional file name for the attachment

infostring

Optional text data of the attachment.You can pass text and json data in Info

mediaTypestring

Optional media type of the attachment.Supported media types for application/pdf, image/png or image/jpeg,application/json,text/plain

Response

OK

attachmentIdinteger
attachmentTypestring required

File name for the attachment.Supported file for pdf,doc,json,text

base64EncodedAttachmentstring

Optional base64 Encoded data of the attachment.

createdstring date-time
fileNamestring

Optional file name for the attachment

infostring

Optional text data of the attachment.You can pass text and json data in Info

lastModifiedstring date-time
mediaTypestring

Optional media type of the attachment.Supported media types for application/pdf, image/png or image/jpeg,application/json,text/plain

Example response

{
  "created": "2022-03-10T12:15:50-04:00",
  "lastModified": "2022-03-10T12:15:50-04:00"
}