Resubmitting the Environment Creation Workflow

You can use a PUT API like the following to resubmit the environment request. This topic is part of Additional Administrative Tasks in Siebel Cloud Manager.

PUT https://<CM_Instance_IP>:16690/scm/api/v1.0/environment/<env_id>

The environment ID is a unique number and can be fetched from the selfLink of the output from the environment creation.

In order to run a specific stage due to a failure, the stage name can be passed in the URL using the run-only-this-stage query parameter.

PUT https://<CM_Instance_IP>:16690/scm/api/v1.0/environment/<env_id>?run-only-this-stage=import_siebel_db

This will execute only the stage where provided stage i.e. import_siebel_db.

In order to run a specific stage and all the subsequent stages, the stage name to begin should be passed in the run-this-stage-and-all-following-stages parameter.

PUT https://<CM_Instance_IP>:16690/scm/api/v1.0/environment/<env_id>?run-this-stage-and-all-following-stages=import_siebel_db

This will execute the provided stage that is import_siebel_db, and the stages after that.

The values for the parameters: run-only-this-stage and run-this-stage-and-all-following-stages can be fetched from the GET method API of environment/configuration.