API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
When to create an v2 api versus a v1?
I have created and used both v1 and v2 types of rest apis, but I am still not clear on their major differences. Can someone please explain why they both exist, and in which cases one should be preferred over the other? I am specifically talking about when you are creating them, which type should you create in which…
-
OTDS API to Update a synchronized user partition
Hi All, I am trying to update the password of LDAP user via OTDS API. I am using below api. https://developer.opentext.com/otdsws/rest/identityproviderprofiles/{profile_name} THe Get method of this API is working fine, but PUT is giving me 400 error. Any help would be much appreciated.
-
Legacy training or documentation for Content Server 10.5
I am looking for training and / or documentation for Content Server 10.5 that is helpful for workflow creation, as well as report creation. I have not found a lot of information out there.
-
Using multiple Connected Services (CWS) at .NET CORE WebAPI project
I used to build simple console applications projects with Visual Studio and could add multiple connected services references (CWS) at the .svcmap file. One folder could had all the references together without causing conflicts in the code (ambiguous reference) Now I want to create a .NET CORE WebAPI project but it acts…
-
Content Server REST API - Download File
I want to download a version of a document from Livelink/Content Server using REST API. It is working via postman. However using HTML/JavaScript there is an error. Kindly help. GET method for a node details is working but get version is not. GET node details - http://localhost/otcs/cs.exe/api/v1/nodes/30815 - Works! GET…
-
Calling consolidate missing user API
I'm calling 'Consolidate missing user' API by passing DN. But I'm receiving the following error in opentext. Unable to convert USER DN. Missing attribute cn Any idea about this error. Please let me know.
-
Search Result Page Implementation
Hello, I have been able to create custom commands, new widgets in the new Smart UI and open classic view pages from Smart Vew, albeit with addional configuration steps in <prefix>-all.js. But I not could find any any documentation or examples on how Search Result page is implemented. When a Search is performed in any…
-
Non-Working Hours / Off hours and Weekends, liveReport / webReport
Hi, I am looking to find how to calculate Non-Working hours / Off hours in LiveReports, because i have used DatePart, TooChar. these satements saying Admin blocked database change commands. Is there any other way or statement to find Non-working hours and Weekends. Thank you in Adavance.
-
Encryption and CWS calls
We have requirements to use encrypted dataid for the node services. Is there such feature or functionality within CWS to encrypt at least the dataid or the whole request if possible. The reason is we will be having an external business application integrated with our OTCS, and trying to ensure that document dataid cannot…
-
How to get content using API's for linux version
Hi team let us know how to get the content using Rest API for Linux version please find the attached screen shot for reference
-
OpentText site not reachable after Tomcat Upgrade
OpenText server and Tomcat are installed on Windows server. I updated Tomcat from 9.0.0.M20 to 9.0.71 version. OpenText content server 16.2.0 Made a backup of Tomcat Config and WebApps folder, and after Tomcat upgrade i restored those folders and started Tomcat service. http://localhost:8080 available, but when accessing…
-
How to change validation in user login page
Hi Team, Need to change validations instead of 6 need to change to 14 characters, Please find the attached screenshot for reference.
-
Get document as byte array / byte stream / base64 etc... VIA REST API from Content Server
Hi, I want to get a document from Content Server in a bytes format. The only format that I found is by getting it's content and it seems to be unclear if I can somehow encode it or transform it to a byte array. Whenever I make this GET call : api/v1/nodes/{id}/content I get a preview of a file, it's content, as it suppose…
-
UAPI AddToByIDs strange behavior
Hopefully I am in the correct forum to post this. We have an issue with the call to UAPI.AddToByIDs. The function is called within an event script with admin session created in the code. When ever the call is used to add the current step user (or previous step user if it's called in an automatic step) into a group, the…
-
How to display a Content Server document in a File Viewer instance using Viewing service ?
Hi, I am currently trying to display a Content Server document in a File viewer instance from the Viewing service. So i tried to create a rendition for the desired file, in order to get the publication. So I would like to know if it is possible to retrieve a publication object for a file of the Content Server and if it is,…
-
How to Search Nodes By Name Using Rest API - Extended ECM - Content Server 16.2
Is it possible search nodes by name? Is there any endpoint for this?
-
How to Send a mail while adding a team member as a contributor in a business workspace
How to Send a mail to a team member while adding this team member as a contributor inside a business workspace in OpenText content server, is there any way to do this through out of a box feature or a workaround through customization
-
Simple Search VIA REST API - api/v2/search
Hi, I need to make a simple search to get documents by some parameters. I scouted this forum for some info and got a few queries that can fit : .../otcs/cs.exe/api/v2/search?where={OTSubType:144}&limit=3®ions={OTDataID:74818} So I assume that this query searches documents (type 144) at the folder (OTDataID:74818) and…
-
Update Category using Content Server API
hi all, i tried to update a document category using content server rest api and it works for some documents but not for most of the .zip files. The error thrown is "api error 675086344 error updating the modification date of content server". Does anybody know what could be the issue?
-
Document Upload using RestApi - with URL instead of file
Hi, have anyone used a url where another application holds the file for upload instead of the file path on local machine? Having issues where the RestApi returns ERROR File could not be found in the upload directory.