requestBidHistoryUpload
Requires permission biddesk:settings:manage.
A private upload link for a history file (.csv,.xlsx or.xls, up to 20 MB). 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
mutation RequestBidHistoryUpload($fileName: String!) {
requestBidHistoryUpload(fileName: $fileName) {
fileKey
uploadUrl
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation RequestBidHistoryUpload($fileName: String!) {\n requestBidHistoryUpload(fileName: $fileName) {\n fileKey\n uploadUrl\n }\n}",
"variables": {
"fileName": "string"
}
}
EOF
Variables:
{
"fileName": "string"
}
Response:
{
"data": {
"requestBidHistoryUpload": {
"fileKey": "string",
"uploadUrl": "string"
}
}
}
requestBidHistoryUpload(
fileName: String!
): BidHistoryUpload!
Arguments
requestBidHistoryUpload.fileName ● String! non-null scalar
The file's name; its extension must be.csv,.xlsx or.xls.
Type
BidHistoryUpload object
A private upload link for a history file.