Function:
deleteA component or an entire document is deleted. A document to be deleted is addressed via
contRep and docId. The parameters contRep, docId and compId identify the component to be deleted.The document, including all administrative data (document header and components) and the content, is deleted completely.
delete (d)
The client sends an
HTTP-GET-Request. The URL can contain the following parameters:
Parameter |
Optional/Mandatory |
Default |
Sign |
contRep |
mandatory |
X |
|
docId |
mandatory |
X |
|
compId |
optional |
all components |
X |
pVersion |
mandatory |
||
accessMode |
s-mandatory |
X |
|
authId |
s-mandatory |
X |
|
expiration |
s-mandatory |
X |
|
secKey |
optional |
s-mandatory means that this parameter need only be specified if the URL is signed.
http://pswdf009:1080/ContentServer/ContentServer.dll?delete&pVersion=0046&contRep=K1&docId=4B7689654E73D21197E70060B0672A3C&compId=data
Component "data" is deleted in the named 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, document/component(s) deleted |
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 |