Hi,

I didn't found a "Groupwise-REST-Forum for SDK". Maybe someone can help anyway?
Try to create a user with curl or wget described here: http://www.novell.com/documentation/.../b12ypdkh.html

No success. I receive errors with a xml and a json-request:

What I do:
# createUserXML.sh
curl -X POST -u admin:myPassword --insecure -d @user.xml https://192.168.2.125:9710/gwadmin-s...fices/PO/users --header "Content-Type:text/xml"
#END

Receive from Server "UNSUPPORTED_MEDIA_TYPE":
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><apiStatus xmlns:ns2="http://www.w3.org/2005/Atom"><error>true</error><httpStatus>UNSUPPORTED_MEDIA_TYPE</httpStatus><httpStatusCode>415</httpStatusCode></apiStatus>--

the "user.xml"-File:

<user>
<name>testUser1</name>
<forceNullOnAttrs/>
<domainName>GWDOM</domainName>
<postOfficeName>PO</postOfficeName>
<surname>Surname1</surname>
</user>




# createUserJSON.sh
curl -X POST -u admin:myPassword --insecure -d @user.json https://192.168.2.125:9710/gwadmin-s...fices/PO/users --header "Content-Type:application/json"
# END

Receive from Server "BAD_REQUEST":
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><apiStatus xmlns:ns2="http://www.w3.org/2005/Atom"><error>true</error><httpStatus>BAD_REQUEST</httpStatus><httpStatusCode>400</httpStatusCode></apiStatus>

The "user.json"-File:

expirationDate=0
postOfficeName=PO
name=testUser1
surname=testSurname1
directoryUser=false
domainName=GWDOM

Someone have experiences?

Thanks Heiko