REST API - retrieving the successors of a job stream in the plan
Use REST APIs to retrieve the list of a job stream successors.
About this task
This process involves finding the unique ID of a job stream in the plan and then using that ID to query for other jobs and job streams that depend on it.
Procedure
-
First, get the unique ID of the job stream for which you want to find
successors. Use the GET/twsd/api/v2/plan/jobstream endpoint
to find your job stream.
-
Now, use the ID you copied to find all successors. You must query two endpoints to get a complete list of both jobs and job streams that depend on your target job stream.
Results
The API responses for each call contain the lists of jobs and job streams that are successors to your target job stream.