-
CS16.2 REST API - how to use the tkl attribute validvalues 'attribute_values' parameter?
Hi all, I'm trying to use the api/v1/tklattribute/validvalues call to return valid values for some cascading TKL attributes I have defined on a category. The call works great for the top level attribute, but I don't know what to put in the 'attribute_values' parameter to get it to work for the dependent attribute(s). The…
-
Uploading documents using the Java implementation of REST API not working
Greetings. I'm new to the OPENTEXT Rest API and while I'm able to authenticate/create folders using it, I can't get the document upload to work. The following is the code I've been using: import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundException;import java.io.InputStreamReader;import…
-
Converting LAPI code to CS Web service calls
hi all, when converting LAPI code to CS web service calls, it seems like there are lot less API from the web service. The following is an example of creating a sub folder with LAPI: //create session and document object. var LLs = New LLSession(…); var DOCUMENTS = New LAPI_DOCUMENTS(LLs); var LL_ATTR = New…
-
Fetch groups from a specific OTDS partition using filter parameter
Hi, Can we fetch all the otds groups of specific partition by using where_filter parameter of the below API. /otdsws/v1/groups?where_filter=%querystringtoidentifypartition%. Thanks
-
CORS issue on URL: api/v1/nodes/<id>/versions/<version number>/content
I'm presently receiving a CORS error message when trying to retrieve the content of a document through the CS 10.5 rest api with javascript. The weird part of this problem is that all other CS 10.5 rest api calls are presently working in my test case. Also when using postman to test the get content call it works correctly.…
-
Getting app settings in mobile app
I am able to declare app specific settings in app.properties file of my mobile bundle. For example: restUrl.type=stringrestUrl.displayName=REST Server URLrestUrl.descriptions=If REST server is not proxied via Appworks Gateway then provide full URL starting with http(s)://, otherwise provide relative URL starting with…
-
Examples on using Rest API on OTDS to modify existing users attributes
Hi, I have started working with OpenText and the development for OTDS. For the beginning it would be very helpful to me if there are some existing examples on how to connect to a server (OTDS) and on how to modify attributes of users within a partition. If some of the more experienced developers could provide me with some…
-
AuthenticateUser SOAP service through JAVA
I am trying to use Document Management web services when i use AuthenticateUser to create token with SOAPUI tool and use the token to get detials it is working fine but when i create that token with Java code its not working bellow is my sample java code import java.io.StringReader; import…
-
Looking for some examples on using REST API for workflows
Hello, We are currently doing a POC on using Content Server 16.2.3 REST API for Workflows for below scenarios: • Initiate workflows using Alpaca forms • Upload docs before we initiate workflows • Show form data in Alapaca forms • Complete workflow task • Integrating user picker/widget on the alpaca forms to set user…
-
GET content return as JSON Format
Hi, Is it possible to have either of the following API calls return in JSON format? GET: api/v1/nodes/{id}/content (?action=download) GET: api/v1/nodes/{id}/versions/{version}/content New to CS API's Thanks in advance Regards Stewart