Hello ,
I am trying to send an IDM document as a attachment using IDM/api/email but getting an error. Can someone please help me
Request body
<?xml version="1.0" encoding="UTF-8"?><email xmlns="http://infor.com/daf">
<emailMessage xmlns="http://infor.com/daf">
<to>fazlan@gmail .com</to>
<subject>Hello</subject>
<body>This is body</body>
<template></template>
<attachments>
<file>
<pid>M3_CustomerInvoice-66341-1-LATEST</pid>
<filename></filename>
<mimetype></mimetype>
<base64></base64>
<xquery></xquery>
</file>
</attachments>
</emailMessage>
</email>
Error :
Message: TestIonApi failed. Reason:testIonApiMethod failed: Rest Response = 400; API Gateway RequestId = 1765697729739-64e53555-a73e-4611-b1d9-7c7b846084fa; Failed to parse email request.
Correlation ID: a0254df1-19b9-4d6a-a3f5-398a7654bf7f