curl --request GET \
--url 'https://api.scanova.io/analytics/report/58/update/' \
--header 'Authorization: YOUR_API_KEY'
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
التحليلات والخطط
جلب تقرير تحليلات محفوظ
GET /analytics/report//update/
GET
/
analytics
/
report
/
{pk}
/
update
/
curl --request GET \
--url 'https://api.scanova.io/analytics/report/58/update/' \
--header 'Authorization: YOUR_API_KEY'
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
يجلب تقرير تحليلات محفوظًا واحدًا.
يتطلب مفتاح واجهة برمجة تطبيقات إدارة بحصة
MANAGEMENT_API (أو MANAGEMENT_API_SANDBOX) — راجع نظرة عامة على واجهة برمجة التطبيقات للإدارة.integer
مطلوب
معرّف
id للتقرير، من سرد تقارير التحليلات.curl --request GET \
--url 'https://api.scanova.io/analytics/report/58/update/' \
--header 'Authorization: YOUR_API_KEY'
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
رغم أن المسار ينتهي بـ
/update/، فإن GET هنا هو مجرد عملية جلب — يُقيَّد مجموعة الاستعلام بالتقارير التي تكون فيها is_saved بقيمة true، لذا فإن التقرير غير المحفوظ (لمرة واحدة) الذي أُنشئ عبر تشغيل إنشاء تقرير تحليلات لا يمكن الوصول إليه عبر هذا الطرف؛ استخدم سرد تقارير التحليلات لتلك التقارير بدلاً من ذلك. يُعاد 404 إذا لم يكن pk تقريرًا محفوظًا يملكه هذا الحساب.ذو صلة
- سرد تقارير التحليلات — إيجاد معرّف
idالتقرير. - تحديث تقرير تحليلات محفوظ — إعادة تسميته أو تعديله.
- نظرة عامة على واجهة برمجة التطبيقات للإدارة — مخطط المصادقة وبنية الحصص التي ينتمي إليها هذا الطرف.
التفويضات
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
معلمات المسار
الاستجابة
200 - application/json
Report detail.
هل كانت هذه الصفحة مفيدة؟