Hello, I'm testing the IDM API for an upcoming project that will require to create a workflow send some files on IDM in an email. So I've found something about the /submit endpoint in the official documentation but when I try it on ION API I'm getting this error message:
{
<span class="hljs-attr">"success": false,
<span class="hljs-attr">"errorMessage": "Failed to add the distribution status item to IDM."
}
This is the body I'm testing. Am I missing something?
{
"input": [
{
"type": "pid",
"pid": "CS_CamaraComercio-8-1-LATEST"
}
],
"targets": [
{
"type": "email",
"to": "escarela@outlook.com",
"subject": "Test IDM mail",
"body": "Test",
"attachments": [
{
"type": "pid",
"pid": "CS_CamaraComercio-8-1-LATEST"
}
]
}
]
}
Thanks in advance!