API User's Guide
Checking Step Action availability
Description
You can check the availability of a workflow Step Action for a specific Alloy Navigator object. The availability of workflow Actions depends on object types, object statuses, security roles, and possibly other criteria.
HTTP method
GET
API URL
http://www.example.com/api/v2/object/<oid>/action/<actionId>/check
URL parameters
Parameter | Description |
---|---|
|
The object identifier in Alloy Navigator. For example: INFO: For more information, see Object identification in Alloy Navigator. NOTE: This HTTP request cannot be used to check Step Action availability for objects that belong in the Software Catalog and Stock Room sections of the product. |
|
The ID of a Step Action. Example: |
Example 1
In this example Step Action 253 for object T000002 is available.
Request:
(GET) http://www.example.com/api/v2/
object/T000002/action/253/check
Response:
{
"success": true,
"errorCode": 0,
"errorText": "",
"responseObject": {
"Result": true
}
}
Example 2
In this example Step Action #247 for object T000002 is unavailable.
Request:
(GET) http://www.example.com/api/v2/object/T000002/action/247/check
Response:
{
"success": true,
"errorCode": 0,
"errorText": "",
"responseObject": {
"Result": false
}
}