How can I stop this extra object being created in my XML?

Status
Not open for further replies.

greychain

Gold Partner
Advanced Certified
Joined
Jul 13, 2018
Messages
779
Reaction score
122
When I run my CRM integration it outputs this extra object "":{} in the post it sends to the CRM.

I removed line 66 <Object /> from the <PostValues> </PostValues> area where this post data is stored.

I am using the CRM template generator and drilling down through PostValues object to create the xml and it add the extra <Object />

How can I stop this object being created?

with message '{"id":123,"CallDuration":"00:06","CallStartTimeUTC":"","CallEndTimeUTC":"5/5/2021 9:21:31 PM","CallText":"5/5/2021 9:21 PM +\" : Answered\"","CallType":"Inbound","sourcecallernumber":"012620441","destination_to_number":"012620441","distinguished_name_of_caller":"space filler","dialled_number":"012620441","transferred_call":true,"transferred_call_reason":"Transfer reason","source_display_name":"Name here","Agent":"8100","CallStatus":"Inbound","companyid":11430,"branchid":0,"":{}}'.
 

Attachments

Last edited:
This is your ReportCall scenario, and you're including an empty object at the end:
1620226643432.png

Just remove that line.
 
Yes I have removed that line, the line is added in the CRM Template generator. I'd like to avoid this happening, is there something I'm doing in CRM TG?
 
Do you mean that the line is being automatically added by the tool? I have never seen that. Can you describe what you're doing when you get that line added?
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,474
Latest member
costionofrei