0
我嘗試使用soap在ms dynamics crm 4中用模板電子郵件創建一封電子郵件。 我設法創建一個簡單的電子郵件,併發送沒有問題與soapui。 但是,當我嘗試使用模板電子郵件,它不起作用。這裏是肥皂信息。Mscrm Dynamics SOAP從模板發送電子郵件
<web:Execute xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://schemas.microsoft.com/crm/2007/WebServices">
<web:Request xsi:type="SendEmailFromTemplate">
<web:TemplateId>EA84AF18-FC9-E11-A165-005069A6DB2</web:TemplateId>
<web:RegardingType>invoice</web:RegardingType>
<web:RegardingId>1175670-102-E61-AB42-0050569A6DB</web:RegardingId>
<web:Target xsi:type="TargetSendFromTemplateEmail">
<web:Email>
<activityid>4B165B0-851-611-A42-00505696DB2</activityid>
</web:Email>
</web:Target>
</web:Request>
</web:Execute>
我收到此錯誤:
<soap:Body><soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Server was unable to process request.</faultstring>
<detail><error>
<code>0x80040216</code>
<description>An unexpected error occurred.</description>
<type>Platform</type>
</error></detail></soap:Fault>
感謝你的幫助。
感謝它幫助我。 – Nicolas