Prerequisites
Before you begin, ensure you have the following:
- TMC API Access: You need API access credentials (Client ID and Client Secret) from your Talend Management Console (you can reuse the same credentials of your studio but it's better to create a dedicate one). Your account needs to have the rights to execute the task in the dedicated environment.
- Talend Task ID: The ID of the task you want to trigger (Can be obtained from the TMC console).
How to
Following the Talend API documentation in order to trigger a job you need to call the execution method.
POST https://api.eu.cloud.talend.com/tmc/v2.6/executions
accept: application/json
Content-Type: application/json
Authorization: 'Bearer '+ BEARER, //the token id from the tmc
{
"executable": "57f64991e4b0b689a64feed0",//your_task_id
"logLevel": "ERROR" //WARN, ERROR,INFO
}
