function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
idan ashtamkeridan ashtamker 

Customer Page

hi, I'm new here, I wanted to ask, how can I send a request (WS) to the salesforce crm, and get a URL of the customer page by his phone number.
for example, a customer calls the IVR, then I want to call a WS that sends the phone number (for example: www.salesForce.com/api/GetURL?clid=123456789) , and then I get a response from the WS with a url of the customer page (if he exist in the crm).
thanks  :)
Best Answer chosen by idan ashtamker
Andy BoettcherAndy Boettcher
You can either do a SOQL statement via the REST API (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/) or if you want the SPECIFIC capability of passing that EXACT URL to Salesforce, you will be looking at writing your own APEX REST service to handle that.