Hello,
Instead of using SendNotification3WithHtml maybe try SendNotification4WithHtml or SendNotification5WithHtml. They are newer versions of this method and better supported. Might work better and more consistently for you.
Thank you,
Trey Teter
I'm getting an error with a notification call in the sandbox. Can't see that anything is wrong. I was able to capture the request and response by setting logging to debug. The request and response are provided below:
REQUEST:
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
soap12:Body
<SendNotification3WithHtml xmlns="http://www.q2software.com/Hydra/Q2API">
<CsrLogonName>q2api</CsrLogonName>
<CsrPassword>2q</CsrPassword>
<ABA>022222222</ABA>
<NotificationType>email</NotificationType>
<TargetAddress>[REMOVED]</TargetAddress>
<Subject>Request Credit Card Limit Increase</Subject>
<TargetCountryIsoCodeA3>USA</TargetCountryIsoCodeA3>
<HtmlBody><pre>\nAccount: ************2348\nRequested Date: 10/03/2023 12:00:37\nRequested Credit Limit: $0\nCustomer Profile Name: Mickey Mouse\nRequestor First and Last Name: test FN test LN\nClient Profile Phone Number: None\nRequestor Phone Number: (123) 123-1233\nCurrent Employer: test UMB\nMonthly Housing Payment: $5,000\nHousehold Gross Annual Income: $100,000\nHousehold Other Annual Income: $90,000\nSource of Other Income: 70000\nPromotional Code: test promo\nClient Profile Email: None\nVoicemail Acceptable: True\n</pre></HtmlBody>
<AddHtmlHeaderAndFooter>1</AddHtmlHeaderAndFooter>
<AddDisclaimer>1</AddDisclaimer>
<UiShortName>q2</UiShortName>
<NotificationFlavor>OnlineActivityAlert</NotificationFlavor>
</SendNotification3WithHtml>
</soap12:Body>
</soap12:Envelope>
RESPONSE:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
soap:Body
<SendNotification3WithHtmlResponse xmlns="http://www.q2software.com/Hydra/Q2API">
<SendNotification3WithHtmlResult><Q2API HqVersion="4.5.0.6105" HqAssemblyVersion="4.5.0.0" ServerDateTime="2023-10-03T17:00:38.5263991+00:00" AuditId="2854068"><Result><ErrorCode ErrorType="Fail">-1</ErrorCode><ErrorDescription>HydraError:-1/DefaultError</ErrorDescription><HydraErrorReturnCode>-1</HydraErrorReturnCode><HydraErrorReturnCodeDescription>DefaultError</HydraErrorReturnCodeDescription></Result></Q2API></SendNotification3WithHtmlResult>
</SendNotification3WithHtmlResponse>
</soap:Body>
</soap:Envelope>
Hello,
Instead of using SendNotification3WithHtml maybe try SendNotification4WithHtml or SendNotification5WithHtml. They are newer versions of this method and better supported. Might work better and more consistently for you.
Thank you,
Trey Teter