Kuyruk Durumu
Mobil Uygulama Entegrasyon Kılavuzu
Kuyruk Durumu
Giden kuyruktaki tek bir öğenin güncel durumunu getirir. Teslimat onayı gelene kadar yoklama yapmak için kullanışlıdır.
Sorgu Parametreleri
| Alan | Tür | Açıklama | |
|---|---|---|---|
| id | integer | zorunlu | Kuyruk mesaj ID'si. |
Örnek İstek
cURL
curl "https://api.rcszilla.com/?endpoint=queue_status&id=101" \ -H "Authorization: Bearer YOUR-DEVICE-TOKEN"
Yanıt
JSON200 OK
{
"success": true,
"id": "101",
"status": "delivered",
"sent_at": "2026-04-29 10:01:45",
"failed_reason": null
}
Status Values
| Status | Açıklama |
|---|---|
| pending | Waiting to be picked up by a device. |
| processing | Claimed by a device, currently being sent. |
| sent | Handed off to the carrier. |
| delivered | Carrier delivery confirmation received. |
| failed | Send failed. Check failed_reason. |
| cancelled | Cancelled by the user via the web panel. |