we are on cloud. I would like to send pdf invoices with idm rest api (email). Can someone help me with that ? I don't know what to write in: pid, mimetype, base64 and xquery
{
<span class="hljs-attr">"emailMessage": {
<span class="hljs-attr">"to": "string",
<span class="hljs-attr">"cc": "string",
<span class="hljs-attr">"bcc": "string",
<span class="hljs-attr">"subject": "string",
<span class="hljs-attr">"body": "string",
<span class="hljs-attr">"attachments": {
<span class="hljs-attr">"file": [
{
<span class="hljs-attr">"pid": "string",
<span class="hljs-attr">"filename": "string",
<span class="hljs-attr">"mimetype": "string",
<span class="hljs-attr">"base64": "string",
<span class="hljs-attr">"xquery": "string"
}
]
}
}
}