Solved Custom CRM Integration not matching

Status
Not open for further replies.

AINS Telecom

Free User
Joined
Sep 14, 2022
Messages
2
Reaction score
1
Hi,

I am attempting to get 3CX integration with our CRM functioning, I have had some success but still I get "no matching record" >> Finished scenario with empty id.

I have a feeling it is because of the XML path to the variable/field...?

###
The response when "testing" :
Started scenario with empty id
Request text: ############################################################################&phoneNumber=183930
Response text: <?xml version="1.0" encoding="UTF-8"?>
<Service_Rest_Customer_CustomerService generator="zend" version="1.0"><searchCustomers><key_0><id>37991</id><name>######</name><username>#######</username><addr1>LEVEL ### ##### ST </addr1><addr2></addr2><city>CREMORNE</city><state>VIC</state><zip>3121</zip><active>N</active><email>admin@###########</email><company>##### - Corporate</company><storeid>5</storeid><number>##########</number></key_0><status>success</status></searchCustomers></Service_Rest_Customer_CustomerService>

Response finished
Finished scenario with empty id
###

I have tried several different paths to the <id> field shown above, namely:
1. Service_Rest_Customer_CustomerService.searchCustomers.key_0.id
2. searchCustomers.key_0.id

Does anyone have any experience with this or any suggestions?

Thanks,
B
 
Hi,

I am attempting to get 3CX integration with our CRM functioning, I have had some success but still I get "no matching record" >> Finished scenario with empty id.

I have a feeling it is because of the XML path to the variable/field...?

###
The response when "testing" :
Started scenario with empty id
Request text: ############################################################################&phoneNumber=183930
Response text: <?xml version="1.0" encoding="UTF-8"?>
<Service_Rest_Customer_CustomerService generator="zend" version="1.0"><searchCustomers><key_0><id>37991</id><name>######</name><username>#######</username><addr1>LEVEL ### ##### ST </addr1><addr2></addr2><city>CREMORNE</city><state>VIC</state><zip>3121</zip><active>N</active><email>admin@###########</email><company>##### - Corporate</company><storeid>5</storeid><number>##########</number></key_0><status>success</status></searchCustomers></Service_Rest_Customer_CustomerService>

Response finished
Finished scenario with empty id
###

I have tried several different paths to the <id> field shown above, namely:
1. Service_Rest_Customer_CustomerService.searchCustomers.key_0.id
2. searchCustomers.key_0.id

Does anyone have any experience with this or any suggestions?

Thanks,
B
Resolved!

It appears that the phone number matched must be present in the response and mapped, only the first response is "checked".
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.