Medical CRM integration not worked

drsam.theme

Customer
Joined
Jan 3, 2024
Messages
29
Reaction score
5
Hello everyone!
Can anyone tell me why the integration stopped working after upgrading from v18 to v20? What changed in v20? The patient card no longer pops up.
It worked before the update:

<?xml version="1.0" encoding="utf-8"?>
<Crm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Country="UA" Name="DocDream" Version="1" SupportsEmojis="true" ListPageSize="0">
<Number Prefix="AsIs" MaxLength="[MaxLength]" />
<Connection MaxConcurrentRequests="2" />
<Parameters />
<Authentication Type="No" />
<Scenarios>
<Scenario Id="" Type="REST">
<Request SkipIf="[CallDirection]==&quot;Outbound&quot;" Url="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=8000&amp;callingNumber=[Number]" MessagePasses="0" Message="" RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json" />
<Rules>
<Rule Type="Any">[contactId]</Rule>
</Rules>
<Variables>
<Variable Name="Name" Path="[Name]">
<Filter />
</Variable>
<Variable Name="PhoneBusiness" Path="[Number]">
<Filter />
</Variable>
</Variables>
<Outputs Next="" AllowEmpty="false">
<Output Type="ContactID" Passes="0" Value="[ContactID]" />
<Output Type="CompanyName" Passes="0" Value="[CompanyName]" />
<Output Type="Email" Passes="0" Value="" />
<Output Type="PhoneBusiness" Passes="0" Value="[PhoneBusiness]" />
<Output Type="ContactUrl" Passes="0" Value="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=[extension number or operator Id]" />
<Output Type="EntityId" Passes="0" Value="[ContactID]" />
<Output Type="EntityType" Passes="0" Value="Contacts" />
</Outputs>
</Scenario>
</Scenarios>
</Crm>

When an incoming call occurred, the patient's card was pops up by the phone number.

Now in v20, when testing, it gives an error
The value cannot be an empty string or composed entirely of whitespace. (Parameter 'mediaType')
Many thanks
 
Hello,

Try changing this:
XML:
<Request SkipIf="[CallDirection]==&quot;Outbound&quot;" Url="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=8000&amp;callingNumber=[Number]" MessagePasses="0" Message="" RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json" />

To this:
XML:
<Request SkipIf="[CallDirection]==&quot;Outbound&quot;" Url="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=8000&amp;callingNumber=[Number]" MessagePasses="0" Message="" RequestContentType=""  RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json" />
 
  • Like
Reactions: Evolute IT
Hello,

Try changing this:
XML:
<Request SkipIf="[CallDirection]==&quot;Outbound&quot;" Url="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=8000&amp;callingNumber=[Number]" MessagePasses="0" Message="" RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json" />

To this:
XML:
<Request SkipIf="[CallDirection]==&quot;Outbound&quot;" Url="http://10.160.25.51:8004/RegisterIncomingCall?operatorId=8000&amp;callingNumber=[Number]" MessagePasses="0" Message="" RequestContentType=""  RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json" />
Hello,

Thank you very much for your message.
I searched the forum for a solution, and changing the Post to GET helped.
Problem solved.
 
Weird that it worked before with POST requests. That's totally different than a GET.
 
  • Like
Reactions: Evolute IT