I'm currently working on implementing the zip and email functionality in OpenText Content Server using the REST API.
So far, I've successfully zipped and downloaded files using the following two-step process:
POST {{csurl}}/api/v2/zipanddownload
Request Body:
{
"id_list": [605007, 90729],
"type": "ZipAndDownload"
}
This returns a cacheid.
GET {{csurl}}/otcs/cs.exe?func=multifile.downloadfile&cacheid=&downloadName=test.zip This retrieves the zipped file.
Now, I'm exploring options to email this zip file directly from Content Server. Are there any available APIs or recommended approaches to send the zip as an attachment via CS?
Additionally, I’d like to confirm whether the endpoint /v2/nodes/:nodeid/emailproperties is strictly for reading metadata, or if it supports sending emails as well.