edit-icon download-icon

GetChangeOrderInfoRequest

Last Updated: Nov 16, 2018

Function

Returns the details of a publication order.

Request URL

/pop/v5/changeorder/change_order_info

Request method

POST

Request parameters

Parameter Type Required? Description
changeOrderId String Yes Unique ID of a publication order, which is returned for all application life cycle methods once the call is successful.

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
ChangeOrderInfo ChangeOrderInfo Details of the publication order

ChangeOrderInfo: Basic information of a publication order

Parameter Type Description
ChangeOrderId String Unique ID of a publication order
CreateUserId String ID of the user that creates the publication order
Desc String Description of the publication order
BatchCount Integer Number of executed batches
BatchType String Deployment mode
Status Integer 0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception
CoType Integer Type of the publication order
CreateTime String Creation time
PipelineInfoList List<PipelineInfo> Batch execution details. See PipelineInfo.

PipelineInfo: Execution information per batch

Parameter Type Description
PipelineId String Unique ID of a batch
PipelineName String Batch name
PipelineStatus Integer 0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception
StageList List<StageInfoDTO> Stages of each batch. For details, see the definition of StageInfoDTO.

StageInfoDTO: Execution information in a specific stage of a batch

Parameter Type Description
StageId String Stage ID
StageName Integer Stage name
Status Integer Stage status (0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception)
StageResultDTO StageResultDTO For details about the meaning of each stage, see StageResultDTO.

StageResultDTO: Stage execution details, including the service-type task stage and agent-type task stage

Parameter Type Description
InstanceDTOList List<InstanceDTO> Stage execution result on each ECS instance. For details, see the definition of InstanceDTO.
ServiceStage ServiceStage Result of service-type stage execution

ServiceStage: In the service-type stage, corresponding services are called to process instances in batches, for example, online or offline state of SLB

Parameter Type Description
StageId String Stage ID
StageName String Stage name
Status Integer Running status (0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception)
Message String Execution result

InstanceDTO: General result of agent-type task execution on a specific instance (a common agent-type task is starting an application instance)

Parameter Type Description
InstanceName String Instance name
InstanceIp String IP address of the instance
Status Integer 0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception
InstanceStageDTOList List<InstanceStageDTO> A list of stage execution results on each instance

InstanceStageDTO: Execution details of a stage on a specific instance

Parameter Type Description
StageId String Stage ID
StageName String Stage name
Status Integer 0: Preparation; 1: Execution in progress; 2: Execution successful; 3: Execution failed; 6: Ended; 10: Execution failed due to a system exception
Thank you! We've received your feedback.