Skip to Content

docGet and create/mcreate examples

Hi all,

I'm quite new to using the SAP interface. I read it's documentation and still not everything is clear to me.

First, when you say document and component, is it like directory and file? For example, I have a zip file (test.zip) that I want to 'create' and then 'get', in this case to get it I pass the docId as the zip file name or I need to pass the compId here? i.e is it:

http://pswdf009:1080/ContentServer/ContentServer.dll?docGet&pVersion=00 45&contRep=K1&docId=test

or

http://pswdf009:1080/ContentServer/ContentServer.dll?docGet&pVersion=00 45&contRep=K1&docId=361A524A3ECB5459E0000800099245E& compId=test.zip

?

-------------------------------------

Second, if I want to create the zip file (test.zip), how to do it?

http://pswdf009:1080/ContentServer/ContentServer.dll?create&pVersion=00 45&contRep=K1&docId=test and passing the test.zip in the request entity?

and how the response would look like?

-------------------------------------

Third, if I want to use mcreate, how does the request look like? and the response?

Examples are HIGHLY appreciated. I'm working with groovy and trying to figure it out but sorry the document is not enough.

Many thanks in advance,

Joud

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers