# API: Get Report Snapshot

# getReportSnapshotDetails

Get specific report snapshot details

# Required parameters

Parameter Description
id Snapshot ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getReportSnapshotDetails&id=ID

# PHP Samples

# PHP Samples: Get snapshot details with id #1

# Response

{
    "success": true,
    "snapshot": {
        "id": 1,
        "report_id": "1",
        "name": "Orders list in selected period",
        "frequency": "Demand",
        "day": "1",
        "time": "00:00",
        "target": "Filesystem",
        "target_ids": [],
        "data_to_retain": "0",
        "retention_settings": "stop",
        "state": {
            "params": {
                ":date_bottom": "29\/06\/2026",
                ":date_top": "29\/07\/2026"
            },
            "conditions": {
                "connector": "AND"
            },
            "output": "html"
        },
        "columns": [
            "Order ID"
        ],
        "generated_at": "2026-08-11 03:30:14",
        "created_at": "2026-08-11 03:29:53",
        "updated_at": "2026-08-11 03:30:14",
        "report_name": "Orders list in selected period",
        "generated_count": 2,
        "attachments": [
            {
                "id": 3,
                "snapshot_id": "1",
                "data": {
                    "columns": [
                        "Order ID"
                    ],
                    "data": []
                },
                "email_sent": "0",
                "attachment": "801061_orders_list_in_selected_period_2026_08_11_03_30_04.html",
                "created_at": "2026-08-11 03:30:04"
            },
            {
                "id": 4,
                "snapshot_id": "1",
                "data": {
                    "columns": [
                        "Order ID"
                    ],
                    "data": []
                },
                "email_sent": "0",
                "attachment": "990411_orders_list_in_selected_period_2026_08_11_03_30_14.html",
                "created_at": "2026-08-11 03:30:14"
            }
        ]
    },
    "call": "getReportSnapshotDetails",
    "server_time": 1786444817
}
Last Updated: 8/24/2026, 2:38:55 PM