Retrieves the input parameters for a specific operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetOperationParams |
get |
*BPStudioVirtual
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceType |
string |
Yes |
The service type. |
ecs |
| Operation |
string |
Yes |
The operation name. |
addTags |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Message |
string |
The error message. |
getBpmOperationParams errors |
| RequestId |
string |
The request ID. |
F439A659-3B3D-50FB-A4BC-69FBF16413C8 |
| Code |
string |
The return code. |
200 |
| Data |
object |
The result set. |
|
| Service |
string |
The service type. |
ecs |
| Operation |
string |
The operation name. |
addTags |
| Attributes |
object |
The input parameters. |
{ "tags": { "controlType": "KeyValue", "display": "Label", "orderBy": 0, "associatedLabel": true, "required": true } } |
| Properties |
object |
The input parameters. |
{ "instanceId": "ResourceId", "regionId": "region", "appId": "appId" } |
| Outputs |
object |
The output results. |
{ "instance_id": { "display": "ECS instance ID", "dataType": "String", "orderBy": 0, "attributeName": "instance_id", "enableVariable": "String", "required": true }, "instance_name": { "display": "ECS name", "dataType": "String", "orderBy": 0, "attributeName": "instance_name", "required": true }, "private_ip": { "display": "Intranet IP", "dataType": "String", "orderBy": 0, "value": "private_ip", "required": true } } |
Examples
Success response
JSON format
{
"Message": "getBpmOperationParams errors",
"RequestId": "F439A659-3B3D-50FB-A4BC-69FBF16413C8",
"Code": "200",
"Data": {
"Service": "ecs",
"Operation": "addTags",
"Attributes": {
"tags": {
"controlType": "KeyValue",
"display": "Label",
"orderBy": 0,
"associatedLabel": true,
"required": true
}
},
"Properties": {
"instanceId": "ResourceId",
"regionId": "region",
"appId": "appId"
},
"Outputs": {
"instance_id": {
"display": "ECS instance ID",
"dataType": "String",
"orderBy": 0,
"attributeName": "instance_id",
"enableVariable": "String",
"required": true
},
"instance_name": {
"display": "ECS name",
"dataType": "String",
"orderBy": 0,
"attributeName": "instance_name",
"required": true
},
"private_ip": {
"display": "Intranet IP",
"dataType": "String",
"orderBy": 0,
"value": "private_ip",
"required": true
}
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.