R
rubiaoliveira
Guest
How can I post the ITEMS list like the example os Json's code? The first block is OK: oJson = new JsonObject(). oJson:Add('appId', 'totvs.1'). oJson:Add('token', ''). oJson:Add('activityId', '1'). oJson:Add('IdCode', '55-0438736-1056435-3102D'). { "appId" : "totvs.1", "token" : "", "activityId" : 1, "idcode" : "55-0438736-1056435-3102D", "items" : [ { "material" : { "id" : "00930", "name" : "CONSERVANTE MONOCÁLCIO", "desc1" : "CONSERVAR EM TEMPERATURA ATÉ 20 oC", }, "itemIdx" : 1, "itemSupBatch" : "BA-23903", "itemErpBatch" : null, }, { "material" : { "id" : "00930", "name" : "CONSERVANTE MONOCÁLCIO", "desc1" : "CONSERVAR EM TEMPERATURA ATÉ 20 oC", }, "itemIdx" : 2, "itemSupBatch" : "BA-23904", "itemErpBatch" : null, } ] }
Continue reading...
Continue reading...