{ - there can be several orders in one request
"0": {
"ifp_id": 26645,
"code1c": "ДН-000004",
"data": {
"sale_doc": {
"date": "2022-05-21 12:12:34",
"user": {
"code1c": 23232,
"name": "Иванов Иван",
"phone": "+38 (999) 999-99-99",
}
},
"start_production": {
"date": "2022-05-21 12:12:34",
"user": {
"code1c": 23232,
"name": "Иванов Иван",
"phone": "+38 (999) 999-99-99",
}
},
"stock_ready": {
"date": "2022-05-21 12:12:34",
"user": {
"code1c": 23232,
"name": "Иванов Иван",
"phone": "+38 (999) 999-99-99",
}
},
"service_ready": [ - there can be several services in one request
{"0": {
"date": "2022-05-21 12:12:34",
"user": {
"code1c": 23232,
"name": "Иванов Иван",
"phone": "+38 (999) 999-99-99",
},
"count": 23,
"ifp_id": 49,
"code1c": 34522
}
},
{"1": {
"date": "2022-05-21 12:12:34",
"user": {
"code1c": 23232,
"name": "Иванов Иван",
"phone": "+38 (999) 999-99-99",
},
"count": 23,
"ifp_id": 7,
"code1c": 34522
}
}
]
}
}
}
Ответ
{
"status": "ok",
"error": "",
"data": [
{
"ifp_id": "26645",
"code_order_1c": null,
"sale_doc": "130316", - if it's a number, then it's done
"start_production": "130317",- if it's a number, then it's done
"stock_ready": "130318",- if it's a number, then it's done
"service_ready": {
"49": {
"ifp_id_result": "2"- if it's a number, then it's done
},
"7": {
"ifp_id_result": "1"- if it's a number, then it's done
}
},
"service_ready_all": {
"49": "130319",
"7": "130319"
}
}
]
}
|
|