JSON API Guide → Reference → GET Functions → GetItemTransitions
Gets available transitions for a primary item.
| Name | Type | Description |
|---|---|---|
| Getitemtransitions | Function |
Returns a list of available transitions for an item. The calling user's privileges are considered when returning the list of transitions. Use GetItemTransitions to identify transitions for use with other calls. |
| table |
|
The primary table identifier. |
| item |
|
The item identifier. |
None.
URL:
http://AEserverName/jsonapi/getitemtransitions/1000/2
Response:
{
"transitions": [
{
"id": 18,
"name": "Re-Open",
"uuid": "e44d9bfe-6d54-426e-a1ac-4711a09b6243",
"type": "regular",
"isQuick": false
},
{
"id": 1,
"name": "Update",
"uuid": "update",
"internalName": "UPDATE",
"type": "update",
"isQuick": false
},
{
"id": 2,
"name": "Delete",
"uuid": "delete",
"internalName": "DELETE",
"type": "delete",
"isQuick": false
}
],
"result": {
"type": "OK",
"msg": ""
}
}
Because the TS_ID is subject to change in a promotion context, you may need to update the table and item parameters with the TS_ID from the target environment after the promote is finished.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.