Checking the status of the created components with REST APIs
After the components are created, you can call the REST API to check the status of the created components.
Run the following command, and use the variables of your z/OS instances to replace the following italic text.
curl -k -u zdtadmin:password -X GET --header 'Accept: application/json' 'https://your_tools_server_host_name:9443/ZDTREST/zdtrs/componentServices/components/YOUR_Z_OS_HOST_NAME?sourcePort=YOUR_Z_OS_HOST_PORT'
Check the field in the component level. If the message "status": "COMP_SCHEDULED" is displayed, it means that the component is still being extracted.
When the message "status":"COMP_EXTRACTED" is displayed, it means that the component extraction is done, and the component is ready to be used.