bidHistoryImportBatches
Requires permission biddesk:settings:manage.
Past import batches, newest first. Requires Bid Desk and permission to manage Bid Desk settings.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query BidHistoryImportBatches {
bidHistoryImportBatches {
bidCount
importBatchId
importedAt
importedBy
sourceFile
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidHistoryImportBatches {\n bidHistoryImportBatches {\n bidCount\n importBatchId\n importedAt\n importedBy\n sourceFile\n }\n}"
}
EOF
Response:
{
"data": {
"bidHistoryImportBatches": [
{
"bidCount": 0,
"importBatchId": "string",
"importedAt": "2025-01-15T00:00:00Z",
"importedBy": "string",
"sourceFile": "string"
}
]
}
}
bidHistoryImportBatches(
limit: Int
): [BidHistoryImportBatch!]!
Arguments
bidHistoryImportBatches.limit ● Int scalar
How many batches, at most 20.
Type
BidHistoryImportBatch object
One past import batch.