Please enable JavaScript.
Coggle requires JavaScript to display documents.
getOrdersDBnew (Загружаем список: Новые заказы ($SYS.GET (https://api.pipe…
getOrdersDBnew
Загружаем список: Новые заказы
$SYS.GET
https://api.pipe.bot/docs/spreadsheets/read
else
%bot.errMsg1
[getOrdersDBnew -> var json is empty]
?json
$JSON %json orders each(%item)
next
%oNum=$JSON %item id
%oState=Новый
%oDate=$JSON %item deliv_date
%oTime=$JSON %item deliv_time
%oLoc=$JSON %item deliv_loc
%oItems=$JSON %item items
%oComm=$JSON %item comm
%msgTxt1=Заказ№: %oNum
Статус заказа: %oState
Когда доставить: %oDate, %oTime:00
%msgTxt2=
Место: %oLoc
Содержание: %oItems
Комментарий: %oComm
%msgFull=%msgTxt1%msgTxt2
%msgFull
exit
-- Конец Списка --
end
ANSWER
%json
QUESTION
range=J!B1
doc=1SQpC7SNuZ16K_w13HHhdFp4FQXjIL71vgeb68w3n8H4