batch_idpath · stringRequiredImport batch identifier.
Constraints
{
"type": "string"
}Parameters, data structure and responses from the versioned contract.
/servicos/lote/{batch_id}/fotosTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Returns temporary signed URLs of photos and receipts linked to documents imported in a batch. Requires consultas scope.
consultas — Queries[
{
"oauth2": []
},
{
"chaveApi": []
}
]batch_idpath · stringRequiredImport batch identifier.
{
"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.
404 HTTP ResponseBatch not found for the authenticated company.
{
"tags": [
"Parcelas"
],
"operationId": "listarFotosLoteServicos",
"summary": "Listar comprovantes e fotos por lote de serviços",
"description": "Retorna URLs assinadas temporárias das fotos e comprovantes vinculados aos documentos importados em um lote. Exige escopo `consultas`.",
"parameters": [
{
"name": "batch_id",
"in": "path",
"required": true,
"description": "Identificador do lote de importação.",
"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."
},
"404": {
"description": "Lote não encontrado para a company autenticada."
}
},
"x-fleetpay-scope": "consultas",
"x-fleetpay-module": "repasses-comprovantes",
"x-fleetpay-profiles": [
"gestor",
"agregado_empresarial",
"transportador_frotista"
],
"method": "GET",
"path": "/servicos/lote/{batch_id}/fotos"
}