A_action

Returns action state. Returns NULL if action is not started yet or 24 hours passed after initiated.

NEW: Action started and is being processed COMPLETED: Action successful, changes made to Eneba system FAILED: Action unsuccessful, no changes made to Eneba system

Actions are available for 24 hours since created. Later entries will be deleted.

Supported arguments

The following arguments are supported by A_action query:

FieldTypeDescription
actionIdA_Uuid!The ID of the action

Return type

The query returns the A_Action type.

Example usage

Query

In the following query we are querying for a result of a particular action (actionId).

query {
  A_action(actionId: "e7f93c26-4a2d-11ed-90aa-4ae14ace4c13") {
    id
    state
  }
}

Result

Here we have got the response, it says that our action is COMPLETED and changes are persisted to the system.

{
  "data": {
    "A_action": {
      "id": "e7f93c26-4a2d-11ed-90aa-4ae14ace4c13",
      "state": "COMPLETED"
    }
  }
}
Copyright 2024 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania