updateDocument

abstract suspend fun updateDocument(entityType: String, entityId: Long, documentId: Long, contentLength: Long? = null, dateFormat: String, description: String, locale: String, name: String, uploadedInputStream: MultiPartFormDataContent): PutEntityTypeEntityIdDocumentsResponse

Update a Document Note: A document is updated using a Multi-part form upload Body Parts name Name or summary of the document description Description of the document file The file to be uploaded Responses:

  • 200: Not Shown (multi-part form data)

Return

PutEntityTypeEntityIdDocumentsResponse

Parameters

entityType

entityType

entityId

entityId

documentId

documentId

contentLength

Content-Length (optional)

dateFormat

(optional)

description

(optional)

locale

(optional)

name

(optional)

uploadedInputStream

(optional)