OpenText Content Server Using REST API
Creating a basic OpenText 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
{
"name": "OpenText",
"platform": {
"id": "opentext-cs"
},
"auth": {
"uri":"http://url",
"username":"USER",
"password":"PASSWORD",
"auth_type":"ntlm"
}
}
Creating a Job
Example Job: OpenText connection created as standard user, 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}"
}
} |
Â