Function:delete

  • Effect

A 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.

  • Default

The document, including all administrative data (document header and components) and the content, is deleted completely.

  • Access Mode

delete (d)

  • Start of the navigation pathClient  Next navigation step  ServerEnd of the navigation path

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

   
  • Example

http://pswdf009:1080/ContentServer/ContentServer.dll?delete&pVersion=0046&contRep=K1&docId=4B7689654E73D21197E70060B0672A3C&compId=data

Component "data" is deleted in the named document.

  • Start of the navigation pathServer  Next navigation step  ClientEnd of the navigation path

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