industryOptions
Public: no authentication required.
Lists the industries an organization can choose from, each with a value and a label.
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 IndustryOptions {
industryOptions {
label
value
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query IndustryOptions {\n industryOptions {\n label\n value\n }\n}"
}
EOF
Response:
{
"data": {
"industryOptions": [
{
"label": "string",
"value": "string"
}
]
}
}
industryOptions: [IndustryOption!]!
Type
IndustryOption object
An industry to pick from.