Function:
appendData is appended to a content unit of a component in the content repository. The parameters
ContRep, docId and compId describe the component (see Definitions of Terms). The document addressed and the corresponding component must exist.Data is appended to the content unit of the addressed component.
change (u)
The client sends an
HTTP-PUT-Request. The URL or the body can contain the following parameters:
Parameter |
Optional/Mandatory |
Default |
Position |
Sign |
contRep |
mandatory |
URL |
X |
|
docId |
mandatory |
URL |
X |
|
compId |
mandatory |
URL |
X |
|
pVersion |
mandatory |
URL |
||
accessMode |
s-mandatory |
URL |
X |
|
authId |
s-mandatory |
URL |
X |
|
expiration |
s-mandatory |
URL |
X |
|
secKey |
optional |
URL |
||
Content-Length |
mandatory |
body |
s-mandatory means that this parameter must only be specified if the URL is signed.
The data to be appended is transferred as an entity body.
http://pswdf009:1080/ContentServer/ContentServer.dll?append&pVersion=0046&contRep=K1&docId=4B7689654E73D21197E70060B0672A3C&compId=data&Content-Length=980
Data transferred in the request body is appended to the content unit of the component "data" in the specified document.
The server answers the request with a response. The response status code indicates the outcome of the call.
HTTP Status Code |
Meaning |
200 (OK) |
OK, data appended |
400 (bad request) |
Unknown function or unknown parameter |
401 (unauthorized) |
Security breach |
404 (not found) |
Document or component not found |
409 (conflict) |
Document or component inaccessible |
500 (Internal Server Error) |
Internal error on Content Server |
The content server must set the dates (