curl --request GET \
--url http://localhost:3091/v1/api/superadmin/reservations \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"first": true,
"last": true,
"size": 123,
"content": [
{
"id": 123,
"reservationNumber": "<string>",
"idCreateur": 123,
"idExpediteur": 123,
"statut": "<string>",
"annonceId": 123,
"poidsReserve": 123,
"expediteur": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"username": "<string>",
"phoneNumber": "<string>",
"nationality": "<string>",
"birthDate": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123
},
"createurProfil": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"username": "<string>",
"phoneNumber": "<string>",
"nationality": "<string>",
"birthDate": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123
},
"createur": "<string>",
"lieuArrivee": "<string>",
"lieuDepart": "<string>",
"dateDepart": "2023-12-25",
"dateArrivee": "2023-12-25",
"annonce": "<string>",
"codeDepot": "<string>",
"createurEmail": "<string>",
"infosContenu": "<string>",
"codeLivraison": "<string>",
"pointRdv": "<string>",
"pointLivraison": "<string>",
"paymentId": "<string>",
"authorizationId": "<string>",
"captureId": "<string>",
"refundId": "<string>",
"paymentStatus": "<string>",
"paymentDate": "2023-11-07T05:31:56Z",
"paymentApprovalUrl": "<string>",
"reservationDate": "2023-11-07T05:31:56Z",
"items": [
{
"categorieId": 123,
"nom": "<string>",
"quantiteReserve": 123,
"code": "<string>"
}
],
"invoiceId": "<string>",
"invoiceUrl": "<string>",
"invoiceStatus": "<string>"
}
],
"number": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageable": {
"offset": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"unpaged": true
},
"numberOfElements": 123,
"empty": true
}curl --request GET \
--url http://localhost:3091/v1/api/superadmin/reservations \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"first": true,
"last": true,
"size": 123,
"content": [
{
"id": 123,
"reservationNumber": "<string>",
"idCreateur": 123,
"idExpediteur": 123,
"statut": "<string>",
"annonceId": 123,
"poidsReserve": 123,
"expediteur": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"username": "<string>",
"phoneNumber": "<string>",
"nationality": "<string>",
"birthDate": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123
},
"createurProfil": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"username": "<string>",
"phoneNumber": "<string>",
"nationality": "<string>",
"birthDate": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123
},
"createur": "<string>",
"lieuArrivee": "<string>",
"lieuDepart": "<string>",
"dateDepart": "2023-12-25",
"dateArrivee": "2023-12-25",
"annonce": "<string>",
"codeDepot": "<string>",
"createurEmail": "<string>",
"infosContenu": "<string>",
"codeLivraison": "<string>",
"pointRdv": "<string>",
"pointLivraison": "<string>",
"paymentId": "<string>",
"authorizationId": "<string>",
"captureId": "<string>",
"refundId": "<string>",
"paymentStatus": "<string>",
"paymentDate": "2023-11-07T05:31:56Z",
"paymentApprovalUrl": "<string>",
"reservationDate": "2023-11-07T05:31:56Z",
"items": [
{
"categorieId": 123,
"nom": "<string>",
"quantiteReserve": 123,
"code": "<string>"
}
],
"invoiceId": "<string>",
"invoiceUrl": "<string>",
"invoiceStatus": "<string>"
}
],
"number": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageable": {
"offset": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"unpaged": true
},
"numberOfElements": 123,
"empty": true
}JWT access token from POST /v1/api/auth/login