Get Lead
# Get Lead by ID - Sipariş Sorgulama
Sipariş takip numarası ile sipariş bilgilerini ve bağlı ECR'ları getirir.
## Path Parameters
| Parametre | Tip | Açıklama |
| --- | --- | --- |
| `leadId` | int | Sipariş takip numarası |
## Response Fields
| Alan | Tip | Açıklama |
| --- | --- | --- |
| `leadId` | int | Sipariş takip numarası |
| `leadStatus` | string | Ön Sipariş durum kodu |
| `devices` | array | Cihaz listesi |
| `devices[].deviceId` | string | ÖKC mali sicil numarası |
| `devices[].deviceStatus` | string | ÖKC durum kodu aşağıda |
| `devices[].statusDescription` | string | ÖKC durum açıklaması |
## ÖKC Durum Kodları
| Kod | Açıklama |
| --- | --- |
| `new` | Mali değil |
| `active` | Mali |
| `bank_active` | Terminal yüklü |
| `cancel` | Sipariş iptal |
| `onhold` | Geçici kapama |
| `transfer` | Devir |
| `inactive` | Hurda |
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
OK
status
data
metadata
Errors
404
Not Found Error

