-
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
-
CSUI Widget
I am conducting a proof of concept for Open Text Content Server UI widgets. Here are the steps I performed Created a Sandbox with CS 16.0.4 (2017-03) Created an html page (bellow) with the sample code provided in documentation csui.onReady(function () {new csui.widget.FolderBrowserWidget({placeholder:…
-
why I get a 500 error on a request for a OTCSticket - CS16.2
I use postman to send a POST request for OTCSticket http:// .../api/v1/auth?username=yyyyy&password=xxxxxx but I get an http 500 error with the response ... { "error": "Argument \"username\" is required." } the GET is working fine.
-
New CSNode Browse action returns zero records
Orphan CSNODE:Root:ObjectsWithPrototypes:Objects:Nodes override List actions = { 'Browse', 'Create', 'Delete', 'Update', 'Copy', 'Move', 'issue' } override Boolean enabled = TRUE override Integer type = 15000 override String type_name = 'customnode' override Boolean container = TRUE override List child_types =…
-
Need a sample Request Payload for "Adding an additional permission to the node"
Hi, I am trying to add additional permission to the node using the following api: POST api/v2/nodes/{id}/permissions/custom I tried with all possible ways, it's not working. I keep getting the following error: "One or more parameters are invalid" Can anybody send some working Request Payload, please? Thanks,