Create Reservation
# Create Reservation - Stoktan Cihaz Rezerve Et
Belirtilen model ve adet kadar cihazı mağaza stoğundan rezerve eder.
## Request Body
| Parametre | Tip | Zorunlu | Açıklama |
| --- | --- | --- | --- |
| `model_type` | string | Evet | `tiger` veya `s1` |
| `qty` | integer | Evet | Rezerve edilecek cihaz adedi (0'dan büyük) |
## Endpoint
- `POST /api/v1/devices/reservations`
## Örnek Request
``` json
{
"model_type": "tiger",
"qty": 2
}
```
## Örnek Success Response
``` json
{
"status": "SUCCESS",
"data": {
"names": ["FT00001234", "FT00001235"]
}
}
```
## Notlar
- Sadece `ykb` ve `teb` kullanıcıları kullanabilir
- Başarılı response'da rezerve edilen cihaz adları döner (`data.names`)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
model_type
qty
Response
OK
status
data
metadata
Errors
400
Bad Request Error

