Skip to Content

Trigger OData service from C4C SDK Issue: Error

Mar 15, 2017 at 10:20 AM


avatar image
Former Member

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'";
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.



1.png (29.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Cristian Machado
Dec 15, 2017 at 04:30 PM

Dear Sri,

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


Cristian Machado.

10 |10000 characters needed characters left characters exceeded