- Joined
- Jun 13, 2017
- Messages
- 424
- Reaction score
- 256
I started with a template generated from the 3CX CRM wizard but have made a couple of modifications to get the authentication right. Now inbound calls are matching and poping up the customer URL as desired.
My issue is that I'm trying to write to the "comments" field to journal the call but it isn't working.
I looked at the SystemService log and can see that the URL for the POST request is missing the ContactID...
In my template the URL ends with [ContactID]...
I think it may have to do with not having the variable or returned output available in the ReportCall scenario but I'm not really sure how to correct that.
I've attached the template and any assistance is appreciated.
My issue is that I'm trying to write to the "comments" field to journal the call but it isn't working.
I looked at the SystemService log and can see that the URL for the POST request is missing the ContactID...
Code:
2022/12/27 14:17:44.896|9845|0036|Verb|CRM: Performing POST request to 'https://demo.phppointofsale.com/index.php/customers/' with message '{"comments":"Phone Call 12/27/2022 2:17 PM by Group1 Receptionist for 00:28"}'.
Code:
Url="https://demo.phppointofsale.com/index.php/customers/[ContactID]"
I've attached the template and any assistance is appreciated.