QueryJobRequest is a JSON Structure definition published by Salesforce, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"description": "Configuration parameters for creating a new Bulk API 2.0 query job.",
"name": "QueryJobRequest",
"properties": {
"operation": {
"type": "string",
"description": "The query operation to perform. Use query to retrieve active records only, or queryAll to include soft-deleted and archived records.\n",
"enum": [
"query",
"queryAll"
]
},
"query": {
"type": "string",
"description": "The SOQL query to execute. The query result will be available as CSV data after the job completes.\n"
},
"contentType": {
"type": "string",
"description": "The format of the results. Currently only CSV is supported.",
"enum": [
"CSV"
]
},
"columnDelimiter": {
"type": "string",
"description": "The delimiter character used between fields in the CSV output.",
"enum": [
"COMMA",
"TAB",
"PIPE",
"SEMICOLON",
"CARET",
"BACKQUOTE"
]
},
"lineEnding": {
"type": "string",
"description": "The line ending character used in the CSV output.",
"enum": [
"LF",
"CRLF"
]
}
},
"required": [
"operation",
"query"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.