Ir al contenido

Descargar (302 a URL prefirmada de corta duración)

GET
/fiscal/reports/{id}/files/{format}
curl --request GET \
--url https://api.sudte.com/v1/fiscal/reports/example/files/csv \
--header 'Authorization: Bearer <token>'
id
obligatorio
string
format
obligatorio
string
Allowed values: csv xlsx pdf zip

Redirección al archivo

Location
string format: uri

Error (RFC 9457)

Media type application/problem+json
object
type
string format: uri
title
string
status
integer
detail
string
instance
string
request_id
string
errors
Array<object>
object
path
string
message
string
mh
object
codigoMsg
string
descripcionMsg
string
observaciones
Array<string>

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"errors": [
{
"path": "example",
"message": "example"
}
],
"mh": {
"codigoMsg": "example",
"descripcionMsg": "example",
"observaciones": [
"example"
]
}
}