autoTopupConfigs
Get the auto top-up configs for a device. Ordered by effective from date, latest first.
Arguments
Target account number, e.g. 'A-A1B2C3D4'.
Target device ID, e.g. 'A1-BC-D2-00-01-23-EF-4G'.
The datetime from which the auto top-up is effective, e.g. '2024-01-01T00:00:00+00:00'.
Returns
AutoTopupConfigConnectionTypeConnectionGraphQL output type for querying nodes of auto top-up configs.
Using this class instead of AutoTopupConfigType directly allows for pagination.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
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 AutoTopupConfigs(
$accountNumber: String!,
$after: String,
$before: String,
$deviceId: String!,
$effectiveFrom: DateTime,
$first: Int,
$last: Int
) {
autoTopupConfigs(
accountNumber: $accountNumber,
after: $after,
before: $before,
deviceId: $deviceId,
effectiveFrom: $effectiveFrom,
first: $first,
last: $last
) {
edges {
...AutoTopupConfigConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
}
}
Variables
{
"accountNumber": "A-C8458091",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"deviceId": "16048753",
"effectiveFrom": "2023-12-28T19:01:55.530120+00:00",
"first": 10,
"last": 10
}
Response
{
"data": {
"autoTopupConfigs": {
"edges": [AutoTopupConfigConnectionTypeEdge],
"pageInfo": PageInfo
}
}
}