Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
HydraError using SendNotification3WithHtml execute function in Sandbox

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>

Posted 3 years ago
Votes Newest

Answers


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

-1
Posted 3 years ago
Trey Teter
124 × 2 Administrator
104 Views
1 Answer
3 years ago
3 years ago
Tags