List Reservations / Listar Reservas
GET
/external/reservas
const url = 'https://api-dev.zonaparqueo.com/external/reservas';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api-dev.zonaparqueo.com/external/reservas \ --header 'Authorization: <Authorization>'Gets a paginated list of reservations based on filters. Filters are combinable and none is required on its own; the two verified usages are:
- Reservations for a client:
?cliente_id=...&Estado=...&placa=... - Active reservations in a section (all of them system-wide, not only your own):
?tramo_id=...&Estado=1
Each row includes placa, fin (expiry), estado, celda_id and importe.
Note: the status parameter is named
Estado, with a capital E.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”cliente_id
integer
Client identifier
Estado
integer
Reservation status (1: active in section, 2: client’s active ones)
placa
string
Vehicle license plate
tramo_id
integer
Section identifier. Combined with Estado=1 it returns the plates
currently parked in that section (useful for field verification).
Responses
Section titled “Responses”Paginated list of reservations
Media typeapplication/json
object
estado
string
data
Array<object>
object
total
Total records
integer
per_page
Records per page
integer
current_page
Current page
integer
last_page
Last page
integer
Example
{ "estado": "ok"}Invalid request
Media typeapplication/json
object
estado
string
error
Error message
string
errores
Field-specific error details
object
Example
{ "estado": "fail"}