Skip to main content
Version: 4.2.5

Execute Web API definition

Description

Executes a Web API that runs until the Workflow is requested to stop.

Assembly: iCore.Workflow.Activites
Category: iCPS

Arguments

NameTypeDescription
ArgumentsObjectThe startup arguments to pass as argument to the Web APIs controller constructor. Must be of same type as the startup argument of the controller constructor. Add a reference to the Web APIs type assembly using the Modify references tool to get access to the type to use. Set to Nothing or leave empty if the controller does not have a startup argument.

For more information about startup arguments, see Web API startup arguments.
EndpointStringThe endpoint address for the hosted Web API.
Web APIGuidThe ID of the Web API to execute.
Startup timeoutTimeSpanThe startup timeout for the Web API.
Shutdown timeoutTimeSpanThe shutdown timeout for the Web API, i.e. the amount of time that the Web API is allotted for shutdown. During this time, the shutdown will wait for ongoing requests to complete. Any request that does not complete within this time window will be terminated. The timeout is only taken into consideration if the activity performs graceful shutdown of the Web API host.

See Also

Entities

Web API

Web APIs

Creating a Web API
Creating a Workflow for hosting a Web API