Endpoints da APIRelatórios
Gerar relatório
Autorização
BearerAuth AutorizaçãoBearer <token>
Em: header
Corpo da requisição
application/json
Definições TypeScript
Use o tipo request body no TypeScript.
Corpo da resposta
application/json
application/json
curl -X POST "https://api.exemplo.processamento.com/v1/user/report" \ -H "Content-Type: application/json" \ -d '{ "dateFrom": "2019-08-24T14:15:22Z", "dateTo": "2019-08-24T14:15:22Z" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "PENDING",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "Insufficient balance for this operation",
"requestId": "cmou00000abcdef01s6ghij1k2lm"
}