Skip to main content

bidHistoryImportSheets

Requires permission biddesk:settings:manage.

The sheets of an uploaded history file with their headers and suggested mappings. 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:

query BidHistoryImportSheets($fileKey: String!) {
bidHistoryImportSheets(fileKey: $fileKey) {
name
headers
rowCount
suggestedBidMapping {
field
header
}
}
}

Variables:

{
"fileKey": "string"
}

Response:

{
"data": {
"bidHistoryImportSheets": [
{
"name": "string",
"headers": [
"string"
],
"rowCount": 0,
"suggestedBidMapping": [
{
"field": "string",
"header": "string"
}
]
}
]
}
}
bidHistoryImportSheets(
fileKey: String!
): [BidHistorySheet!]!

Arguments​

bidHistoryImportSheets.fileKey ● String! non-null scalar​

The key the upload link returned.

Type​

BidHistorySheet object​

One sheet of an uploaded history file.