ciot_uuidpath · stringRequiredTransport operation UUID.
Constraints
{
"type": "string",
"format": "uuid"
}Parameters, data structure and responses from the versioned contract.
/fiscal/ciot/{ciot_uuid}/fotosTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Returns all delivery photos and receipts captured for the CT-es belonging to the CIOT (both central pivot CIOT and 1:1 anchored CIOT). Each photo includes sequencia and cte_uuid. Signed URLs valid for 15 minutes.
fiscal — Tax & Fiscal[
{
"oauth2": []
},
{
"chaveApi": []
}
]ciot_uuidpath · stringRequiredTransport operation UUID.
{
"type": "string",
"format": "uuid"
}tipoquery · stringOptionalFilters photos by type:
P: PackageR: ReceiptC: Proof of deliveryO: Occurrence{
"type": "string",
"enum": [
"P",
"R",
"C",
"O"
]
}200 HTTP ResponseList of photos and receipts from the operation CT-es.
application/jsondataarrayRequiredenvironmentobjectRequired401 HTTP ResponseUnauthenticated (autenticacao): missing, invalid or expired credentials, including an API key used in the wrong environment. A sandbox key is not valid in production, nor a production key in the sandbox; the error message indicates the expected environment.
{
"tags": [
"CIOT"
],
"summary": "Consultar fotos e comprovantes de entrega dos CT-e vinculados ao CIOT",
"operationId": "fotosOperacaoCiot",
"description": "Retorna todas as fotos e comprovantes de entrega capturados para os CT-e que compõem o CIOT\n(tanto CIOT central via pivô quanto CIOT ancorado 1:1). Cada foto inclui a `sequencia`\ne o `cte_uuid`. URLs assinadas com validade de 15 minutos.\n",
"parameters": [
{
"name": "ciot_uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"description": "UUID da operação de transporte."
},
{
"name": "tipo",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"P",
"R",
"C",
"O"
]
},
"description": "Filtra as fotos por tipo:\n- `P`: Pacote\n- `R`: Recibo\n- `C`: Comprovante\n- `O`: Ocorrência\n"
}
],
"responses": {
"200": {
"description": "Lista de fotos e comprovantes dos CT-e da operação.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FotosCiotEnvelope"
}
}
}
},
"401": {
"$ref": "#/components/responses/Erro401"
},
"403": {
"$ref": "#/components/responses/Erro403"
},
"404": {
"description": "CIOT não encontrado (`ciot_nao_encontrado`).",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"422": {
"description": "Parâmetro inválido (`parametro_invalido`).",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
}
},
"x-fleetpay-scope": "fiscal",
"x-fleetpay-module": "fiscal-ciot",
"x-fleetpay-profiles": [
"gestor",
"agregado_empresarial",
"transportador_frotista"
],
"method": "GET",
"path": "/fiscal/ciot/{ciot_uuid}/fotos"
}