Start of Content Area

Background documentation Function: create with HTTP-PUT  Locate the document in its SAP Library structure

A new document with the specified docId is created. One component is stored in the content repository. The security level is set according to the standard specified on the content server.

create (c)

The following parameters are possible:

Parameter

Optional/ mandatory

Default

Position

Sign

contRep

mandatory

 

URL

X

compId

mandatory

 

URL

X

docId

mandatory

 

URL

X

pVersion

mandatory

 

URL

 

Content-Type

optional

 

body

 

charset

optional

 

body

 

version

optional

 

body

 

Content-Length

mandatory

 

Header body

 

docProt

optional

server setting

URL

X

accessMode

s-mandatory

 

URL

X

authId

s-mandatory

 

URL

X

expiration

s-mandatory

 

URL

X

secKey

optional

 

URL

 

 

Example

http://pswdf009:1080/ContentServer/ContentServer.dll?create&pVersion=0046&contRep=K1&docId=4B7689654E73D21197E70060B0672A3C&compId=data&Content-Length=300

The document component "data" is stored. The component data is transferred as an entity body.

End of Content Area