ad_hoc_charges
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
ids | [String]! | Yes | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query ad_hoc_charges(
$ids: [String]!,
$analyze: Boolean
) {
ad_hoc_charges(
ids: $ids,
analyze: $analyze
) {
request_id
complexity
data {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
name
description
occurred_at
labor_unit_id
unit_amount
rate
bill_id
}
cursor
}
}
}
}Variables
{
"ids": ["abc123"],
"analyze": true
}Response
{
"data": {
"ad_hoc_charges": {
"request_id": "abc123",
"complexity": 987,
"data": AdHocChargeConnection
}
}
}