I have a mobile app(not a salesforce app) which is connected to Salesforce.com and salesforce.com talks to an external website(fulfillment portal) using HTTP REST Request and Response method call out ,now problem is whenever user who wishes to buy a new phone enters his/her details like name,phone model name and his phone number from app and visits physical store outlet,the store representative unable to search the customer data in fulfillment portal..So the store has to manually re-enter customer details.
Integration apex class has been exposed as a WebService
public class HttpIntegration{
public String getCalloutResponseContents(String url){
Http h = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint(url);
req.setMethod('GET');
HttpResponse res = h.send(req);
return res.getBody();
}
}
While manually testing from Salesforce ,we get a success response from external website(fulfillment portal) and Trigger
is also created at Salesforce end to update the Token id
at the Order
custom object ,but still when the customer goes to store he is unable to find his details,What can be the possible solution to fix this
Carolyn, there are few questions to ask that may help you locate the issue:
Based on your comment, the OWD is set to private. You have a few options, and the solution will depend on your security needs: