Mar 15, 2017 at 10:20 AM|123 Views | Last edit Sep 05, 2017 at 07:53 PM 2 rev.
Hi All,
I am trying to trigger a OData service from ABSL on click of button in C4C SDK.
import ABSL;
var parameter: NameAndValue;
var parameters: collectionof NameAndValue;
var response;
var xml;
var scenarioName = "TestRest";
var serviceName = "PW00025";
var httpMethod = "GET";
var httpResource = "";
//parameter.Name = "$filter";
//parameter.Value = "ContractID eq '0001000411'";
//parameters.Add(parameter);
response = WebServiceUtilities.ExecuteRESTService(scenarioName,serviceName, httpMethod,httpResource, parameters);
var test = response;
When the execution comes to Response there is an error. And get a popup in C4C to report incident.
I want to execute the service and get the contract data, but facing the error for basic URL as well for GET.
Add comment