API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
Subgroup in category
How get the subgroup from category in cal api rest in Content server 22.1?
-
OpenText System Center manager. Steps, Executions plans, Utilization
What I intend to do: Create/Modify Configuration files (.ini and .xml) Hello, I am looking for information regarding system center manager, I have read through the Administration and configuration guides, watched all that there is on the OpenText-How-To YouTube page, and took to Documentations I received in my Training…
-
WR REST API syntax for DATETIME
Hi folks We are initiating a Workflow from a Web Report and starting the web report from a REST API call. One of the attributes is a DATETIME and I am able to send the appropriate string to get the DATE part set, but all my efforts at setting the time are failing. I've tried "02/05/2024 09:42 AM", "02/05/2024 9:42 AM",…
-
Access Image URL without Extension from OpenText Content Server
Hi Team, We are trying to access this image from OpenText Folder using JAVA, but we have no idea how to do this. We have very large OpenText Document Server. URL : https://abc-dev.company.com/otcs/cs.exe/1222348/product.png?func=doc.Fetch&nodeid=1222348&viewType=1 The URL is modified to protect the integrity, but it the…
-
Classify API
When using Classify API I put in the project name and it returns "Erreur générique irrécupérable. IsRecoverable: False, Target exception message: Failed to find a processing engine. Item type: Recognition project, Item name: ",
-
Rest API add version C#
Anyone has an example on how to upload document as a version using C# and CS Rest API v2/versions. I'm able download a document, even create a document (long time ago), but for some reason can't get a version upload. I'm able to upload a version in Postman, but It keeps failing when using C#.…
-
Adds a new version on the node.
How to build the payload to add a version to a node. I am following the Content Server 21.1 REST API documentation and it responds with an error bad request
-
Define mime type in API call?
We have an automated process using the API that creates a folder structure and uploads PDFs to Content Server. Unfortunately, this proicess does not define the mime type so it's set as "application/octet-stream", which means that these documents are excluded from renditioning, since our rendition rule is set for PDFs and…
-
REST API - Upload a document to add a new version
Does Rest API support the function to upload a document to exiting item as a new version? What's the correct structure to make the call? Thanks.
-
CreateDocument VIA RestAPI - Getting bad request.
This is a method I wrote with c# that uses the post request to create a new document on CS : public async Task<string> CreateDocumentAsync(string fileName) { var values = new Dictionary<string, string> { { "type", "144" }, { "parent_id", "2000" }, { "name", fileName }, { "file", @"C:\Users\blabla\Documents\New Text…
-
Connecting a third party system using OTCS REST API
We have to connect the OTCS with a web application called Document Locator using the OTCS REST API. Requirements are, 1. Adding a new folder/document. 2. Updating the metadata. 3. Creating a workflow in OTCS and call that from Document Locator. Can someone help me how to do that? Is there any documentation that I can…
-
OTCS RestAPI: how to authentication a user which is in an Async Partition with SAML2.0?
Hi guys, When I access OTCS, SSO happens with SAML2.0. So far so good. Problem: When I try to use the OTCS RestApi (api/v1/auth) I always get "invalid username/password specified". I tried all the combinations playing around with the account domain, but can't find a way to make it work. Note: The request works fine if I…
-
set attributes when initiate workflow using RestAPI
I am calling this endpoint to initiate a workflow /api/v2/processes and set the body={"definition":{"workflow_id":30568}} I want to pass 2 attributes called "Name" and "Email" that I should take this attributes in the start step how I can do this ? I tried to set the body as {"definition":{"workflow_id":30568},…
-
initiate workflow rest api 22.1
Hi, Is there an example where they show how to consume the API rest of starting a workflow process?
-
Change Document Create Date With Rest API
Hi, I'm trying to change document's Create Date value with the api/v2/nodes/{id}/systemattributes PUT request. Here is the documentation : I try to set it to 2020-01-01 and this is the response that I get : It seems that it only returns the info and not even changing the create_date field. What am I doing wrong? is it even…
-
CORS issue when trying to authenticate
Hi, i got an error when im trying to authenticate using otcs/cs.exe/api/v1/auth with POST method, my origin is from localhost if that matters. So how to resolve it is there any configuration that i need to follow?
-
Create a node with Categories and Classifications in one call? Roles do not seem to be accepted!
Hi all, I am new and experimenting with Opentexts API. We have a task of moving multiple files from one destination folder to another. In terms of the file we would like to add categorie(s), Classifications and also apply advanced versioning. What I am trying is to just create a file at the moment, while adding categories…
-
Opentext Webreport Trigger functionality
Is it possible to get the user/performer who initiated the trigger even. Could you please help me which tag should be used.
-
Does Create document in /v2/nodes API support multipart/form-data?
Hi, I am having trouble uploading files with the Content Server 22.2 REST API. https://developer.opentext.com/ce/products/extendedecm/apis/contentserver222restapi POST /v2/nodes Create document required fields: type, parent_id, name, (file or upload_key) defaults: type = 144 Please tell me about the above. Is the…
-
Got error when trying api/v2/nodes/{id}/nodes?fields=properties{name,id}
When I tried to use "api/v2/nodes/{id}/nodes?fields=properties{volume_id, name, description, type_name}" to filter columns returned, I got error below: java.lang.IllegalArgumentException: Illegal character in query at index 98:…