Reservas - GET
Este endpoint retorna todas as reservas cadastradas na plataforma Joviplanet.
Endpoint
GET /api/reservas
Exemplo de Requisição (cURL)
curl -X GET "https://api.joviplanet.com/api/reservas" \
-H "accept: application/json" \
-H "Authorization: Bearer <seu-token-jwt>"
Resposta Esperada (200)
[
{
"hostRESERVA": 10,
"usuarioRESERVA": 22,
"datapublicaRESERVA": "2025-05-01",
"deRESERVA": "2025-05-10",
"ateRESERVA": "2025-05-15",
"imovelRESERVA": 101,
"statusRESERVA": 1,
"statuspagamentoRESERVA": 2,
"slugRESERVA": 3,
"ativoRESERVA": 1
}
]
Observação: O header Authorization deve conter seu token JWT válido, obtido via autenticação.