DEPRECATED - Recuperar plaza fija de parking del usuario
Última modificación: 08/09/2022
Recupera la plaza fija asignada al usuario. En caso de no tenerla no devuelve nada.
Request
HTTP request
GET /api/v1/users/me/parkings/fixedparkingslot
GET /api/v1/users/{userId}/parkings/fixedparkingslot
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFM1MT… | true |
Response
Se devuelve un código 200 con la información de la plaza asociada, en caso de tenerla.
{
"fixedParkingSlot": {
"parkingSlot": {
"id": "88fb938f-3a48-4c72-a866-41d46d99654e",
"name": "DQ-1-PARK-1",
"posterCode": "DQ-1-PARK-1",
"mapCoordinates": {
"topLeftX": 0,
"topLeftY": 0,
"bottomRightX": 100,
"bottomRightY": 100
},
"approachable": true,
"floor": {
"id": "07d38652-7463-4a41-a9e2-4a0ba18a28cd",
"visible": false
},
"subcategory": {
"id": "c28d0bbf-98c9-4141-ab73-9ddffa0be581"
},
"visible": true,
"covered": false,
"parkingSlotSize": "BIG"
},
"startTimeMs": "25200000",
"endTimeMs": "82800000",
}
}