OTDS REST API - Getting error while adding user to a group
Good morning,
We are trying to add users to groups on OTDS using the OTDS REST APIs. The group ID contains blank spaces, for example "Finances - Managers".
The call the following: POST - http://servername:8080//otdsws/v1/groups/Finances - Managers/members
Within the body of the request we entered the stringList parameter with the correct entryDN of the user.
If we run the request using a test tool like Postman, the user is correctly placed in the group.
However, if we run the request from our Java application (via HttpURLConnection), the user is not included in the group receiving a "Bad request" response.
We thought the blank spaces could cause the error, so we replaced it with %20 but the error is the same.
Can you help me?
Thanks so much,
Pamela Ferrari
Comments
-
I opened a ticket with OpenText and my error was the body parameters.
With otdws/v1 I have to use string_list otherwise with otdws/rest I have to use camelCase stringList.0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 146 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 173 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax