Skip to Content
avatar image
Former Member

Trigger OData service from C4C SDK Issue: Error

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.

1.png (29.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Thanks,

    Cristian Machado.

    Add comment
    10|10000 characters needed characters exceeded