datequery · stringOptionalOperational date (YYYY-MM-DD, defaults to today).
Constraints
{
"type": "string"
}Parameters, data structure and responses from the versioned contract.
/gestor/painel-alocacaoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Aggregates operational demand, filled vs open vacancies, ongoing offers and trip start status on the specified date. Requires operacao scope.
operacao — Operations[
{
"oauth2": []
},
{
"chaveApi": []
}
]datequery · stringOptionalOperational date (YYYY-MM-DD, defaults to today).
{
"type": "string"
}200 HTTP ResponseOperation processed successfully.
application/jsondata—Optionalmetaobject | nullOptionaladditionalPropertiestrueambientestringOptional"homologacao" · "producao"401 HTTP ResponseMissing, invalid or cross-environment credential.
403 HTTP ResponseDashboard scope not enabled or resource outside company scope.
{
"tags": [
"Programações & Alocação"
],
"operationId": "consultarPainelAlocacaoGestor",
"summary": "Consultar painel diário de alocação do gestor",
"description": "Agrega demanda operacional, vagas preenchidas vs abertas, ofertas em curso e status de início de viagem na data informada. Exige escopo `operacao`.",
"parameters": [
{
"name": "date",
"in": "query",
"required": false,
"description": "Data operacional (YYYY-MM-DD, padrão hoje).",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Operação processada com sucesso.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
]
},
"meta": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"ambiente": {
"type": "string",
"enum": [
"homologacao",
"producao"
]
}
}
}
}
}
},
"401": {
"description": "Credencial ausente, inválida ou de outro ambiente."
},
"403": {
"description": "Escopo do painel não habilitado ou recurso fora do escopo da company."
}
},
"x-fleetpay-scope": "operacao",
"x-fleetpay-module": "gestor-alocacao",
"x-fleetpay-profiles": [
"gestor"
],
"method": "GET",
"path": "/gestor/painel-alocacao"
}