diff --git a/docs/Acquiring-Preparing-Modeling-Data/Acquiring-and-Preparing-Data-in-the-Data-Builder/manage-tasks-using-rest-apis-274f273.md b/docs/Acquiring-Preparing-Modeling-Data/Acquiring-and-Preparing-Data-in-the-Data-Builder/manage-tasks-using-rest-apis-274f273.md index c74a159..c2344aa 100644 --- a/docs/Acquiring-Preparing-Modeling-Data/Acquiring-and-Preparing-Data-in-the-Data-Builder/manage-tasks-using-rest-apis-274f273.md +++ b/docs/Acquiring-Preparing-Modeling-Data/Acquiring-and-Preparing-Data-in-the-Data-Builder/manage-tasks-using-rest-apis-274f273.md @@ -60,6 +60,7 @@ The detailed documentation of the Data Sharing Cockpit REST APIs is available on + ## Task Chains Run task chains. @@ -70,9 +71,25 @@ To run a task chain, use the POST request with the API api/v1/datasphere/t https:///api/v1/datasphere/tasks/chains//run/ ``` +**Prerequisite:** The task chain must be active and deployed before it can be run. + +**Header:** Set `Content-Type: application/json` in the request header. + +**Request Body:** You can optionally pass input parameters for the task chain. This works only if the task chain is defined with input parameters. If no input parameters are needed, you can send an empty JSON object `{}`. + Example: -> ### Sample Code: +> ### Sample Request: +> ``` +> { +> "inputParameters": { +> "param1": "value1", +> "param2": "value2" +> } +> } +> ``` + +> ### Sample Response: > ``` > { > "logId": 9999999 @@ -81,6 +98,7 @@ Example: + ## Logs Get task log details and existing task log history of objects.