Skip to Content
avatar image
Former Member

How to send notification to external URL?

Hi all,

When the Outbound Delivery is created i have to send the created delivery ID to an external URL. I have tried to create External Web Service Integration and the scenario then the arrangement but i'm getting error when calling the WebServiceUtilities.ExecuteRESTService(ScenarioName, ServiceName, HttpMethod, HttpResource, URLParameter, HeaderParameter, ContentType, Body).

Am i missing something? Can somebody help me how to solve it?

Thanks,

Hunor

//URL: https://a.b.net/c.php
var ScenarioName = "CommunicationScenarioDefinition";
var ServiceName = "ExternalWebServiceIntegration";
var HttpMethod = "POST";
var HttpResource = "";
var ContentType = "";
var Body = "";
var HeaderParameter : collectionof NameAndValue;
var URLParameter : collectionof NameAndValue;
var URLParameterEntry : NameAndValue;


URLParameterEntry.Name = "one";
URLParameterEntry.Value = "1";
URLParameter.Add(URLParameterEntry);
WebServiceUtilities.ExecuteRESTService(ScenarioName, ServiceName, HttpMethod, HttpResource, URLParameter, HeaderParameter, ContentType, Body);
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 27, 2017 at 06:28 AM

    I have resolved this with the following steps:

    • Creating External Web Service Integration: Web Service Type: REST and adding the given URL
    • Creating Communication Scenario Definition: Web Service Type: REST and adding the created custom outbound service
    • Creating the Communication Arrangement: with the created wsid and csd

    Calling the WebServiceUtilities.ExecuteRESTService() in the script file

    Add comment
    10|10000 characters needed characters exceeded