AddFitScriptExecSpecAsync

Adds a new FIT script execution specification to a folder. Returns (Task)

Overview of AddFitScriptExecSpecAsync goes here.

Name Description
folder The folder to add the execution spec to
item The execution spec information to add (includes validity period, execution limits, authentication requirements)

Add Fit Script Exec Spec Async

Example in C#

// Returns: FitScriptExecSpecInfo
var fitScriptExecSpecInfo = await client.AddFitScriptExecSpecAsync(FolderInfo folder, FitScriptExecSpecInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScriptExecSpecs \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.FitScriptExecSpecInfo, Feenics.Keep.WebApi.Model",
                       "CommonName": string,
                       "RequireUserAccessToken":true,
                       "RequireAccessKey":false,
                       "ValidOn":"2023-01-01",
                       "ValidUntil":"2023-01-02",
                       "ExecutionNeverExceedTime":2000,
                       "ExecutionNeverExceedCount":10,
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'