Skip to main content

Arguments

after : String
autoTopupConfigId : ID! required

Target auto top-up config ID, e.g. '123'.

before : String

Filter by failure reason of the auto top-up trigger event.

first : Int
last : Int

Filter by source of the auto top-up trigger event.

Filter by status of the auto top-up trigger event.

triggersFrom : DateTime

Filter by datetime (inclusive) from which trigger events have occurred, e.g. '2024-01-01T00:00:00+00:00'.

Returns

AutoTopupTriggerConnectionTypeConnection

GraphQL output type for querying nodes of auto top-up trigger events.

Using this class instead of AutoTopupTriggerType directly allows for pagination.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query AutoTopupTriggers( $after: String, $autoTopupConfigId: ID!, $before: String, $failureReason: SmartDeviceAutoTopupTriggerFailureReasons, $first: Int, $last: Int, $source: SmartDeviceAutoTopupTriggerSources, $status: SmartDeviceAutoTopupTriggerStatus, $triggersFrom: DateTime ) { autoTopupTriggers( after: $after, autoTopupConfigId: $autoTopupConfigId, before: $before, failureReason: $failureReason, first: $first, last: $last, source: $source, status: $status, triggersFrom: $triggersFrom ) { edges { ...AutoTopupTriggerConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "autoTopupConfigId": "78253488", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "failureReason": "NO_IMPORT_METER", "first": 10, "last": 10, "source": "LOW_CREDIT_BALANCE", "status": "INITIATED", "triggersFrom": "1976-03-20T14:35:27.973230+00:00" }

Response

{ "data": { "autoTopupTriggers": { "edges": [AutoTopupTriggerConnectionTypeEdge], "pageInfo": PageInfo } } }