DescribeProjectNodes
调用DescribeProjectNodes获取项目流程节点列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 |
类型 |
是否必选 |
示例值 |
描述 |
Action | String | 是 | DescribeProjectNodes | 系统规定参数。取值:DescribeProjectNodes。 |
InstanceId | String | 是 | 4****89 | 云市场订单实例ID。 |
返回数据
名称 |
类型 |
示例值 |
描述 |
Success | Boolean | true | 成功状态标识 |
RequestId | String | 937fee1f-26bb-4b6e-8def-977a6bdaa1e5 | 请求 ID |
Result | Array of ProjectNode | 无 |
|
NextNodeId | Long | 8472 | 下一个流程节点 ID |
StepNo | Integer | 2 | 所属流程节点的序号 |
AutoFinishNode | Boolean | false | 节点超时是否自动完成 |
FinalStepNo | Integer | 4 | 最终流程节点的序号 |
PreviousNodeId | Long | 8470 | 上一个流程节点 ID |
ParentNodeId | Long | 0 | 父级流程节点 ID |
GmtExpired | Long | 1588834325000 | 流程节点超时时间(Unix 时间戳) |
OperatorRole | String | System | 操作人角色,取值:
|
GmtStart | Long | 1588834325000 | 流程节点开始时间(Unix时间戳) |
NodeStatus | String | Finish | 节点执行状态,取值:
|
NodeName | String | 分配服务商节点 | 节点名称 |
GmtFinished | Long | 1588834325000 | 流程节点完成时间(unix时间戳) |
AllowRollbackNode | Boolean | false | 是否允许执行回滚到上一个流程节点 |
TemplateForm | String | [ {"fieldKey": "TFD0","isRequired": true,"maxLength": 50, "placeHolder": "姓名","stepNum": 0,"title": "收货人姓名","type": "text" },{ "fieldKey": "TFD1","isRequired": true,"maxLength": 50,"placeHolder": "手机号码","stepNum": 1,"title": "收货人电话","type": "text"},{"fieldKey": "TFD2","isRequired": true,"maxLength": 50,"placeHolder": "省市区街道门牌号码","stepNum": 2,"title": "详细收货地址","type": "textarea"}] | 流程节点表单内容 |
NeedAttachment | Boolean | false | 是否强制要求上传附件 |
NodeId | Long | 8471 | 流程节点id |
示例
请求示例
http(s)://market.aliyuncs.com/?Action=DescribeProjectNodes
&InstanceId=4****89
&公共请求参数
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeProjectNodesResponse>
<Success>true</Success>
<RequestId>937fee1f-26bb-4b6e-8def-977a6bdaa1e5</RequestId>
<Result>
<NextNodeId>8472</NextNodeId>
<StepNo>2</StepNo>
<AutoFinishNode>false</AutoFinishNode>
<FinalStepNo>4</FinalStepNo>
<PreviousNodeId>8470</PreviousNodeId>
<ParentNodeId>0</ParentNodeId>
<GmtExpired>1588834325000</GmtExpired>
<OperatorRole>System</OperatorRole>
<GmtStart>1588834325000</GmtStart>
<NodeStatus>Finish</NodeStatus>
<NodeName>分配服务商节点</NodeName>
<GmtFinished>1588834325000</GmtFinished>
<AllowRollbackNode>false</AllowRollbackNode>
<TemplateForm>[ {"fieldKey": "TFD0","isRequired": true,"maxLength": 50, "placeHolder": "姓名","stepNum": 0,"title": "收货人姓名","type": "text" },{ "fieldKey": "TFD1","isRequired": true,"maxLength": 50,"placeHolder": "手机号码","stepNum": 1,"title": "收货人电话","type": "text"},{"fieldKey": "TFD2","isRequired": true,"maxLength": 50,"placeHolder": "省市区街道门牌号码","stepNum": 2,"title": "详细收货地址","type": "textarea"}]</TemplateForm>
<NeedAttachment>false</NeedAttachment>
<NodeId>8471</NodeId>
</Result>
</DescribeProjectNodesResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"Success" : true,
"RequestId" : "937fee1f-26bb-4b6e-8def-977a6bdaa1e5",
"Result" : [ {
"NextNodeId" : 8472,
"StepNo" : 2,
"AutoFinishNode" : false,
"FinalStepNo" : 4,
"PreviousNodeId" : 8470,
"ParentNodeId" : 0,
"GmtExpired" : 1588834325000,
"OperatorRole" : "System",
"GmtStart" : 1588834325000,
"NodeStatus" : "Finish",
"NodeName" : "分配服务商节点",
"GmtFinished" : 1588834325000,
"AllowRollbackNode" : false,
"TemplateForm" : "[ {\"fieldKey\": \"TFD0\",\"isRequired\": true,\"maxLength\": 50, \"placeHolder\": \"姓名\",\"stepNum\": 0,\"title\": \"收货人姓名\",\"type\": \"text\" },{ \"fieldKey\": \"TFD1\",\"isRequired\": true,\"maxLength\": 50,\"placeHolder\": \"手机号码\",\"stepNum\": 1,\"title\": \"收货人电话\",\"type\": \"text\"},{\"fieldKey\": \"TFD2\",\"isRequired\": true,\"maxLength\": 50,\"placeHolder\": \"省市区街道门牌号码\",\"stepNum\": 2,\"title\": \"详细收货地址\",\"type\": \"textarea\"}]",
"NeedAttachment" : false,
"NodeId" : 8471
} ]
}
错误码
HttpCode |
错误码 |
错误信息 |
描述 |
400 | IllegalRequest | Illegal request. | 请求参数异常 |
400 | IllegalParameter | Illegal parameter %s. | 参数异常 |
400 | IllegalResult | Illegal result. | 数据结果异常 |
400 | IllegalPermission | Permission Denied. | 该账号没有权限 |
500 | InternalError | The request processing has failed due to some unknown error. | 请求发生系统异常 |
访问错误中心查看更多错误码。