GetItemTransitions

Gets available transitions for a primary item.

Parameters

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
  • ID (integer)
  • UUID (string)
  • dbname (string)
  • name (string)

The primary table identifier.

item
  • ID (integer)
  • UUID (string)

The item identifier.

Post Data

None.

Example

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": ""
  }
}

Comments

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.