HTTPCall format

Graham White



I am trying to talk to an Api using HTTPCall (“GET”) but I can’t figure out the structure of the message.  I can successfully get the result I want with


curl -k -X GET --url --header "authorization: Bearer OUR_TOKEN"


When I convert that to my HTTP Call I use the following


HTTPCall('GET','',Trim(A), 'Content-Type: application/json','Authorization: Bearer OUR_TOKEN') 


Where A = {"properties":"name,domain,phone"}


The call works but it does not return the phone where it does in the curl call.  I have a feeling the json in A is not correct but I can’t figure out how it should be.  Can anyone shed any light on it for me.




Graham White
Software Developer
EC Credit Control |


IMPORTANT NOTICE: This e-mail message and any attachments are confidential to EC Credit Control and subject to legal privilege (which is not waived or 

lost by mistaken delivery). If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments.  

If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of 

this message or attachments is prohibited. EC Credit Control collects personal information to provide and market our services (see our privacy policy at: – - for more information about use, disclosure and access). 

EC Credit Control’s liability in connection with transmitting, unauthorised access to, or viruses in this message and its attachments is limited to resupply of 

any affected message or attachments.

Join to automatically receive all group messages.