Function:
updateOne or more components of a document in the content repository are overwritten. The parameters
contRep, docId and compId describe the component (see Definition of Terms). This function is used to modify existing documents and components. The function can be called using HTTP-PUT or HTTP-POST.The variant
HTTP-PUT is used to create or overwrite a single component of an existing document. One component only can be loaded onto the Content Server. With HTTP-POST (multipart/form-data), on the other hand, the entire document is always overwritten, not just single components. Thus, an entire document is updated to the latest version by means of a single request.