Retrieve the status and result of a toll voucher cancellation using the GUID returned from the POST request.
Endpoint
-
GET:
/valePedagio/cancelar/{enterpriseId}/{guid} -
Route Parameters
-
enterpriseId: CNPJ associated with the operation (string) -
guid: GUID identifier returned from the POST request
-
Request Body
See the references here.
Response
Example response (success or with errors):
{
"sucesso": true,
"erros": [
{
"codigo": 400,
"mensagem": "Failed to process operation: invalid data."
}
]
}
Layout
|
Field |
Type |
Description |
|---|---|---|
|
sucesso |
boolean |
Indicates whether the operation was successfully processed ( |
|
erros |
array |
List of errors or warnings |
|
erros.codigo |
number |
Error code (e.g., |
|
erros.mensagem |
string |
Error description |
The erros array may contain entries even when sucesso is true, to report warnings or non-critical issues.