Order events (status changes, work completion marks, messages to customers)

 
 
action: get_order_events_list
 
The request must contain the order code in the iFurn.pro system
 
The response contains:
 
movement of raw materials
service readiness dates
order status changes
messages to customers on orders
 
{
    "status""ok",
    "error""",
    "data": {
        "source_move": {
            "count"14,
            "data": [
                {
                    "operation""pack",
                    "count"null,
                    "worker""4",
                    "goods""15798",
                    "goods_stock"null,
                    "date""2021-09-13 14:17:55",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""pack",
                    "count"null,
                    "worker""4",
                    "goods""15798",
                    "goods_stock"null,
                    "date""2021-09-13 14:18:04",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""issue",
                    "count""0.636",
                    "worker""4",
                    "goods""15798",
                    "goods_stock"null,
                    "date""2021-09-13 14:18:04",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""pack",
                    "count"null,
                    "worker""4",
                    "goods""15768",
                    "goods_stock""3464",
                    "date""2021-09-13 15:05:42",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""issue",
                    "count""0.281",
                    "worker""4",
                    "goods""15768",
                    "goods_stock""3464",
                    "date""2021-09-13 15:05:49",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""accept",
                    "count""0.281",
                    "worker""4",
                    "goods""15768",
                    "goods_stock""3464",
                    "date""2021-09-13 15:05:53",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""accept",
                    "count""0.636",
                    "worker""3",
                    "goods""15798",
                    "goods_stock"null,
                    "date""2021-09-13 16:50:16",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""pack",
                    "count"null,
                    "worker""4",
                    "goods""14799",
                    "goods_stock""4657",
                    "date""2021-09-13 16:51:37",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""issue",
                    "count""0.116",
                    "worker""4",
                    "goods""14799",
                    "goods_stock""4657",
                    "date""2021-09-13 16:51:53",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""accept",
                    "count""0.116",
                    "worker""4",
                    "goods""14799",
                    "goods_stock""4657",
                    "date""2021-09-13 16:52:07",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""pack",
                    "count"null,
                    "worker""58",
                    "goods""20919",
                    "goods_stock"null,
                    "date""2021-09-14 16:24:36",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""pack",
                    "count"null,
                    "worker""58",
                    "goods""20919",
                    "goods_stock"null,
                    "date""2021-09-14 16:24:46",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""issue",
                    "count""6.000",
                    "worker""58",
                    "goods""20919",
                    "goods_stock"null,
                    "date""2021-09-14 16:24:46",
                    "time_update""2021-09-20 14:15:34"
                },
                {
                    "operation""accept",
                    "count""6.000",
                    "worker""58",
                    "goods""20919",
                    "goods_stock"null,
                    "date""2021-09-14 16:24:50",
                    "time_update""2021-09-20 14:15:34"
                }
            ]
        },
        "goods_service": [
            {
                "service""34",
                "service_ready""1",
                "service_ready_user""43",
                "service_ready_user_crm"null,
                "date""2021-09-17 16:14:21"
            },
            {
                "service""35",
                "service_ready""1",
                "service_ready_user""43",
                "service_ready_user_crm"null,
                "date""2021-09-17 16:14:23"
            },
            {
                "service""11",
                "service_ready""1",
                "service_ready_user""48",
                "service_ready_user_crm"null,
                "date""2021-09-18 08:44:34"
            },
            {
                "service""17",
                "service_ready""1",
                "service_ready_user""92",
                "service_ready_user_crm"null,
                "date""2021-09-18 11:05:29"
            },
            {
                "service""31",
                "service_ready""1",
                "service_ready_user""81",
                "service_ready_user_crm"null,
                "date""2021-09-18 08:04:45"
            }
        ],
        "status_changes": [
            {
                "orders_status_timeline_id""26262",
                "order""11452",
                "status""3",
                "user""1042",
                "reason""не указано",
                "d_update""2021-09-13 11:30:41",
                "worker"null
            },
            {
                "orders_status_timeline_id""26263",
                "order""11452",
                "status""3",
                "user""1042",
                "reason""не указано",
                "d_update""2021-09-13 11:30:44",
                "worker"null
            },
            {
                "orders_status_timeline_id""27597",
                "order""11452",
                "status""4",
                "user""1042",
                "reason""не указано",
                "d_update""2021-09-17 08:10:48",
                "worker"null
            },
            {
                "orders_status_timeline_id""28037",
                "order""11452",
                "status""5",
                "user"null,
                "reason"null,
                "d_update""2021-09-18 11:05:29",
                "worker""92"
            },
            {
                "orders_status_timeline_id""28144",
                "order""11452",
                "status""6",
                "user"null,
                "reason"null,
                "d_update""2021-09-18 13:39:58",
                "worker""43"
            }
        ],
        "messages": [
            {
                "message_id""9745",
                "order""11452",
                "order_part"null,
                "user""1042",
                "id_sms_servie""3ce86bf1-613f-5619-77bf-6855dbd1f68c",
                "phone""+38(068) 621-90-90",
                "email"null,
                "client""1068",
                "worker"null,
                "message""YToyOntzOjEwOiJyZWNpcGllbnRzIjthOjE6e2k6MDtzOjEyOiIzODA2ODYyMTkwOTAiO31zOjM6InNtcyI7YToyOntzOjY6InNlbmRlciI7czo1OiJBQlJJUyI7czo0OiJ0ZXh0IjtzOjk3OiIg0JfQsNC60LDQtyDQv9C+0LTRgtCy0LXRgNC20LTRkdC9INCyINC/0YDQvtC40LfQstC+0LTRgdGC0LLQvi4gIGh0dHBzOi8vcS5pZnVybi5wcm8vdi9wLzBkVU9ZWm41Ijt9fQ==",
                "read_user"null,
                "read_user_time"null,
                "read_client"null,
                "read_client_time"null,
                "read_worker"null,
                "read_worker_time"null,
                "d_update""2021-09-14 00:04:02",
                "finish""1",
                "date""2021-09-13 12:30:37"
            },
            {
                "message_id""9746",
                "order""11452",
                "order_part"null,
                "user""1042",
                "id_sms_servie""40433fc5-613f-5619-77bf-050af945f82a",
                "phone""+38(068) 621-90-90",
                "email"null,
                "client""1068",
                "worker"null,
                "message""YToyOntzOjEwOiJyZWNpcGllbnRzIjthOjE6e2k6MDtzOjEyOiIzODA2ODYyMTkwOTAiO31zOjM6InNtcyI7YToyOntzOjY6InNlbmRlciI7czo1OiJBQlJJUyI7czo0OiJ0ZXh0IjtzOjk3OiIg0JfQsNC60LDQtyDQv9C+0LTRgtCy0LXRgNC20LTRkdC9INCyINC/0YDQvtC40LfQstC+0LTRgdGC0LLQvi4gIGh0dHBzOi8vcS5pZnVybi5wcm8vdi9wLzBkVU9ZWm41Ijt9fQ==",
                "read_user"null,
                "read_user_time"null,
                "read_client"null,
                "read_client_time"null,
                "read_worker"null,
                "read_worker_time"null,
                "d_update""2021-09-14 00:04:02",
                "finish""1",
                "date""2021-09-13 12:30:40"
            }
        ]
    }
}