Documentum Using REST API
Creating a Connection
A basic Documentum connection can be made using the example below.
POST {{url}}v1/connections/ |
---|
{
"name": "display name goes here",
"platform": {
"id": "documentum"
},
"auth": {
"uri": "http://CMIS URL",
"username": "username",
"password": "password",
"repository": "repository name",
"item_type": "cmis:document",
"secondary_item_types": "property1;property2;property3",
"agent_url": "http://CMIS URL/documentum-usermapping",
"lifecycle": "lifecycle state"
}
} |
Creating a Job
Below is an example Job for a connection created as standard user, no impersonation.
POST {{url}}v1/jobs |
---|
{
"name":"Simple Job",
"kind": "transfer",
"transfer": {
"transfer_type": "copy",
"source": {
"connection": { "id": "Source Connection ID" },
"target": {
"path": "/sourceDocumentLibrary"
}
},
"destination": {
"connection": { "id": "Destination Connections ID" },
"target": {
"path": "/destinationFolder"
}
},
"simulation_mode": false
},
"schedule": {
"mode": "manual"
},
"stop_policy": {
"on_success": 5,
"on_failure": 5,
"on_execute": 25
},
"category": {
"name": "Report {Name}"
}
} |