Skip to main content
Skip table of contents

OpenText Extended ECM Connector v1.0

1. General Information

Note: In Content Server we have to use Type and parent_id in most of the actions. Folders have type 0 and Documents have type 144. The parent ID 2000 is commonly used to refer to the "Enterprise Workspace" or the root container in many Content Server installations.

2. Prerequisites and Additional Steps, Developer Key

OpenText Content Server forms the document management cornerstone of the OpenTextâ„¢ Content Suite Platform, as well as a broad range of OpenText products including:

  • OpenText Extended ECM for Microsoft SharePoint

  • OpenText Extended ECM for SAP Solutions

  • OpenText Extended ECM for Oracle E-Business Suite

  • OpenText Extended ECM for Salesforce

  • and other OpenText offerings.

 

image-20240729-112625.png

 


3. Authentication

a. OTCSTicket

The OTCSTicket is an authentication token used in OpenText Content Server to maintain session state for a user.

b. Obtaining an OTCSTicket

Using Basic Authentication:

You can obtain an OTCSTicket by sending a request to the /api/v1/auth endpoint with your username and password.

curl -X POST '<http://<ContentServerURL>>/otcs/cs.exe/api/v1/auth' \
-H 'Content-Type: application/json' \
-d '{"username": "yourUsername", "password": "yourPassword"}'

Response will be the ticket to be used in request headers for authentication like below.

CODE
{
    "ticket": "I+hHI2cc4iTDsaYquT/xxxxxxxxAABxexfxxxxxx/vqo5EjtrY7xxxxxgUSGMtzoV8BrcEAdnsN9iY8K/8aKEva4soxxxxxxdltT6P2uZI5eW+4Ulw=="
}

c. Authorization Header / OTCSTicket header

OTCSTicket obtained in previous step will be used in OTCSTicket header for user authentication in next requests.

4. Connector Action & Tests

Nodes: Create node | Copy a node (POST)

Action Name / Method

Nodes: Create node | Copy a node (POST)

Action Description

This flow is used to create a node of any type like folder, document etc

Test Case

This flow is used to create a node of any type like folder, document etc

Request Body Name

Paramenter

 

type

required

 

name

required

 

parent_id

 

image-20240813-073801.png

Subfolder Id:

When creating a folder in root folder or it’s subfolders the type parameter value should be 0. The response returned by the action Nodes: Create node | Copy a node (POST) is the id of the folder created in root folder or in subfolder, like 1709897 is the id subfolder in above example.

5. Connection Settings and Configuration

 

Settings Parameters

Value

Description

Required (Y/N)

Default Value

Settings Parameters

Value

Description

Required (Y/N)

Default Value

Connector

OTCS

Connector Name

Y

OTCS

Host Name

Endpoint required for performing CRUD

Y

Authentication

Custom

Type of authentication

Y

 

Username

{username}

Username for authentication

Y

 

Password

{password}

Password of the user

Y

 

Endpoint

h

Endpoint for obtaining OTCSTicket

Y

Session Validity URL

 

Y

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.