POST /api/functionlibrary/execute

Execute a function

Request body

{ 
        
        "functionId":"string",
        "parameters": 
            [{ 
               "name": "string",
                "value": "string",
                "isSecret": "boolean"
        }]
    ,
        "externalSystem":"string",
        "externalId":"string",
        "logExpiresInDays":"integer"
}

Responses

Code Returns Type
200 OK Acos.WebSak.Pluss.Services.FunctionLibrary.Models.WebsakTaskResult
401 Unauthorized - Missing or invalid access token
403 Forbidden - Provided access token does not permit usage of this API or data
Response Example
{ 
        
        "success":"boolean",
        "logEntries": 
            [{ 
               "title": "string"
        }]
    ,
        "returnedParameters": 
            [{ 
               "name": "string",
                "value": "string",
                "isSecret": "boolean"
        }]
    
}