et:wms_direct:postman
POSTMAN collection file
Open Notepad (Start → Notepad) and paste in the code below:
- WMS Direct.postman_collection
{ "info": { "_postman_id": "485b4676-a511-4c17-9f53-d9c4f0ae3b3a", "name": "WMS Direct", "description": "## Testimine\n\n[Test keskkond](https://login.directo.ee/xmlcore/wmsd/webupload.html)\n\n## Variables\n\nbaseURL - ühise pöördumispunkti URL - [https://login.directo.ee/xmlcore/wmsd/xmlcore.asp](https://login.directo.ee/xmlcore/wmsd/xmlcore.asp) \nAPPKey - konkreetse baasi API võti", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "14246513" }, "item": [ { "name": "Order(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "order", "type": "text" }, { "key": "ts", "value": "15.12.2023", "type": "text" }, { "key": "code", "value": "I00H4Y3N1", "type": "text", "disabled": true }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "barcode", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Item(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "item", "type": "text" }, { "key": "code", "value": "I00H4Y3N1", "type": "text", "disabled": true }, { "key": "ts", "value": "01.12.2023", "type": "text", "disabled": true }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "barcode", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Item(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "what", "value": "item", "type": "text" }, { "key": "put", "value": "1", "type": "default" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<items><item code=\"PANT\" volume=\"11\" ></item></items>", "type": "default" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Shelf(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "shelf", "type": "text" }, { "key": "code", "value": "", "type": "text", "disabled": true }, { "key": "ts", "value": "01.05.2023", "type": "text" }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "barcode", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Recipe(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "recipe", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Stocklevel(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "stocklevel", "type": "text" }, { "key": "code", "value": "FF004", "type": "text", "disabled": true }, { "key": "ts", "value": "20.01.2024", "type": "text" }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "barcode", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Stocklevel(s) by Shelf get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "shelfstocklevel", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "ts", "value": "12.01.2025", "type": "text" }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "barcode", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true }, { "key": "serialnumber", "value": "SNX3", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "ItemHistoryRow(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "itemhistoryrow", "type": "text" }, { "key": "code", "value": "0001", "type": "text" }, { "key": "ts", "value": "20.01.2024", "type": "text", "disabled": true }, { "key": "class", "value": "", "type": "text", "disabled": true }, { "key": "number", "value": "100001", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "supplieritem", "value": "", "type": "text", "disabled": true }, { "key": "closed", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Stock(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "stock", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "closed", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Customer(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "customer", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "loyaltycard", "value": "", "type": "text" }, { "key": "regno", "value": "", "type": "text" }, { "key": "email", "value": "", "type": "text" }, { "key": "phone", "value": "", "type": "text" }, { "key": "closed", "value": "", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Suppliers(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "supplier", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "class", "value": "", "type": "text" }, { "key": "regno", "value": "", "type": "text" }, { "key": "email", "value": "", "type": "text" }, { "key": "type", "value": "", "type": "text" }, { "key": "closed", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Delivery(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "delivery", "type": "text" }, { "key": "number", "value": "100047", "type": "text", "disabled": true }, { "key": "customer", "value": "", "type": "text", "disabled": true }, { "key": "supplier", "value": "", "type": "text", "disabled": true }, { "key": "type", "value": "", "type": "text", "disabled": true }, { "key": "status", "value": "", "type": "text", "disabled": true }, { "key": "confirmed", "value": "0", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text", "disabled": true }, { "key": "stock", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Delivery(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "what", "value": "delivery", "type": "text" }, { "key": "put", "value": "1", "type": "default" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<deliveries><delivery number=\"100039\" status=\"VALMIS\" datafield1=\"far@directo.ee\" confirm=\"2\"><rows><row item=\"00000071044\" rn=\"1\" qty=\"1.000\" /></rows></delivery></deliveries>", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Sissetulek get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "stockreceipt", "type": "text" }, { "key": "number", "value": "", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text" }, { "key": "date1", "value": "", "type": "text" }, { "key": "date2", "value": "", "type": "text" }, { "key": "supplier", "value": "", "type": "text" }, { "key": "confirmed", "value": "", "type": "text" }, { "key": "status", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Sissetulek put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "stockreceipt", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<stockreceipts>\n <stockreceipt number=\"100019\" supplier=\"0001\" suppliername=\"Directo OÜ\" stock=\"TL1\" user=\"SUPER\" purchaseorder=\"100005\" text=\"ETS NORD Test\" confirm=\"0\">\n <rows>\n <row item=\"0001\" qty=\"3\" purchaseorder=\"100005\" shelf=\"1\" orn=\"1\" />\n </rows>\n </stockreceipt>\n</stockreceipts>", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Inventuur get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "taking", "type": "text" }, { "key": "number", "value": "", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text" }, { "key": "date", "value": "", "type": "text" }, { "key": "startdate", "value": "", "type": "text" }, { "key": "stock", "value": "", "type": "text" }, { "key": "confirmed", "value": "", "type": "text" }, { "key": "", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Inventuur put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "taking", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<takings>\n <taking number=\"1001965\" stock=\"1\" chain=\"2400024\" description=\"alustas:honeywell4@bvtpartners.ee\" date=\"2024-11-28T08:46:08\" startdate=\"2024-11-28T08:46:08\" shelf=\"D-30-01\">\n <rows>\n <row itemcode=\"9079240\" rn=\"3\" quantity=\"6.00000\" />\n </rows>\n </taking>\n</takings>\n", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Movement(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "movement", "type": "text" }, { "key": "number", "value": "", "type": "text" }, { "key": "tostock", "value": "", "type": "text" }, { "key": "fromstock", "value": "", "type": "text" }, { "key": "confirmed", "value": "", "type": "text" }, { "key": "ts", "value": "2023-12-12", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Movement(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "movement", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<movements>\n <movement number=\"11546\" date=\"2023-02-01T12:15:38.7900000\" fromstock=\"1\" tostock=\"1\" status=\"nostatus\" confirm=\"1\">\n <rows>\n <row item=\"17122500000323\" rn=\"1\" qty=\"3.000\" receivedqty=\"3.000\" fromshelf=\"AA-33-01-14\" toshelf=\"AA-35-01-06\" />\n </rows>\n </movement>\n</movements>\n", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] }, "description": "[https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_liikumised.xsd](https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_liikumised.xsd)" }, "response": [] }, { "name": "Production(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "production", "type": "text" }, { "key": "number", "value": "", "type": "text" }, { "key": "status", "value": "", "type": "text" }, { "key": "kinnitatud", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] }, "description": "[https://login.directo.ee/xmlcore/vtmf_test_wmsd/ws_kasutajad.xsd](https://login.directo.ee/xmlcore/vtmf_test_wmsd/ws_kasutajad.xsd)" }, "response": [] }, { "name": "Production(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "production", "type": "text" }, { "key": "xmldata", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] }, "description": "[https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_liikumised.xsd](https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_liikumised.xsd)" }, "response": [] }, { "name": "Writeoff(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "writeoff", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<writeoffs>\n <writeoff number=\"400109\" date=\"2022-10-13T08:02:58\" comment=\"Toimetaja\" account=\"5100\" object=\"173,LSE,Z\" stock=\"L100\" project=\"TST00194\" status=\"VALMIS\">\n <rows>\n <row item=\"403026\" rn=\"1\" qty=\"2.000\" object=\"E210\" stock=\"L100\" />\n <row item=\"503601\" rn=\"2\" qty=\"1.000\" object=\"E210\" stock=\"L100\" />\n <row item=\"503026\" rn=\"3\" qty=\"1.000\" object=\"E210\" stock=\"L100\" />\n <row item=\"503013\" rn=\"4\" qty=\"2.000\" object=\"E210\" stock=\"L100\" />\n </rows>\n </writeoff>\n</writeoffs>\n", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] }, "description": "[https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_mahakandmised.xsd](https://login.directo.ee/xmlcore/vtmf_test_wmsd/xml_IN_mahakandmised.xsd)" }, "response": [] }, { "name": "Writeoff(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "writeoff", "type": "text" }, { "key": "confirmed", "value": "0", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] }, "description": "Filter \"number\",\"status\",\"project\",\"stock\",\"confirmed\",\"ts\"" }, "response": [] }, { "name": "Invoice(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "invoice", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<invoices>\n <invoice number=\"800009\" customercode=\"1255\" comment=\"20424\">\n <rows>\n <row item=\"0001\" quantity=\"1\" rn=\"1\"/>\n </rows>\n </invoice>\n</invoices>", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Invoice(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "invoice", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "StockReturns(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "stockreturn", "type": "text" }, { "key": "code", "value": "", "type": "text", "disabled": true }, { "key": "ts", "value": "12.12.2023", "type": "text" }, { "key": "status", "value": "NOPE", "type": "text", "disabled": true } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "StockReturn(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "stockreturn", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "PurchaseOrder(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "purchaseorder", "type": "text" }, { "key": "number", "value": "23000516", "type": "text" }, { "key": "date1", "value": "", "type": "text" }, { "key": "date2", "value": "", "type": "text" }, { "key": "supplier", "value": "", "type": "text" }, { "key": "confirmed", "value": "", "type": "text" }, { "key": "status", "value": "", "type": "text" }, { "key": "type", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" }, { "key": "stock", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "SalesOrder(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "order", "type": "text" }, { "key": "number", "value": "", "type": "text" }, { "key": "customercode", "value": "", "type": "text" }, { "key": "class", "value": "", "type": "text" }, { "key": "orderercode", "value": "", "type": "text" }, { "key": "date1", "value": "", "type": "text" }, { "key": "date2", "value": "", "type": "text" }, { "key": "ts", "value": "12.12.2023", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "SN Datafield get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "sndatafield", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "class", "value": "", "type": "text" }, { "key": "sn", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "SN Datafield put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "sndatafield", "type": "text" }, { "key": "xmldata", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<sndatafields>\n <sndatafield code=\"PARTII_TYYP\" class=\"sn_PARTII_NR\" sn=\"TOM1\" content=\"A\" qty=\"10\"/>\n\n <sndatafield code=\"PARTII_PARIMENNE\" class=\"sn_PARTII_NR\" sn=\"TOM1\" content=\"31.12.2023\" comment=\"Proov\" qty=\"10\"/>\n</sndatafields>", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "SN DatafieldClass get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "sndatafieldclass", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "class", "value": "", "type": "text" }, { "key": "sn", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Object(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "object", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "master", "value": "", "type": "text" }, { "key": "type", "value": "", "type": "text" }, { "key": "level", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Project(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "project", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "customer", "value": "", "type": "text" }, { "key": "supplier", "value": "", "type": "text" }, { "key": "orderer", "value": "", "type": "text" }, { "key": "contract", "value": "", "type": "text" }, { "key": "closed", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Project(s) put", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "put", "value": "1", "type": "text" }, { "key": "what", "value": "project", "type": "text" }, { "key": "xmldata", "value": "\"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<projects>\n <project code=\"olgatest\" name=\"Olga testib projektide sisendit\" manager=\"SUPER\" members=\"SUPER\" start=\"1.1.2026\" end=\"31.12.2026\" currency=\"EUR\" master=\"1\" customer=\"228\" customercontact=\"Olga Noga\" customercontactphone=\"123\" customercontactemail=\"olga@directo.ee\" supplier=\"228\" memo=\"MEMO 1\" memo2=\"MENO 2\" contract=\"100001\" payterm=\"7\" closed=\"0\">\n <rows>\n <row start=\"1.2.2026\" manager=\"SUPER\" workers=\"SUPER\" comment=\"Rida 1\" actualend=\"1.3.2026\" sum=\"500\" object=\"RNT\" item=\"1100051\" rn=\"1\" />\n <row start=\"1.2.2026\" manager=\"SUPER\" workers=\"SUPER\" comment=\"Rida 1\" actualend=\"1.3.2026\" sum=\"500\" object=\"RNT\" item=\"1100051\" rn=\"2\" />\n </rows>\n <datafields>\n <data code=\"KESTVUS\" content=\"1\"/>\n </datafields>\n </project>\n </projects>\"", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "User(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "user", "type": "text" }, { "key": "code", "value": "", "type": "text" }, { "key": "internalcode", "value": "", "type": "text" }, { "key": "idnumber", "value": "", "type": "text" }, { "key": "closed", "value": "", "type": "text" }, { "key": "email", "value": "", "type": "text" }, { "key": "ts", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Workcenter(s) get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "workcenter", "type": "text" }, { "key": "code", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] }, { "name": "Delete get", "request": { "method": "POST", "header": [], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "{{KeyType}}", "value": "{{APPKey}}", "type": "text" }, { "key": "get", "value": "1", "type": "text" }, { "key": "what", "value": "delete", "type": "text" }, { "key": "document", "value": "", "type": "text", "disabled": true }, { "key": "ts", "value": "15.12.2023", "type": "text" } ] }, "url": { "raw": "{{baseURL}}/xmlcore.asp", "host": [ "{{baseURL}}" ], "path": [ "xmlcore.asp" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "baseURL", "value": "https://login.directo.ee/xmlcore/wmsd", "type": "string" }, { "key": "{{KeyType}}", "value": "token", "type": "string" }, { "key": "APPKey", "value": "", "type": "string", "disabled": true } ] }
et/wms_direct/postman.txt · Viimati muutnud: 2026/11/30 13:34 persoon toomas