cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger OData service from C4C SDK Issue: Error

Former Member
0 Kudos

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.

Please guide.

Thanks,

Srihari.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Dear Sri,

As there is an error occurring we suggest you to report an incident so this can be analyzed by our team.

Thanks,

Cristian Machado.