This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GroupWise REST API

Good morning,
 
Customer is attempting to use REST to move a GW Resource, the Resource has a "/" symbol in it, for example: my/resource~ when they attempt to perform the move there is an error, which we are assuming is the issue with the "/" is there a way to encapsulate that Resource name such as in single quotes 'my/resource' or double quotes "my/resource"
 
Thank you for any assistance that can be offered
 
Daniel

Tags:

Parents Reply Children
  • Hi Daniel,

    If that doesn't work you could consider renaming the resource first to remove the illegal characters:

     

    curl -k --user admin:password -H "Content-Type:application/json" -X POST ipofserver:9710/.../rename --data '{"objectId":"RESOURCE.dom1.po1.Test Resource","newObjectId":"TestResource"}'

     

    In the example above the resource had a space in the name.  This should work with any other illegal character.

     

    Cheers,