OpenText Content Server (REST API)

Create an OpenText Content Server connection using the DryvIQ REST API.


Creating a Basic Connection

Create a basic OpenText connection at the following endpoint.

GET {{url}}v1/connections/platforms/opentext-cs/new

Creating a Connection with Applicable Authorization Type

POST {{url}}v1/connections/
{
 "name": "OpenText",
 "platform": {
   "id": "opentext-cs"
 },
 "auth": {
   "uri":"http://url",
   "username":"USER",
   "password":"PASSWORD",
   "auth_type":"ntlm"   
 }
}

Creating a Job

The following example creates a job for an  OpenText connection created as standard user with no impersonation.

POST {{url}}v1/jobs
{
   "name":"Simple Job",
   "kind": "transfer",
   "transfer": {
     "transfer_type": "copy",
       "source": {
           "connection": { "id": "{{OpenText_Connection_sourceID}}" },
           "target": {
               "path": "/sourceDocumentLibrary"
           }
       },
       "destination": {
           "connection": { "id": "{{Box_Connection_destinationID}}" },
           "target": {
               "path": "/destinationFolder"
           }
       },
       "simulation_mode": false
   },
   "schedule": {
       "mode": "manual"
   },
   "stop_policy": {
       "on_success": 5,
       "on_failure": 5,
       "on_execute": 25
   },
   "category": {
     "name": "Report {Name}"
   }
}