{"info":{"_postman_id":"c5c220c2-6275-428e-ac56-b4ff6fac5e31","name":"Epoptia API Version 3.03","description":"<html><head></head><body><p>API Version 3.03</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21083814","collectionId":"c5c220c2-6275-428e-ac56-b4ff6fac5e31","publishedId":"2s9YeLX8oD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-04T11:42:32.000Z"},"item":[{"name":"Work orders & Work order lines","item":[{"name":"Create work orders & work order lines","item":[{"name":"Create WOLs without routing","id":"f22edf14-c765-470c-b452-1ea5fd137839","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n      \"status\": \"new\",\r\n      \"workorderline_id\": \"231317\",\r\n      \"workorderline_code\": \"KL9899\",\r\n      \"production_status\": \"production\",\r\n      \"description\": \"Wooden Table 1200X800\",\r\n    //\"overUnderPercentage\": \"50\",\r\n      \"quantity\": \"200\",\r\n      \"target_day\": \"2021-11-27\",\r\n      \"comments\": \"taking care in transportation\",\r\n    //\"workflow_id\":\"23\",\r\n      \"wol_tag\" : [{\r\n          \"id\": \"3432\",\r\n          \"name\": \"order series 1\"\r\n      }],\r\n      \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }],\r\n      \"workorder\":{\r\n            \"id\":\"2323\",\r\n            \"code\":\"019580\",\r\n            \"comments\": \"Call client before shipment\",\r\n           \"files\": [{\r\n            \t\"id\": \"1616\",\r\n           \t\t\"name\": \"image_at_workorder\",\r\n            \t\"type\": \"jpg\",\r\n            \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/welder-gb18d05173_1280.jpg\"\r\n           }]\r\n         },\r\n      \"product\":{\r\n            \"id\":\"5294\",\r\n            \"name\":\"Wooden Table\",\r\n            \"code\":\"01180\",\r\n            \"category_tag\" : [{\r\n                \"id\": \"4444\",\r\n                \"name\": \"tables\"\r\n            }],\r\n           \"files\": [{\r\n            \t\"id\": \"1717\",\r\n            \t\"name\": \"product_design\",\r\n             \t\"type\": \"jpg\",\r\n             \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/07/workstation3.jpg\"\r\n           }],\r\n           \"thumbnail\": {\r\n             \t\"id\": \"123\",\r\n             \t\"name\": \"product_thumbnail\",\r\n             \t\"type\": \"jpg\",\r\n             \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/laser-ga5579cbb5_1280.jpg\"\r\n             }\r\n         },\r\n      \"client\":{\r\n            \"id\":\"320\",\r\n            \"name\":\"John Bravos\",\r\n\t    \t\"email\": \"jbravos@gmail.com\",\r\n    \t    \"phone_number\": \"003367876939\",\r\n            \"code\":\"560307\",\r\n            \"thumbnail\": {\r\n             \t\"id\": \"1818\",\r\n           \t\t\"name\": \"client_logo\",\r\n            \t\"type\": \"jpg\",\r\n            \t\"path\": \"https://epoptia.com/wp-content/uploads/2022/02/epoptia_logo_4.png\"\r\n           }\r\n         },\r\n         \"customFields\":[\r\n            {\r\n               \"id\":\"501234\",\r\n               \"name\": \"Width\",\r\n               \"value\":\"2mm\",\r\n               \"groupId\": \"\",\r\n               \"groupName\": \"\",\r\n               \"notUpdate\" : true,\r\n               \"type\": \"text\"\r\n            },\r\n           {\r\n              \"id\":\"9841108\",\r\n              \"name\": \"material selection\",\r\n              \"value\":\"Option 1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n              \"type\": \"dropdown\",\r\n              \"dropdown_options\": [\r\n                  \"Option 2\",\r\n                  \"Option 3\"\r\n              ]\r\n            }\r\n         ],\r\n         \"bom\":[ \r\n            {\r\n              \"id\":\"23234\",\r\n              \"name\": \"drawer\",\r\n              \"code\": \"23234\",\r\n              \"value\":\"1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            },\r\n             {\r\n              \"id\":\"32324\",\r\n              \"name\": \"drawer2\",\r\n              \"code\": \"32324\",\r\n              \"value\":\"3\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            }\r\n        ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize","description":"<p><strong>Create work order lines</strong></p>\n<p>All the necessary information is included in the JSON file for the creation of a complete WOL. No routing is included and custom fields are configured inside the Epoptia Software.</p>\n<p>Required fields and explanations.</p>\n<p>All the fields with the symbol (*) in front of them must be fulfilled.<br />All the other fields can be left blank, \"\", or not included at all.</p>\n<ul>\n<li><p>* \"status\"</p>\n<ul>\n<li><p>\"new\" for new wols</p>\n</li>\n<li><p>\"update\" for making changes to existing ones</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorderline_id\" // Remote database id of wol id</p>\n</li>\n<li><p>\"workorderline_code\" // Remote code of wol</p>\n</li>\n<li><p>\"production_status\" // Set the status of the wol</p>\n<ul>\n<li><p>\"production\"</p>\n</li>\n<li><p>\"standby\"</p>\n</li>\n</ul>\n</li>\n<li><p>\"description\" // Remote description of wol</p>\n</li>\n<li><p>\"overUnderPercentage\" // Declare the percentage of Over &amp; Under Production. Allowed values 1-99. It is not mandatory to be included at json files.</p>\n</li>\n<li><p>* \"quantity\" // Desired produced quantitzy</p>\n</li>\n<li><p>* \"target_day\" // WOL target completion date (yyyy-mm-dd)</p>\n</li>\n<li><p>\"comments\" // Remote WOL comments</p>\n</li>\n<li><p>\"workflow_id\" // Epoptia's Template Workflow Id. If not used, do not add it to the JSON file. If erp_routing is used, do not add it to the JSON file.</p>\n</li>\n<li><p>\"wol_tag\" // Can be used to separate different kinds of work order lines inside the same Manufacturing Board. We suggest using the wol_tags for your different series of production orders.</p>\n</li>\n<li><p>\"files\" // Add files to specific work order line. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorder\"</p>\n<ul>\n<li><p>* \"id\" // Remote WO id</p>\n</li>\n<li><p>* \"code\" // Remote WO code</p>\n</li>\n<li><p>\"comments\" // Remote WO comments</p>\n</li>\n<li><p>\"files\" // Add files to a specific work order. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>*\"product\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote product description</p>\n</li>\n<li><p>\"category_tag\" // It can be used to determine the different categories of products.</p>\n</li>\n<li><p>\"files\" // Add files directly to the product's master data. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>* id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>* \"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"client\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>\"email\" // Client's email (Include only one)</p>\n</li>\n<li><p>\"phone_number\" // Client's phone number (Include only one)</p>\n</li>\n<li><p>\"code\" // Remote code</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"customFields\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n<li><p>* \"type\" // If not included type \"Text\" considered by default</p>\n<ul>\n<li><p>Custom field types:</p>\n<ul>\n<li><p>\"text\"</p>\n</li>\n<li><p>\"dropdown\"</p>\n<ul>\n<li>\"dropdown_options\" // The whole array is not required. If fulfilled, the dropdown_options will be inserted</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"bom\"</p>\n<ul>\n<li><p>*\"id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Important notes</strong>:</p>\n<p>WO client, WOLs produced quantity, and workflow value can be updated only if the production orders have not started inside production.</p>\n<p>If they have already started, a system alarm is triggered providing information about the specific action.</p>\n<p>BOMs, custom fields, and comments can be updated at any time.</p>\n<hr />\n<p><strong>Responses</strong></p>\n<ul>\n<li><p>status is missing</p>\n</li>\n<li><p>status value is invalid</p>\n</li>\n<li><p>workorderline_id is missing</p>\n</li>\n<li><p>invalid value for workorderline_id</p>\n</li>\n<li><p>id is missing from wol_tag</p>\n</li>\n<li><p>name is missing from wol_tag</p>\n</li>\n<li><p>invalid value for workorder_line target_day</p>\n</li>\n<li><p>target_day is missing</p>\n</li>\n<li><p>invalid value for production_status (must be<br />  production or standby)</p>\n</li>\n<li><p>quantity is missing</p>\n</li>\n<li><p>invalid value for quantity</p>\n</li>\n<li><p>choose erp_routing or workflow_id</p>\n</li>\n<li><p>invalid value for workflow_id</p>\n</li>\n<li><p>workorder id is missing</p>\n</li>\n<li><p>invalid value for workorder id</p>\n</li>\n<li><p>workorder code is missing</p>\n</li>\n<li><p>invalid value for workorder code</p>\n</li>\n<li><p>invalid value for workorder</p>\n</li>\n<li><p>product id is missing</p>\n</li>\n<li><p>invalid value for product id</p>\n</li>\n<li><p>product name is missing</p>\n</li>\n<li><p>invalid value for product name</p>\n</li>\n<li><p>product is missing</p>\n</li>\n<li><p>id is missing from category_tag</p>\n</li>\n<li><p>name is missing from category_tag</p>\n</li>\n<li><p>invalid value for client id</p>\n</li>\n<li><p>client id is missing</p>\n</li>\n<li><p>client name is missing</p>\n</li>\n<li><p>invalid value for client name</p>\n</li>\n<li><p>client is missing</p>\n</li>\n<li><p>id is missing at product thumbnail</p>\n</li>\n<li><p>name is missing at product thumbnail</p>\n</li>\n<li><p>type is missing at product thumbnail</p>\n</li>\n<li><p>path is missing at product thumbnail</p>\n</li>\n<li><p>type is invalid at product thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>id is missing at client thumbnail</p>\n</li>\n<li><p>name is missing at client thumbnail</p>\n</li>\n<li><p>type is missing at client thumbnail</p>\n</li>\n<li><p>path is missing at client thumbnail</p>\n</li>\n<li><p>type is invalid at client thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>For workorder_line_files, workorder_files &amp; product_files</p>\n<ul>\n<li><p>id is missing</p>\n</li>\n<li><p>name is missing</p>\n</li>\n<li><p>type is missing</p>\n</li>\n<li><p>type is invalid (png,jpg,jpeg,pdf are<br />  accepted)</p>\n</li>\n<li><p>path is missing</p>\n</li>\n</ul>\n</li>\n<li><p>For customFields &amp; bom</p>\n<ul>\n<li><p>invalid value for $cb id</p>\n</li>\n<li><p>$cb name is missing</p>\n</li>\n<li><p>invalid value for $cb name</p>\n</li>\n<li><p>invalid value for $cb notUpdate (must be only<br />  true or ignored)</p>\n</li>\n<li><p>dropdown_options for $cb must be non empty<br />  array</p>\n</li>\n<li><p>equation equation_form is invalid</p>\n</li>\n<li><p>invalid type for $cb (text, dropdown only<br />  accepted)</p>\n</li>\n<li><p>invalid type for $cb (type for custom field<br />  $cb is &gt;type) // In case of other type sent</p>\n</li>\n</ul>\n</li>\n<li><p>Workorder line has started,</p>\n</li>\n<li><p>400 success</p>\n</li>\n<li><p>The work order line has already been archived</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f22edf14-c765-470c-b452-1ea5fd137839"},{"name":"Create WOL with seriallized routing","id":"5972ebcf-293d-4cb4-bacb-c52be6c29d08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n      \"status\": \"new\",\r\n      \"workorderline_id\": \"20001\",\r\n      \"workorderline_code\": \"KL9899\",\r\n      \"production_status\": \"production\",\r\n      \"description\": \"Wooden Table 1200X800\",\r\n    //\"overUnderPercentage\": \"50\",\r\n      \"quantity\": \"200\",\r\n      \"target_day\": \"2021-11-27\",\r\n      \"comments\": \"taking care in transportation\",\r\n      \"wol_tag\" : [{\r\n          \"id\": \"3445\",\r\n          \"name\": \"testtag\"\r\n      }],\r\n      \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }],\r\n      \"workorder\":{\r\n            \"id\":\"4444\",\r\n            \"code\":\"020580\",\r\n            \"comments\": \"Call client before shipment\",\r\n           \"files\": [{\r\n            \t\"id\": \"1616\",\r\n           \t\t\"name\": \"image_at_workorder\",\r\n            \t\"type\": \"jpg\",\r\n            \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/welder-gb18d05173_1280.jpg\"\r\n           }]\r\n         },\r\n      \"erp_routing\": [\r\n        {\r\n         \"workstationId\": \"1\",\r\n          \"workstationName\": \"WorkstationName1\", \r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"334\",\r\n                \"name\": \"ΚΟΠΗ\"\r\n          },\r\n          \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }]\r\n        },\r\n        {\r\n         \"workstationId\": \"2\",\r\n          \"target\": \"5\",\r\n          \"workstationName\": \"WorkstationName2\"\r\n        },\r\n        {\r\n         \"workstationId\": \"3\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n          \"remoteId\": \"333\",\r\n            \"name\": \"job1\"\r\n          },\r\n          \"workstationName\": \"WorkstationName3\"\r\n        }\r\n      ],\r\n      \"product\":{\r\n            \"id\":\"5294\",\r\n            \"name\":\"Wooden Table\",\r\n            \"code\":\"01180\",\r\n           \"files\": [{\r\n            \t\"id\": \"1717\",\r\n            \t\"name\": \"product_design\",\r\n             \t\"type\": \"jpg\",\r\n             \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/07/workstation3.jpg\"\r\n           }],\r\n           \"thumbnail\": {\r\n             \t\"id\": \"123\",\r\n             \t\"name\": \"product_thumbnail\",\r\n             \t\"type\": \"jpg\",\r\n             \t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/laser-ga5579cbb5_1280.jpg\"\r\n             }\r\n         },\r\n      \"client\":{\r\n            \"id\":\"320\",\r\n            \"name\":\"John Bravos\",\r\n\t    \t\"email\": \"jbravos@gmail.com\",\r\n    \t    \"phone_number\": \"003367876939\",\r\n            \"code\":\"560307\",\r\n            \"thumbnail\": {\r\n             \t\"id\": \"1818\",\r\n           \t\t\"name\": \"client_logo\",\r\n            \t\"type\": \"jpg\",\r\n            \t\"path\": \"https://epoptia.com/wp-content/uploads/2022/02/epoptia_logo_4.png\"\r\n           }\r\n         },\r\n         \"customFields\":[\r\n            {\r\n               \"id\":\"501234\",\r\n               \"name\": \"Width\",\r\n               \"value\":\"2mm\",\r\n               \"groupId\": \"\",\r\n               \"groupName\": \"\",\r\n               \"notUpdate\" : true,\r\n               \"type\": \"text\"\r\n            },\r\n           {\r\n              \"id\":\"9841108\",\r\n              \"name\": \"material selection\",\r\n              \"value\":\"Option 1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n              \"type\": \"dropdown\",\r\n              \"dropdown_options\": [\r\n                  \"Option 2\",\r\n                  \"Option 3\"\r\n              ]\r\n            }\r\n         ],\r\n         \"bom\":[ \r\n            {\r\n              \"id\":\"23234\",\r\n              \"name\": \"drawer\",\r\n              \"code\": \"23234\",\r\n              \"value\":\"1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            },\r\n             {\r\n              \"id\":\"32324\",\r\n              \"name\": \"drawer2\",\r\n              \"code\": \"32324\",\r\n              \"value\":\"3\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            }\r\n        ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize","description":"<p><strong>Create work order lines</strong></p>\n<p>All the necessary information is included in the JSON file for the creation of a complete WOL. Serialized routing is included. BOMs and custom fields are configured inside the Epoptia Software.</p>\n<p>Required fields and explanations.</p>\n<p>All the fields with the symbol (*) in front of them must be fulfilled.<br />All the other fields can be left blank, \"\", or not included at all.</p>\n<ul>\n<li><p>* \"status\"</p>\n<ul>\n<li><p>\"new\" for new wols</p>\n</li>\n<li><p>\"update\" for making changes to existing ones</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorderline_id\" // Remote wol id</p>\n</li>\n<li><p>\"production_status\" // Set the status of the wol</p>\n<ul>\n<li><p>\"production\"</p>\n</li>\n<li><p>\"standby\"</p>\n</li>\n</ul>\n</li>\n<li><p>\"description\" // Remote description of wol</p>\n</li>\n<li><p>\"overUnderPercentage\" // Declare the percentage of Over &amp; Under Production. Allowed values 1-99. It is not mandatory to be included at json files.</p>\n</li>\n<li><p>* \"quantity\" // Desired produced quantity</p>\n</li>\n<li><p>* \"target_day\" // WOL target completion date (yyyy-mm-dd)</p>\n</li>\n<li><p>\"comments\" // Remote WOL comments</p>\n</li>\n<li><p>\"workflow_id\" // Epoptia's Template Workflow Id. If not used, do not add it to the JSON file. If erp_routing is used, do not add it to the JSON file.</p>\n</li>\n<li><p>\"wol_tag\" // Can be used to separate different kinds of work order lines inside the same Manufacturing Board. We suggest using the wol_tags for your different series of production orders.</p>\n</li>\n<li><p>\"files\" // Add files to specific work order line. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorder\"</p>\n<ul>\n<li><p>* \"id\" // Remote WO id</p>\n</li>\n<li><p>* \"code\" // Remote WO code</p>\n</li>\n<li><p>\"comments\" // Remote WO comments</p>\n</li>\n<li><p>\"files\" // Add files to a specific work order. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>*\"product\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote product description</p>\n</li>\n<li><p>\"category_tag\" // It can be used to determine the different categories of products.</p>\n</li>\n<li><p>\"files\" // Add files directly to the product's master data. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>* id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>* \"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"client\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>\"email\" // Client's email (Include only one)</p>\n</li>\n<li><p>\"phone_number\" // Client's phone number (Include only one)</p>\n</li>\n<li><p>\"code\" // Remote code</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"customFields\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n<li><p>* \"type\" // If not included type \"Text\" considered by default</p>\n<ul>\n<li><p>Custom field types:</p>\n<ul>\n<li><p>\"text\"</p>\n</li>\n<li><p>\"dropdown\"</p>\n<ul>\n<li>\"dropdown_options\" // The whole array is not required. If fulfilled, the dropdown_options will be inserted</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"bom\"</p>\n<ul>\n<li><p>*\"id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n</ul>\n</li>\n<li><p>erp_routing</p>\n<ul>\n<li><p>* workstationId // Remote workstation id</p>\n</li>\n<li><p>If \"job_tag\" is used the following is required.</p>\n<ul>\n<li>* remoteId // Remote id of the operation</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Important notes</strong>:</p>\n<p>WO client, WOLs produced quantity, and workflow value can be updated only if the production orders have not started inside production.</p>\n<p>If they have already started, a system alarm is triggered providing information about the specific action.</p>\n<p>BOMs, custom fields, and comments can be updated at any time.</p>\n<hr />\n<p><strong>Responses</strong></p>\n<ul>\n<li><p>status is missing</p>\n</li>\n<li><p>status value is invalid</p>\n</li>\n<li><p>workorderline_id is missing</p>\n</li>\n<li><p>invalid value for workorderline_id</p>\n</li>\n<li><p>id is missing from wol_tag</p>\n</li>\n<li><p>name is missing from wol_tag</p>\n</li>\n<li><p>invalid value for workorder_line target_day</p>\n</li>\n<li><p>target_day is missing</p>\n</li>\n<li><p>invalid value for production_status (must be<br />  production or standby)</p>\n</li>\n<li><p>quantity is missing</p>\n</li>\n<li><p>invalid value for quantity</p>\n</li>\n<li><p>choose erp_routing or workflow_id</p>\n</li>\n<li><p>invalid value for workflow_id</p>\n</li>\n<li><p>workorder id is missing</p>\n</li>\n<li><p>invalid value for workorder id</p>\n</li>\n<li><p>workorder code is missing</p>\n</li>\n<li><p>invalid value for workorder code</p>\n</li>\n<li><p>invalid value for workorder</p>\n</li>\n<li><p>product id is missing</p>\n</li>\n<li><p>invalid value for product id</p>\n</li>\n<li><p>product name is missing</p>\n</li>\n<li><p>invalid value for product name</p>\n</li>\n<li><p>product is missing</p>\n</li>\n<li><p>id is missing from category_tag</p>\n</li>\n<li><p>name is missing from category_tag</p>\n</li>\n<li><p>invalid value for client id</p>\n</li>\n<li><p>client id is missing</p>\n</li>\n<li><p>client name is missing</p>\n</li>\n<li><p>invalid value for client name</p>\n</li>\n<li><p>client is missing</p>\n</li>\n<li><p>id is missing at product thumbnail</p>\n</li>\n<li><p>name is missing at product thumbnail</p>\n</li>\n<li><p>type is missing at product thumbnail</p>\n</li>\n<li><p>path is missing at product thumbnail</p>\n</li>\n<li><p>type is invalid at product thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>id is missing at client thumbnail</p>\n</li>\n<li><p>name is missing at client thumbnail</p>\n</li>\n<li><p>type is missing at client thumbnail</p>\n</li>\n<li><p>path is missing at client thumbnail</p>\n</li>\n<li><p>type is invalid at client thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>For workorder_line_files, workorder_files &amp; product_files</p>\n<ul>\n<li><p>id is missing</p>\n</li>\n<li><p>name is missing</p>\n</li>\n<li><p>type is missing</p>\n</li>\n<li><p>type is invalid (png,jpg,jpeg,pdf are<br />  accepted)</p>\n</li>\n<li><p>path is missing</p>\n</li>\n</ul>\n</li>\n<li><p>For customFields &amp; bom</p>\n<ul>\n<li><p>invalid value for $cb id</p>\n</li>\n<li><p>$cb name is missing</p>\n</li>\n<li><p>invalid value for $cb name</p>\n</li>\n<li><p>invalid value for $cb notUpdate (must be only<br />  true or ignored)</p>\n</li>\n<li><p>dropdown_options for $cb must be non empty<br />  array</p>\n</li>\n<li><p>equation equation_form is invalid</p>\n</li>\n<li><p>invalid type for $cb (text, dropdown only<br />  accepted)</p>\n</li>\n<li><p>invalid type for $cb (type for custom field<br />  $cb is &gt;type) // In case of other type sent</p>\n</li>\n</ul>\n</li>\n<li><p>Workorder line has started</p>\n</li>\n<li><p>The work order line has already been archived</p>\n</li>\n<li><p>400 success</p>\n</li>\n<li><p>choose erp_routing or workflow_id</p>\n</li>\n<li><p>invalid erp_routing</p>\n</li>\n<li><p>remoteId is missing from job_tag</p>\n</li>\n<li><p>The same workstation can be used more than one,<br />  only if job tasks are assigned</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5972ebcf-293d-4cb4-bacb-c52be6c29d08"},{"name":"Create WOLs with parallel routing.","id":"f7b4cf74-6bfb-44d3-b403-87b15dc96b41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n      \"status\": \"new\",\r\n      \"workorderline_id\": \"131319\",\r\n      \"workorderline_code\": \"KL9899\",\r\n      \"production_status\": \"production\",\r\n      \"description\": \"Wooden Table 1200X800\",\r\n    //\"overUnderPercentage\": \"50\",\r\n      \"quantity\": \"200\",\r\n      \"target_day\": \"2021-11-27\",\r\n      \"comments\": \"taking care in transportation\",\r\n      \"wol_tag\" : [{\r\n          \"id\": \"3445\",\r\n          \"name\": \"order series 1\"\r\n      }],\r\n      \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }],\r\n      \"workorder\":{\r\n            \"id\":\"121233\",\r\n            \"code\":\"019580\",\r\n            \"comments\": \"Call client before shipment\",\r\n           \"files\": [{\r\n                \"id\": \"1616\",\r\n                \"name\": \"image_at_workorder\",\r\n                \"type\": \"jpg\",\r\n                \"path\": \"https://epoptia.com/wp-content/uploads/2021/12/welder-gb18d05173_1280.jpg\"\r\n           }]\r\n         },\r\n      \"erp_routing\": [\r\n        {\r\n         \"workstationId\": \"457\", \r\n         \"workstationName\": \"WS1\",\r\n          \"elementId\": \"457\",\r\n          \"previous\": [],\r\n          \"next\": [204],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"233\",\r\n                \"name\": \"job tag 1\"\r\n          },\r\n          \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }]\r\n        },\r\n          {\r\n         \"workstationId\": \"204\",\r\n         \"workstationName\": \"WS2\",\r\n          \"elementId\": \"204\",\r\n          \"previous\": [457],\r\n          \"next\": [239,463],\r\n          \"pass\": \"Str\",  \r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"222\",\r\n                \"name\": \"job tag 2\"\r\n          },\r\n          \"files\": [{\r\n             \"id\": \"1515\",\r\n             \"name\": \"image_at_workorderline\",\r\n             \"type\": \"jpg\",\r\n             \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/JPEG-Epopteia-04.jpg\"\r\n           }]\r\n        },\r\n        {\r\n         \"workstationId\": \"239\",\r\n         \"workstationName\": \"WS3\",\r\n          \"elementId\": \"239\",\r\n          \"previous\": [204],\r\n          \"next\": [13],\r\n          \"pass\": \"Str\", \r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"239\",\r\n                \"name\": \"job tag 3\"\r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"463\",\r\n         \"workstationName\": \"WS4\",\r\n          \"elementId\": \"463\",\r\n          \"previous\": [204],\r\n          \"next\": [13],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"444\",\r\n                \"name\": \"job tag 4\"\r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"13\",\r\n         \"workstationName\": \"WS5\",\r\n          \"elementId\": \"13\",\r\n          \"previous\": [239,463],\r\n          \"next\": [200],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\", \r\n          \"job_tag\": {\r\n                \"remoteId\": \"555\",\r\n                \"name\": \"job tag 5\"\r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"200\",\r\n         \"workstationName\": \"WS6\",\r\n          \"elementId\": \"200\",\r\n          \"previous\": [13,18],\r\n          \"next\": [43],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"666\",\r\n                \"name\": \"job tag 6\"\r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"16\",\r\n         \"workstationName\": \"WS7\",\r\n          \"elementId\": \"16\",\r\n          \"previous\": [],\r\n          \"next\": [18],\r\n          \"pass\": \"Str\", \r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"777\",\r\n                \"name\": \"job tag 7\" \r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"18\",\r\n         \"workstationName\": \"WS8\",\r\n          \"elementId\": \"18\",\r\n          \"previous\": [16],\r\n          \"next\": [200],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"888\",\r\n                \"name\": \"job tag 8\"\r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"43\",\r\n         \"workstationName\": \"WS9\",\r\n          \"elementId\": \"43\",\r\n          \"previous\": [200],\r\n          \"next\": [700],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"999\",\r\n                \"name\": \"job tag 9\" \r\n          }\r\n        },\r\n        {\r\n         \"workstationId\": \"700\",\r\n         \"workstationName\": \"WS10\",\r\n          \"elementId\": \"700\",\r\n          \"previous\": [43],\r\n          \"next\": [],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"7\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"1000\",\r\n                \"name\": \"job tag 10\"\r\n          }\r\n        }\r\n      ],\r\n      \"product\":{\r\n            \"id\":\"5294\",\r\n            \"name\":\"Wooden Table\",\r\n            \"code\":\"01180\",\r\n            \"category_tag\" : [{\r\n                \"id\": \"4444\",\r\n                \"name\": \"Premium Category\"\r\n            }],\r\n           \"files\": [{\r\n                \"id\": \"1717\",\r\n                \"name\": \"product_design\",\r\n                \"type\": \"jpg\",\r\n                \"path\": \"https://epoptia.com/wp-content/uploads/2021/07/workstation3.jpg\"\r\n           }],\r\n           \"thumbnail\": {\r\n                \"id\": \"123\",\r\n                \"name\": \"product_thumbnail\",\r\n                \"type\": \"jpg\",\r\n                \"path\": \"https://epoptia.com/wp-content/uploads/2021/12/laser-ga5579cbb5_1280.jpg\"\r\n             }\r\n         },\r\n      \"client\":{\r\n            \"id\":\"320\",\r\n            \"name\":\"John Bravos\",\r\n            \"email\": \"jbravos@gmail.com\",\r\n            \"phone_number\": \"003367876939\",\r\n            \"code\":\"560307\",\r\n            \"thumbnail\": {\r\n                \"id\": \"1818\",\r\n                \"name\": \"client_logo\",\r\n                \"type\": \"jpg\",\r\n                \"path\": \"https://epoptia.com/wp-content/uploads/2022/02/epoptia_logo_4.png\"\r\n           }\r\n         },\r\n         \"customFields\":[\r\n            {\r\n               \"id\":\"501234\",\r\n               \"name\": \"Width\",\r\n               \"value\":\"2mm\",\r\n               \"groupId\": \"\",\r\n               \"groupName\": \"\",\r\n               \"notUpdate\" : true,\r\n               \"type\": \"text\"\r\n            },\r\n           {\r\n              \"id\":\"9841108\",\r\n              \"name\": \"material selection\",\r\n              \"value\":\"Option 1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n              \"type\": \"dropdown\",\r\n              \"dropdown_options\": [\r\n                  \"Option 2\",\r\n                  \"Option 3\"\r\n              ]\r\n            }\r\n         ],\r\n         \"bom\":[ \r\n            {\r\n              \"id\":\"23234\",\r\n              \"name\": \"drawer\",\r\n              \"code\": \"23234\",\r\n              \"value\":\"1\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            },\r\n             {\r\n              \"id\":\"32324\",\r\n              \"name\": \"drawer2\",\r\n              \"code\": \"32324\",\r\n              \"value\":\"3\",\r\n              \"groupId\": \"\",\r\n              \"groupName\": \"\",\r\n               \"notUpdate\" : true\r\n            }\r\n        ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize","description":"<p><strong>Create work order lines</strong></p>\n<p>All the necessary information is included in the JSON file for the creation of a complete WOL. Parallel Routing is included and custom fields are configured inside the Epoptia Software.</p>\n<p>This method will create a specific workflow for the specific work order line, and if the product does not have any workflow assigned, it will assign the workflow to the product for future use.</p>\n<p>Job_tasks can be used for providing separate tasks at the same workstation.</p>\n<p>Element ids, are used to determine the unique identification of the remote database for the specific workstation in combination with the operation.</p>\n<p>Required fields and explanations.</p>\n<p>All the fields with the symbol (*) in front of them must be fulfilled.<br />All the other fields can be left blank, \"\", or not included at all.</p>\n<ul>\n<li><p>* \"status\"</p>\n<ul>\n<li><p>\"new\" for new wols</p>\n</li>\n<li><p>\"update\" for making changes to existing ones</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorderline_id\" // Remote wol id</p>\n</li>\n<li><p>\"production_status\" // Set the status of the wol</p>\n<ul>\n<li><p>\"production\"</p>\n</li>\n<li><p>\"standby\"</p>\n</li>\n</ul>\n</li>\n<li><p>\"description\" // Remote description of wol</p>\n</li>\n<li><p>\"overUnderPercentage\" // Declare the percentage of Over &amp; Under Production. Allowed values 1-99. It is not mandatory to be included at json files.</p>\n</li>\n<li><p>* \"quantity\" // Desired produced quantity</p>\n</li>\n<li><p>* \"target_day\" // WOL target completion date (yyyy-mm-dd)</p>\n</li>\n<li><p>\"comments\" // Remote WOL comments</p>\n</li>\n<li><p>\"workflow_id\" // Epoptia's Template Workflow Id. If not used, do not add it to the JSON file. If erp_routing is used, do not add it to the JSON file.</p>\n</li>\n<li><p>\"wol_tag\" // Can be used to separate different kinds of work order lines inside the same Manufacturing Board. We suggest using the wol_tags for your different series of production orders.</p>\n</li>\n<li><p>\"files\" // Add files to specific work order line. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n<li><p>* \"workorder\"</p>\n<ul>\n<li><p>* \"id\" // Remote WO id</p>\n</li>\n<li><p>* \"code\" // Remote WO code</p>\n</li>\n<li><p>\"comments\" // Remote WO comments</p>\n</li>\n<li><p>\"files\" // Add files to a specific work order. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>*\"product\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote product description</p>\n</li>\n<li><p>\"category_tag\" // It can be used to determine the different categories of products.</p>\n</li>\n<li><p>\"files\" // Add files directly to the product's master data. Do not include the whole object if there are no files, If more than one, include it in an array.</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>* id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>* \"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"client\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>\"email\" // Client's email (Include only one)</p>\n</li>\n<li><p>\"phone_number\" // Client's phone number (Include only one)</p>\n</li>\n<li><p>\"code\" // Remote code</p>\n</li>\n<li><p>\"thumbnail\" // Add thumbnail directly to product's master data. Not include the whole object if there are no files</p>\n<ul>\n<li><p>*id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"type\" // Types supported jpg, png, pdf</p>\n</li>\n<li><p>*\"path\" // Public path</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"customFields\"</p>\n<ul>\n<li><p>* \"id\" // Remote id</p>\n</li>\n<li><p>* \"name\" // Remote name</p>\n</li>\n<li><p>* \"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n<li><p>* \"type\" // If not included type \"Text\" considered by default</p>\n<ul>\n<li><p>Custom field types:</p>\n<ul>\n<li><p>\"text\"</p>\n</li>\n<li><p>\"dropdown\"</p>\n<ul>\n<li>\"dropdown_options\" // The whole array is not required. If fulfilled, the dropdown_options will be inserted</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>\"bom\"</p>\n<ul>\n<li><p>*\"id\" // Remote id</p>\n</li>\n<li><p>*\"name\" // Remote name</p>\n</li>\n<li><p>*\"value\" // Value</p>\n</li>\n<li><p>\"groupId\" // Used to acquire the category remote ID of the custom fields. Integer.</p>\n</li>\n<li><p>\"groupName\" // Used to acquire the category name of the custom fields. Integer.</p>\n</li>\n<li><p>\"notUpdate\" // Used to not update the specific value even if it is changed by administrators and operators at Epoptia MES. Only TRUE is accepted. If not used, do not include it in the JSON file.</p>\n</li>\n</ul>\n</li>\n<li><p>erp_routing</p>\n<ul>\n<li><p>* workstationId // Remote workstation id</p>\n</li>\n<li><p>workstationName // Name of the workstation</p>\n</li>\n<li><p>* elementId // Unique identification for combination of the workstation and operation for the specific wol</p>\n</li>\n<li><p>previous // the elementId of the previous operation, if exists</p>\n</li>\n<li><p>pass // Determines the rule for proceeding the wol from one workstation to another. Available values: Str , SemiStr , Free</p>\n</li>\n<li><p>target // the target time in minutes</p>\n</li>\n<li><p>If \"job_tag\" is used the following is required.</p>\n<ul>\n<li>* remoteId // Remote id of the operation</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Important notes</strong>:</p>\n<p>WO client, WOLs produced quantity, and workflow value can be updated only if the production orders have not started inside production.</p>\n<p>If they have already started, a system alarm is triggered providing information about the specific action.</p>\n<p>BOMs, custom fields, and comments can be updated at any time.</p>\n<hr />\n<p><strong>Responses</strong></p>\n<ul>\n<li><p>status is missing</p>\n</li>\n<li><p>status value is invalid</p>\n</li>\n<li><p>workorderline_id is missing</p>\n</li>\n<li><p>invalid value for workorderline_id</p>\n</li>\n<li><p>id is missing from wol_tag</p>\n</li>\n<li><p>name is missing from wol_tag</p>\n</li>\n<li><p>invalid value for workorder_line target_day</p>\n</li>\n<li><p>target_day is missing</p>\n</li>\n<li><p>invalid value for production_status (must be<br />  production or standby)</p>\n</li>\n<li><p>quantity is missing</p>\n</li>\n<li><p>invalid value for quantity</p>\n</li>\n<li><p>choose erp_routing or workflow_id</p>\n</li>\n<li><p>invalid value for workflow_id</p>\n</li>\n<li><p>invalid erp_routing</p>\n</li>\n<li><p>remoteId is missing from job_tag</p>\n</li>\n<li><p>The same workstation can be used more than one,<br />  only if job tasks are assigned</p>\n</li>\n<li><p>elementId is missing</p>\n</li>\n<li><p>erp routing has cycle</p>\n</li>\n<li><p>workorder id is missing</p>\n</li>\n<li><p>invalid value for workorder id</p>\n</li>\n<li><p>workorder code is missing</p>\n</li>\n<li><p>invalid value for workorder code</p>\n</li>\n<li><p>invalid value for workorder</p>\n</li>\n<li><p>product id is missing</p>\n</li>\n<li><p>invalid value for product id</p>\n</li>\n<li><p>product name is missing</p>\n</li>\n<li><p>invalid value for product name</p>\n</li>\n<li><p>product is missing</p>\n</li>\n<li><p>id is missing from category_tag</p>\n</li>\n<li><p>name is missing from category_tag</p>\n</li>\n<li><p>invalid value for client id</p>\n</li>\n<li><p>client id is missing</p>\n</li>\n<li><p>client name is missing</p>\n</li>\n<li><p>invalid value for client name</p>\n</li>\n<li><p>client is missing</p>\n</li>\n<li><p>id is missing at product thumbnail</p>\n</li>\n<li><p>name is missing at product thumbnail</p>\n</li>\n<li><p>type is missing at product thumbnail</p>\n</li>\n<li><p>path is missing at product thumbnail</p>\n</li>\n<li><p>type is invalid at product thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>id is missing at client thumbnail</p>\n</li>\n<li><p>name is missing at client thumbnail</p>\n</li>\n<li><p>type is missing at client thumbnail</p>\n</li>\n<li><p>path is missing at client thumbnail</p>\n</li>\n<li><p>type is invalid at client thumbnail<br />  (png,jpg,jpeg,pdf are accepted)</p>\n</li>\n<li><p>For workorder_line_files, workorder_files &amp; product_files</p>\n<ul>\n<li><p>id is missing</p>\n</li>\n<li><p>name is missing</p>\n</li>\n<li><p>type is missing</p>\n</li>\n<li><p>type is invalid (png,jpg,jpeg,pdf are<br />  accepted)</p>\n</li>\n<li><p>path is missing</p>\n</li>\n</ul>\n</li>\n<li><p>For customFields &amp; bom</p>\n<ul>\n<li><p>invalid value for $cb id</p>\n</li>\n<li><p>$cb name is missing</p>\n</li>\n<li><p>invalid value for $cb name</p>\n</li>\n<li><p>invalid value for $cb notUpdate (must be only<br />  true or ignored)</p>\n</li>\n<li><p>dropdown_options for $cb must be non empty<br />  array</p>\n</li>\n<li><p>equation equation_form is invalid</p>\n</li>\n<li><p>invalid type for $cb (text, dropdown only<br />  accepted)</p>\n</li>\n<li><p>invalid type for $cb (type for custom field<br />  $cb is &gt;type) // In case of other type sent</p>\n</li>\n</ul>\n</li>\n<li><p>Workorder line has started,</p>\n</li>\n<li><p>Erp route cannot change</p>\n</li>\n<li><p>400 success</p>\n</li>\n<li><p>choose erp_routing or workflow_id</p>\n</li>\n<li><p>invalid erp_routing</p>\n</li>\n<li><p>remoteId is missing from job_tag</p>\n</li>\n<li><p>The same workstation can be used more than one,<br />  only if job tasks are assigned</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7b4cf74-6bfb-44d3-b403-87b15dc96b41"}],"id":"08dfe612-e07b-4fc1-be66-9c5e36466059","_postman_id":"08dfe612-e07b-4fc1-be66-9c5e36466059","description":""},{"name":"Manage fields to work order lines","item":[{"name":"Update Only specific fields at workorderlines","id":"bc7c61b2-d9e6-45c2-b0dc-e526d6144f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n      \"workorderline_id\": \"76546\",\r\n      \"production_status\": \"production\",\r\n      \"description\": \"Wooden Table 1200X800\",\r\n      \"quantity\": \"200\",\r\n    //\"force_qty\": \"100\",\r\n      \"target_day\": \"2023-11-27\",\r\n      \"comments\": \"taking care in transportation\",\r\n       \"customFields\": [{\r\n     \t\"id\": \"104\",\r\n        \"value\": \"test\"\r\n       }],\r\n      \"wol_tag\" : [{\r\n          \"id\": \"3445\",\r\n          \"name\": \"order series 1\"\r\n      }]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines","description":"<p><strong>Specific changes to work order lines.</strong></p>\n<p>In this link, a specific change can be sent in a specific work order line without affecting the rest (wol details, Routing, CustomFields, Boms.)</p>\n<p>Whatever is sent from the available data will be updated. i.e. if there is a change to the target day, only the \"target_day\" may be sent.</p>\n<p>If the work order line does not exist, an error returns.</p>\n<p>force_qty is used to force the change of the quantity even if it has been started. The change will happen when the work order line is not working and only if the quantity that has been completed is less or equal with the quantity that is send at the field force_qty</p>\n<hr />\n<p><strong>Responses</strong></p>\n<p>The same as the link /synchronize.</p>\n<p>force_qty cannot be applied, wol is working</p>\n<p>force_qty cannot be applied. Quantity done is more than forced qty change</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc7c61b2-d9e6-45c2-b0dc-e526d6144f27"},{"name":"Insert Extra or Update Custom Fields & BOMs","id":"cbb3bf84-d12a-4471-9d4f-c73e1445954b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n    {\r\n            \"workorderline_id\": \"131320\",\r\n            \"bom_id\": \"23234\",\r\n            \"name\": \"drawer\",\r\n            \"code\": \"23234\",\r\n            \"notUpdate\": true,\r\n            \"elements\": [\"204\"],\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": true,\r\n                \"is_check\": false \r\n    },\r\n            \"attribute\": [{\r\n                    \"initial\": \"1\",\r\n                    \"friendlyName\": \"name1\",\r\n                    \"friedlyCode\": \"code1\",\r\n                    \"comments\": \"comment1\"\r\n                    },\r\n                    {\r\n                    \"initial\": \"2\",\r\n                    \"friendlyName\": \"name2\",\r\n                    \"friedlyCode\": \"code2\",\r\n                    \"comments\": \"comment2\"\r\n                    },\r\n                    {\r\n                    \"initial\": \"3\",\r\n                    \"friendlyName\": \"name3\",\r\n                    \"friedlyCode\": \"code3\",\r\n                    \"comments\": \"comment3\"\r\n                    }\r\n                    ]    \r\n  },\r\n    {\r\n            \"workorderline_id\": \"131320\",\r\n            \"bom_id\": \"23234\",\r\n            \"name\": \"drawer\",\r\n            \"code\": \"23234\",\r\n            \"notUpdate\": true,\r\n            \"value\":\"1\",\r\n            \"elements\": [\"208\",\"209\"],\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": false,\r\n                \"is_check\": false \r\n    }    \r\n  },\r\n        {\r\n            \"workorderline_id\": \"131320\",\r\n            \"customField_id\": \"234\",\r\n            \"name\": \"Width\",\r\n            \"value\": \"2mm\",\r\n            \"notUpdate\": true,\r\n            \"type\": \"text\",\r\n            \"elements\": [\"208\",\"209\"],\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": false,\r\n                \"is_check\": false \r\n    }    \r\n        },\r\n        {\r\n            \"workorderline_id\": \"131320\",\r\n            \"customField_id\": \"9841108\",\r\n            \"name\": \"material selection\",\r\n            \"value\": \"Option 1\",\r\n            \"notUpdate\": true,\r\n            \"type\": \"dropdown\",\r\n            \"elements\": [\"208\",\"209\"],\r\n            \"dropdown_options\": [\r\n                  \"Option 2\",\r\n                  \"Option 3\"\r\n              ],\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": false,\r\n                \"is_check\": false \r\n                }\r\n        },\r\n        {\r\n            \"workorderline_id\": \"131320\",\r\n            \"customField_id\": \"123013\",\r\n            \"name\": \"Diameter calculation\",\r\n            \"value\": null,\r\n            \"type\": \"equation\",\r\n            \"code\": \"DAH13\",\r\n            \"elements\": [\"208\",\"209\"],\r\n            \"equation_form\": \"(4*(((x**2)-(54**2))/7)* 789 *887*345)/800\",\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": false,\r\n                \"is_check\": false \r\n                }\r\n        },\r\n        {\r\n            \"workorderline_id\": \"131320\",\r\n            \"customField_id\": \"123016\",\r\n            \"name\": \"Diameter measurement\",\r\n            \"value\": null,\r\n            \"type\": \"limit\",\r\n            \"code\": \"DIAM\",\r\n            \"elements\": [\"208\",\"209\"],\r\n            \"limit_up\": \"250\",\r\n            \"limit_down\": \"260\",\r\n            \"rule\": {\r\n                \"show\": true,\r\n                \"mandatory_editable\": false,\r\n                \"editable\": false,\r\n                \"is_check\": false,\r\n                \"strict_comparison\": true \r\n                }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines/customfields","description":"<p>Insert or Update specific customfields to workorderlines. This method does not affect the rest functions and objects of work order lines.</p>\n<p>At one post request, multiple work order lines, customfields &amp; boms can be updated.</p>\n<p>Required Fields</p>\n<ul>\n<li>workorderline_id</li>\n<li>customfield_id</li>\n<li>bom_id</li>\n<li>elements</li>\n<li>rule (Caution. We accept true either on \"editable\", or \"is_check\". )</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>either customfield_id or bom_id are required<br />customfield_id is missing<br />invalid customfield_id<br />bom_id is missing<br />invalid bom_id<br />invalid elements<br />invalid elements</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines","customfields"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbb3bf84-d12a-4471-9d4f-c73e1445954b"},{"name":"Delete Custom Field & BOMs from Wol","id":"9a197243-04cc-42e2-89d1-9895c4991fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorderline_id\": \"1313\",\r\n          \"customfield_ids\": [\"501234\"]\r\n        },\r\n        {\r\n          \"workorderline_id\": \"1313\",\r\n          \"bom_ids\": [\"346768\"]\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines/customfields","description":"<p><strong>Delete specific Custom Fields &amp; BOMs from work order lines.</strong></p>\n<p>Required fields and explanations.</p>\n<p>All the fields with the symbol (*) in front of them must be fulfilled.</p>\n<ul>\n<li><p>\"workorderline_id // Remote work order line id</p>\n</li>\n<li><p>\"customfield_id\" // Remote custom field id</p>\n</li>\n<li><p>\"bom_id\" // Remote bom id</p>\n</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<ul>\n<li>either customfield_ids or bom_ids are required</li>\n<li>invalid customfield_ids</li>\n<li>invalid bom_ids</li>\n<li>invalid workorderline_id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines","customfields"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a197243-04cc-42e2-89d1-9895c4991fb7"}],"id":"f71c1485-22f9-4ee0-938c-a7155ec719f9","_postman_id":"f71c1485-22f9-4ee0-938c-a7155ec719f9","description":""},{"name":"Manage workflow elements.","item":[{"name":"Insert or Update Element Id","id":"3324e28a-4cbe-42fc-afef-020d5d3b6ee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n         \"workorderline_id\": \"11112\",\r\n         \"workstationId\": \"2040\",\r\n         \"workstationName\": \"Workstation 1\",\r\n          \"elementId\": \"204\",\r\n          \"previous\": [457],\r\n          \"next\": [239,463,18],\r\n          \"pass\": \"Str\",\r\n          \"target\": \"8\",\r\n          \"job_tag\": {\r\n                \"remoteId\": \"222\",\r\n                \"name\": \"job_tag1\"\r\n          }\r\n        }\r\n      ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines/workflow-elements","description":"<p>Insert or Update workstations at the workflows.</p>\n<p>An update to a specific workstation will be made, only if the workstation has not started.</p>\n<p>Workorderline must exist.</p>\n<p>Inserts and updates can be made even if the workstation does not exist. It will be created the exact same time</p>\n<p>Required fields:</p>\n<ul>\n<li>workorderline_id</li>\n<li>workstationId</li>\n<li>elementId</li>\n<li>next</li>\n<li>previous</li>\n<li>job_tag (if exists)<ul>\n<li>remoteId</li>\n</ul>\n</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>workorderline_id is missing<br />invalid workorderline_id<br />workorderline_id must have custom workflow<br />elementId is missing<br />element has hits<br />next is missing<br />previous is missing<br />workstationId is missing<br />invalid next or previous<br />erp routing has cycle<br />remoteId is missing from job_tag<br />invalid tag remoteId</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines","workflow-elements"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3324e28a-4cbe-42fc-afef-020d5d3b6ee5"},{"name":"Delete Elements from Workflows","id":"3dd8d5c4-5282-45eb-a3b5-09867359850b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorderline_id\": \"1313\",\r\n          \"element_ids\": [\"222\"]\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines/workflow-elements","description":"<p>Delete specific element ids at workflows.</p>\n<p>Required fields</p>\n<ul>\n<li>workorderline_id</li>\n<li>element_ids</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>invalid element_ids is missing<br />element_ids must be a non empty array<br />invalid element_ids<br />elements have hits</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines","workflow-elements"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dd8d5c4-5282-45eb-a3b5-09867359850b"}],"id":"8c05f95b-2030-47df-86d3-70f181c01355","_postman_id":"8c05f95b-2030-47df-86d3-70f181c01355","description":""},{"name":"Delete Work orders & Work order lines","item":[{"name":"Delete Work orders","id":"779064f9-0d48-4f59-add5-7b24359a80de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorder_id\": \"678909\"\r\n        },\r\n        {\r\n          \"workorder_id\": \"678910\"\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/delete","description":"<p>Delete work orders</p>\n<p>All work order lines of the work order will be deleted, except those that have not stared</p>\n<p>Required fields</p>\n<ul>\n<li>workorder_id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>enter workorderline_id or workorder_id<br />invalid value for workorderline_id<br />unknown workorderline_id<br />invalid value for workorder_id<br />either workorderline_id or workorder_id is missing</p>\n","urlObject":{"protocol":"https","path":["api","3.03","delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"779064f9-0d48-4f59-add5-7b24359a80de"},{"name":"Delete Work order lines","id":"102741cc-1be1-4ec4-8ddc-fe089447b986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorderline_id\": \"76546\"\r\n        },\r\n        {\r\n          \"workorderline_id\": \"36546\"\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/delete","description":"<p>Delete specific work order lines</p>\n<p>Required fields</p>\n<ul>\n<li>workorderline_id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"102741cc-1be1-4ec4-8ddc-fe089447b986"}],"id":"7d5daf7e-aad1-4bef-8f00-6e7f44edf57c","_postman_id":"7d5daf7e-aad1-4bef-8f00-6e7f44edf57c","description":""},{"name":"Archive Work orders & Work order lines","item":[{"name":"Send Work orders to Archive","id":"69941212-3d80-4abc-a46e-4ce9f9f9587a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorder_id\": \"678909\"\r\n        },\r\n        {\r\n          \"workorder_id\": \"678910\"\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/send-to-archive","description":"<p>Send work orders to Archive</p>\n<p>All work order lines of the work order will be sent to the Archive</p>\n<p>Required fields</p>\n<ul>\n<li>workorder_id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>enter workorderline_id or workorder_id<br />invalid value for workorderline_id<br />unknown workorderline_id<br />invalid value for workorder_id<br />either workorderline_id or workorder_id is missing</p>\n","urlObject":{"protocol":"https","path":["api","3.03","send-to-archive"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69941212-3d80-4abc-a46e-4ce9f9f9587a"},{"name":"Send Work order lines to Archive","id":"b7bf3acc-0db4-42a3-8d03-3594476c975e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"workorderline_id\": \"36546\"\r\n        },\r\n        {\r\n          \"workorderline_id\": \"46546\"\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/send-to-archive","description":"<p>Send specific work order lines to the Archive</p>\n<p>Required fields</p>\n<ul>\n<li>workorderline_id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>enter workorderline_id or workorder_id<br />invalid value for workorderline_id<br />unknown workorderline_id<br />invalid value for workorder_id<br />either workorderline_id or workorder_id is missing</p>\n<p>The work order line has already been archived</p>\n","urlObject":{"protocol":"https","path":["api","3.03","send-to-archive"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7bf3acc-0db4-42a3-8d03-3594476c975e"}],"id":"5d270027-6f40-465a-8df2-676ab6f4c10a","_postman_id":"5d270027-6f40-465a-8df2-676ab6f4c10a","description":""}],"id":"9a58389e-43bb-41be-9e6d-bffd3c43a415","description":"<p>All available API requests for creation, update and management of Work Order Lines &amp; Work Orders</p>\n","_postman_id":"9a58389e-43bb-41be-9e6d-bffd3c43a415"},{"name":"Users, Operators & Shifts","item":[{"name":"Add Users & Operators","id":"c3f868c4-a6b9-4e5c-a534-910e72fd7b6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [{\r\n            \"type\": \"admin\",\r\n            \"name\": \"John Bravos\",\r\n            \"username\": \"john_bravos\",\r\n            \"password\": \"@dscsd2312\",\r\n            \"id\": \"5845\",\r\n            \"email\": \"johnb@gmail.com\",\r\n            \"boards\": [\"5845\", \"5846\"],\r\n            //\"shift_id\":\"23\",\r\n            \"shift\": {\r\n                \"shift_id\": \"23\",\r\n                \"name\": \"Afternoon Shift\",\r\n                \"start\": \"09:00:00\",\r\n                \"end\": \"15:00:00\",\r\n                \"break_start\": \"12:00:00\",\r\n                \"break_end\": \"12:10:00\",\r\n                \"working_days\": \"1,2,3,4\"\r\n            },\r\n            \"language\": \"en\"\r\n        },\r\n        {\r\n            \"type\": \"admin\",\r\n            \"name\": \"Pit Reyes\",\r\n            \"username\": \"Pit\",\r\n            \"password\": \"@dscsd2312\",\r\n            \"id\": \"5845\",\r\n            \"email\": \"pit34@gmail.com\",\r\n            \"workstations\": [\"6985\"],\r\n            //\"shift_id\":\"23\",\r\n            \"shift\": {\r\n                \"shift_id\": \"23\",\r\n                \"name\": \"Afternoon Shift\",\r\n                \"start\": \"09:00:00\",\r\n                \"end\": \"15:00:00\",\r\n                \"break_start\": \"12:00:00\",\r\n                \"break_end\": \"12:10:00\",\r\n                \"working_days\": \"1,2,3,4\"\r\n            },\r\n            \"language\": \"en\"\r\n        },  \r\n        {\r\n            \"type\": \"operator\",\r\n            \"name\": \"Jeff Benbar\",\r\n            \"username\": \"Jeff\",\r\n            \"pin\": \"123456\",\r\n            \"id\": \"6853\",\r\n            //\"shift_id\":\"23\",\r\n            \"shift\": {\r\n                \"shift_id\": \"23\",\r\n                \"name\": \"Afternoon Shift\",\r\n                \"start\": \"09:00:00\",\r\n                \"end\": \"15:00:00\",\r\n                \"break_start\": \"12:00:00\",\r\n                \"break_end\": \"12:10:00\",\r\n                \"working_days\": \"1,2,3,4\"\r\n        },\r\n            \"language\": \"en\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-users","description":"<p>Create users. Administrators and operators.</p>\n<p>Required fields.</p>\n<ul>\n<li>type</li>\n<li>name</li>\n<li>username</li>\n<li>password (For admins)</li>\n<li>id</li>\n<li>shift object.<ul>\n<li>If a shift object exists, then the following are required:<ul>\n<li>shift_id</li>\n<li>name</li>\n<li>start</li>\n<li>end</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>Accepted values for \"language\" are (en, el, it) for English, Greek, Italian</p>\n<hr />\n<p><strong>Caution</strong></p>\n<p>The username should not include special characters. Only english charactes are supported. I.e. pit_colins (Not pit colins)</p>\n<p>The same username &amp; email cannot be used for more than 1 user.</p>\n<p>Operator PIN is not mandatory.</p>\n<p>Boards and Workstations must exist before sending them.</p>\n<p>Anytime configuration is sent, replace the existing one</p>\n<p>Either shift_id or shift object can be used. When sent to the shift object, the shift is created or updated.</p>\n<hr />\n<p>Responses</p>\n<p>id is missing<br />name is missing<br />username is missing<br />username already exists<br />username cannot contain special characters<br />invalid language<br />type is missing<br />invalid type (accepted admin, operator)<br />password is missing<br />invalid email<br />user email already exists</p>\n<p>please set shift_id or shift</p>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-users"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3f868c4-a6b9-4e5c-a534-910e72fd7b6d"},{"name":"Delete Users","id":"d1e0d813-13f3-4508-8760-ea10c77692ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n        \"user_id\": \"5845\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/users","description":"<p>Delete specific users.</p>\n<p>Soft deletion is made if there are actions from the specific user.</p>\n<p>Required fields</p>\n<ul>\n<li>user_id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>invalid user_id</p>\n","urlObject":{"protocol":"https","path":["api","3.03","users"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1e0d813-13f3-4508-8760-ea10c77692ae"},{"name":"Login Operator","id":"d75325b1-1b06-4faa-b6b9-a0ea41598e62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n     \"username\": \"john2\",\r\n     \"password\": \"123\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/login-operator","description":"<p>Login operators</p>\n<p>Required fields.</p>\n<ul>\n<li>username</li>\n<li>password</li>\n</ul>\n<p>For machine integration or virtual users, a token is generated for further use such as Logout</p>\n<hr />\n<p><strong>Responses</strong></p>\n<p>username is required<br />password is required<br />user login failed</p>\n","urlObject":{"protocol":"https","path":["api","3.03","login-operator"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d75325b1-1b06-4faa-b6b9-a0ea41598e62"},{"name":"Logout Operator","id":"7a371080-cace-4cc7-89d8-e800f6b85a8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"data\": [\r\n    {\r\n      \"userId\": \"6853\"\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/logout-operator","description":"<p>Logout operators</p>\n<p>Required fields.</p>\n<ul>\n<li>userId</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>userId is missing<br />invalid userId</p>\n","urlObject":{"protocol":"https","path":["api","3.03","logout-operator"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a371080-cace-4cc7-89d8-e800f6b85a8c"},{"name":"Add Shifts","id":"b0303db6-f452-48a7-b73e-de625255ef92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"data\": [\r\n{\r\n        \"shift_id\": \"44\",\r\n        \"name\": \"Shift44\",\r\n        \"start\": \"09:00:00\",\r\n        \"end\": \"15:00:00\",\r\n        \"break_start\": \"12:00:00\",\r\n        \"break_end\": \"12:10:00\",\r\n        \"working_days\": \"1,2,3,4,5,6,7\"\r\n},\r\n{\r\n        \"shift_id\": \"45\",\r\n        \"name\": \"Shift45\",\r\n        \"start\": \"09:30:00\",\r\n        \"end\": \"15:30:00\",\r\n        \"break_start\": \"11:00:00\",\r\n        \"break_end\": \"11:10:00\",\r\n        \"working_days\": \"1,2\"\r\n}\r\n]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-shifts","description":"<p>Create shifts</p>\n<p>Required fields</p>\n<ul>\n<li>shift_id</li>\n<li>name</li>\n<li>start</li>\n<li>end</li>\n</ul>\n<hr />\n<p><strong>Caution</strong></p>\n<p>If working days are not set, the defaults are 1,2,3,4,5</p>\n<p>(Monday to Friday)</p>\n<hr />\n<p><strong>Responses</strong></p>\n<p>shift_id is missing<br />shift name is missing<br />start is missing<br />start value is invalid<br />end is missing<br />end value is invalid<br />end value must be greater than start value<br />break_start value is invalid<br />break_end value is invalid<br />break_end value must be greater than break_start value<br />working_days value is invalid</p>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-shifts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0303db6-f452-48a7-b73e-de625255ef92"},{"name":"Delete Shifts","id":"5d786e1a-cbc6-4582-b993-0b74bd647197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n          \"shift_id\": \"44\"\r\n        }\r\n      ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/shifts","description":"<p>Delete specific shifts</p>\n<p>Soft deletion is done, if the shift has been used.</p>\n<p>Required fields</p>\n<ul>\n<li>shift_id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>invalid shift_id</p>\n","urlObject":{"protocol":"https","path":["api","3.03","shifts"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d786e1a-cbc6-4582-b993-0b74bd647197"}],"id":"5098b670-fc6d-43a5-8dde-7311c4a64642","_postman_id":"5098b670-fc6d-43a5-8dde-7311c4a64642","description":""},{"name":"Products","item":[{"name":"Add Products","id":"c3730669-3a44-4716-ad28-249f49870672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"data\":[\r\n     \t\t{\r\n    \t        \"name\": \"product10\",\r\n   \t\t\t    \"id\": \"11110\",\r\n    \t        \"code\": \"prod1\",\r\n    \t        \"comments\": \"remote_comments prod1\",\r\n                \"category_tag\" : [\r\n                    {\r\n                        \"id\": \"44440\",\r\n                        \"name\": \"pumps\"\r\n                    },\r\n                    {\r\n                        \"id\": \"6597\",\r\n            \t        \"name\": \"plunger\"\r\n                    }],\r\n                \"files\": [{\r\n            \t\t\"id\": \"9898\",\r\n            \t\t\"name\": \"test_image_at_product\",\r\n             \t\t\"type\": \"jpg\",\r\n             \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2021/07/workstation3.jpg\"\r\n           }],\r\n           \t\t\"thumbnail\": {\r\n             \t\t\"id\": \"8989\",\r\n             \t\t\"name\": \"test_thumbnail_at_product\",\r\n             \t\t\"type\": \"jpg\",\r\n             \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/laser-ga5579cbb5_1280.jpg\"\r\n             \t}\r\n         \t},\r\n  \t\t\t{\r\n    \t\t\t\"name\": \"product77\",\r\n   \t\t\t    \"id\": \"343775\",\r\n    \t\t\t\"code\": \"prod7\",\r\n    \t\t\t\"comments\": \"remote_comments73\",\r\n                \"category_tag\" : [{\r\n            \t\"id\": \"2379\",\r\n            \t\"name\": \"valve\"\r\n            }\r\n            ],\r\n                \"bom\":[ \r\n                    {\r\n                    \"id\":\"767676\",\r\n                    \"name\": \"drawer76\",\r\n                    \"value\":\"1\",\r\n                    \"code\": \"767676\",\r\n                    \"groupId\": \"\",\r\n                    \"groupName\": \"\",\r\n                    \"notUpdate\" : true\r\n                    },\r\n                    {\r\n                    \"id\":\"7676777\",\r\n                    \"name\": \"drawer72\",\r\n                    \"code\": \"7676777\",\r\n                    \"value\":\"3\",\r\n                    \"groupId\": \"\",\r\n                    \"groupName\": \"\",\r\n                    \"notUpdate\" : true\r\n                    }\r\n        ],\r\n                \"files\": [{\r\n            \t\t\"id\": \"4534456\",\r\n            \t\t\"name\": \"test2_image_at_product\",\r\n             \t\t\"type\": \"jpg\",\r\n             \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2021/07/workstation3.jpg\"\r\n           }],\r\n           \t\t\"thumbnail\": {\r\n             \t\t\"id\": \"45657567\",\r\n             \t\t\"name\": \"test_thumbnail2_at_product\",\r\n             \t\t\"type\": \"jpg\",\r\n             \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2021/12/laser-ga5579cbb5_1280.jpg\"\r\n             \t}\r\n         \t}\r\n   ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-products","description":"<p>Create products as master data.</p>\n<p>Required fields</p>\n<ul>\n<li>name</li>\n<li>id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>product id is missing<br />invalid value for product id<br />product name is missing<br />invalid value for product name</p>\n<p>invalid value for workflow_id<br />invalid value for workflow_id</p>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-products"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3730669-3a44-4716-ad28-249f49870672"}],"id":"de9ded35-ecab-466a-8759-a49ec745ef8a","_postman_id":"de9ded35-ecab-466a-8759-a49ec745ef8a","description":""},{"name":"Clients","item":[{"name":"Add Clients","id":"13e51f4f-716a-481a-a54d-7eee2ce75e6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"data\":[\r\n     \t\t{\r\n    \t\t\t\"name\": \"name\",\r\n   \t            \"city\": \"city\",\r\n    \t\t\t\"comments\": \"comments\",\r\n   \t\t\t    \"email\": \"email\",\r\n    \t\t\t\"phone_number\": \"phone_number\",\r\n    \t\t\t\"vat_number\": \"vat_number\",\r\n    \t\t\t\"vat_rate\": \"vat_rate\",\r\n    \t\t\t\"id\": \"198\",\r\n    \t\t\t\"code\": \"remote_code\",\r\n                \"thumbnail\": {\r\n             \t\t\"id\": \"1515\",\r\n             \t\t\"name\": \"client_logo\",\r\n             \t\t\"type\": \"jpg\",\r\n             \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2021/07/printing-press.jpg\"\r\n                }\r\n            },\r\n            {\r\n    \t\t\t\"name\": \"name2\",\r\n   \t\t\t    \"city\": \"city2\",\r\n    \t\t\t\"comments\": \"comments2\",\r\n   \t\t\t    \"email\": \"email2\",\r\n    \t\t\t\"phone_number\": \"phone_number2\",\r\n    \t\t\t\"vat_number\": \"vat_number2\",\r\n    \t\t\t\"vat_rate\": \"vat_rate2\",\r\n    \t\t\t\"id\": \"199\",\r\n    \t\t\t\"code\": \"remote_code2\",\r\n                \"thumbnail\": {\r\n             \t\t\"id\": \"1818\",\r\n           \t\t\t\"name\": \"client_logo2\",\r\n            \t\t\"type\": \"jpg\",\r\n            \t\t\"path\": \"https://epoptia.com/wp-content/uploads/2022/02/epoptia_logo_4.png\"\r\n                }\r\n  \t\t\t}\r\n   ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-clients","description":"<p>Create Clients as master data</p>\n<p>Required fields.</p>\n<ul>\n<li>name</li>\n<li>id</li>\n</ul>\n<hr />\n<p><strong>Responses</strong></p>\n<p>invalid value for id<br />id is missing<br />invalid value for name<br />name is missing</p>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-clients"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"13e51f4f-716a-481a-a54d-7eee2ce75e6d"}],"id":"ca33cda5-9093-4d52-bf88-c5812b0462cb","_postman_id":"ca33cda5-9093-4d52-bf88-c5812b0462cb","description":""},{"name":"Get Requests","item":[{"name":"Get Workflows","id":"e2af8849-4979-45c1-b204-fa0250c7c6a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{baseUrl}}/api/3.03/workflows-get","description":"<p>Get request retrieving Epoptia's workflow templates</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workflows-get"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2af8849-4979-45c1-b204-fa0250c7c6a8"},{"name":"Get Test API Connection","id":"930106e5-f17b-4575-8b17-9e842765c436","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/test-connection","description":"<p>Get request for connection test</p>\n","urlObject":{"protocol":"https","path":["api","3.03","test-connection"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"930106e5-f17b-4575-8b17-9e842765c436"},{"name":"Get Workorderlines info. Array of wols","id":"4ab39ba0-14f3-446a-977b-f51232e33090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines?ids=46154&page=1&limit=20","description":"<p>Get request, for retrieving information about work order lines in an array.</p>\n<p>Information can be very large. The data will be sent with pagination per 20s. The response will also include how many there are in total, now it's the current page, the previous, and the next.</p>\n<p>To have access to the information you should send the page parameter to the query.</p>\n<p>You can set how many will come per page with the limit parameter. Max limit = 100.</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines"],"host":["{{baseUrl}}"],"query":[{"key":"ids","value":"46154"},{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"4ab39ba0-14f3-446a-977b-f51232e33090"},{"name":"Get Workorderlines info. Created date","id":"2f8bee16-5b75-49c0-bd83-31bc5551fdef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines?createdAtStart=2023-09-28&createdAtEnd=2023-09-28&page=1&limit=20","description":"<p><strong>The date refers to the creation date of the work order lines, which is when it was first sent to the API.</strong></p>\n<p>Information can be very large. The data will be sent with pagination per 20s. The response will also include how many there are in total, now it's the current page, the previous, and the next.</p>\n<p>To have access to the information you should send the page parameter to the query.</p>\n<p>You can set how many will come per page with the limit parameter. Max limit = 100.</p>\n<p>ανά page με τη παράμετρο limit. Max limit = 100.</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines"],"host":["{{baseUrl}}"],"query":[{"key":"createdAtStart","value":"2023-09-28"},{"key":"createdAtEnd","value":"2023-09-28"},{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"2f8bee16-5b75-49c0-bd83-31bc5551fdef"},{"name":"Get Workorderlines info. Completed","id":"a5a9adeb-7312-4d80-8b92-e31f653dac7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workorderlines?hitStart=2025-01-29&hitEnd=2025-01-29&limit=50&operatorIds=1015&workstationIds=9058","description":"<p><strong>hitStart date refers to the date that the action started.</strong></p>\n<p><strong>hitEnd date refers to the date that the action completed.</strong></p>\n<p><strong>operatorsIds refers to the remote id of the operator that did the actions</strong></p>\n<p><strong>workstationIds refers to the remote id of the workstation that the action was undertook.</strong></p>\n<p>Information can be very large. The data will be sent with pagination per 20s. The response will also include how many there are in total, now it's the current page, the previous, and the next.</p>\n<p>To have access to the information you should send the page parameter to the query.</p>\n<p>You can set how many will come per page with the limit parameter. Max limit = 100.</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workorderlines"],"host":["{{baseUrl}}"],"query":[{"key":"hitStart","value":"2025-01-29"},{"key":"hitEnd","value":"2025-01-29"},{"key":"limit","value":"50"},{"key":"operatorIds","value":"1015"},{"key":"workstationIds","value":"9058"}],"variable":[]}},"response":[],"_postman_id":"a5a9adeb-7312-4d80-8b92-e31f653dac7a"},{"name":"Get Workstations","id":"77208375-eed0-4d89-aac6-8a17eff1103f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{baseUrl}}/api/3.03/workstations-get","description":"<p>Get request retrieving workstations details</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workstations-get"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77208375-eed0-4d89-aac6-8a17eff1103f"},{"name":"Get Boards","id":"ea7efc62-3ee4-497d-b9a6-ce73ff902f6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{baseUrl}}/api/3.03/workstations-get","description":"<p>Get request retrieving boards details</p>\n","urlObject":{"protocol":"https","path":["api","3.03","workstations-get"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea7efc62-3ee4-497d-b9a6-ce73ff902f6e"},{"name":"Get Users","id":"82b01da2-c587-4f88-b5c7-2c32050646f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{baseUrl}}/api/3.03/users-get","description":"<p>Get request retrieving users details</p>\n","urlObject":{"protocol":"https","path":["api","3.03","users-get"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"82b01da2-c587-4f88-b5c7-2c32050646f7"},{"name":"Get Failed Webhooks","id":"dbc03d90-203f-413a-9eaa-4a004a1c5c8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/failed-webhooks?dateFrom=2025-15-12&dateTo=2025-15-12&resend=false&page=1&limit=20","description":"<p>Get request, for retrieving information about failed webhooks in an array, with the capability of resend them.</p>\n<p>Information can be very large. The data will be sent with pagination with maximum limit 100. The response will also include how many there are in total, now it's the current page, the previous, and the next.</p>\n<p>To have access to the information you should send the page parameter to the query.</p>\n<p>You can set how many will come per page with the limit parameter. Max limit = 100.</p>\n<hr />\n<p>Parameters dateFrom &amp; dateTo are required for providing the failed webhooks inside the specific range.</p>\n<hr />\n<p>Parameter eventId is not required. It is used to filter specific webhook events:</p>\n<p>'1', 100% work order line completion</p>\n<p>'2', Workorderline send to historical</p>\n<p>'3', Button pressed manually from work order line</p>\n<p>'4', Specific workstation finish job</p>\n<p>'5', Change work order line completion date</p>\n<p>'6', Alarm start/end</p>\n<p>'7', Work In Progress (Workorderline Start)</p>\n<p>'8', Work In Progress (Specific Workstation Start)</p>\n<p>'10', Delete an Epoptia work order line manually</p>\n<hr />\n<p>Parameter resend is not required. It is used to trigger the webhook mechanism.</p>\n<p>When resend=true the mechanism will resend the requested webhooks with a priority.</p>\n<p>When resend=false the mechanism will not resend the requested webhooks.</p>\n","urlObject":{"protocol":"https","path":["api","3.03","failed-webhooks"],"host":["{{baseUrl}}"],"query":[{"key":"dateFrom","value":"2025-15-12"},{"key":"dateTo","value":"2025-15-12"},{"key":"resend","value":"false"},{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"dbc03d90-203f-413a-9eaa-4a004a1c5c8e"}],"id":"cd7fd853-e2f3-4259-9a1b-3dd338b4ca30","_postman_id":"cd7fd853-e2f3-4259-9a1b-3dd338b4ca30","description":""},{"name":"Manufacturing Boards","item":[{"name":"Add Manufacturing Boards","id":"e6dc58c5-bba0-4188-8010-5899fe24580d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"data\": [\r\n{\r\n        \"id\": \"5845\",\r\n        \"name\": \"Factory 1\",\r\n        \"code\": \"F100\",\r\n        \"wol_tag\" : [{\r\n            \"id\": \"3432\",\r\n            \"name\": \"order series 1\"\r\n      }]\r\n},\r\n{\r\n        \"id\": \"5846\",\r\n        \"name\": \"Factory 2\",\r\n        \"code\": \"F102\",\r\n        \"wol_tag\" : [{\r\n            \"id\": \"4432\",\r\n            \"name\": \"order series 2\"\r\n      }]\r\n}\r\n]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-boards","description":"<p>Create Manufacturing Boards</p>\n<p>Required fields</p>\n<ul>\n<li>name</li>\n<li>id</li>\n</ul>\n<hr />\n<p>Responses:</p>\n<p>Board limitation. Please check your licence</p>\n<p>You don' t have access to boards api. Please check your licence</p>\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-boards"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6dc58c5-bba0-4188-8010-5899fe24580d"},{"name":"Delete manufacturing boards","id":"966fa26e-1e93-4722-87a7-23b0d1142300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n        \"board_id\": \"5846\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/boards","description":"<p>Delete Manufacturing Boards</p>\n<p>Soft deletion is made</p>\n<p>Required fields</p>\n<ul>\n<li>board_id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","boards"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"966fa26e-1e93-4722-87a7-23b0d1142300"}],"id":"fef1a8bf-60d6-4d7d-b1b1-00b988904eb7","_postman_id":"fef1a8bf-60d6-4d7d-b1b1-00b988904eb7","description":""},{"name":"Workstations","item":[{"name":"Add Workstations","id":"f6dec669-ab80-4209-8ad1-cddc2133b31e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [{\r\n            \"id\": \"5845\",\r\n            \"name\": \"Workstation1\",\r\n            \"code\": \"WS1\",\r\n            \"boards\": [\"5845\"],\r\n            \"wc_tag\": [{\r\n                \"id\": \"2379\",\r\n              \t\"name\": \"area1\"                \r\n            }],\r\n            \"add_to_active_webhooks\": true\r\n        },\r\n        {\r\n            \"id\": \"6985\",\r\n            \"name\": \"Workstation2\",\r\n            \"code\": \"WS2\",            \r\n            \"boards\": [\"5846\"],\r\n            \"wc_tag\": [{\r\n                \"id\": \"2378\",\r\n                \"name\": \"area2\"\r\n            }],\r\n            \"add_to_active_webhooks\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/synchronize-workstations","description":"<p>Create workstations</p>\n<p>Required fields</p>\n<ul>\n<li>name</li>\n<li>id</li>\n</ul>\n<hr />\n","urlObject":{"protocol":"https","path":["api","3.03","synchronize-workstations"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6dec669-ab80-4209-8ad1-cddc2133b31e"},{"name":"Delete workstations","id":"2eb3542a-2008-407d-95e4-b153bad97ed4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n        \"workstation_id\": \"5845\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/workstations","description":"<p>Delete workstations</p>\n<p>Soft deletion is made if the workstation had been used</p>\n<p>Required fields</p>\n<ul>\n<li>user_id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","3.03","workstations"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2eb3542a-2008-407d-95e4-b153bad97ed4"}],"id":"6bc62fd9-e6ae-44e3-bce6-fed9912a52b3","_postman_id":"6bc62fd9-e6ae-44e3-bce6-fed9912a52b3","description":""},{"name":"IoT - Remote Workstation Control","item":[{"name":"Control Workstation Remotely","id":"47a34b42-133d-4ad1-a818-3b03c9f8cb45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Auth-Token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Operator-Token","value":"","type":"text"}],"body":{"mode":"raw","raw":" {\r\n    \"data\": [\r\n     \r\n        {\r\n          \"action\": \"complete\",\r\n          \"timestamp\": \"2024-02-22 12:35:50\",\r\n          \"workstation_id\": \"19\",\r\n          //\"element_id\":\"235646602\",\r\n          \"workorderline_id\": \"20001\",\r\n          \"quantity\": \"2\",\r\n          \"duration\": \"60\"\r\n          //\"force\": true\r\n       }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{baseUrl}}/api/3.03/ws-remote-control","description":"<p><strong>Control Workstation Remotely</strong></p>\n<p>Workstations can be controlled remotely from external software, machine, or a PLC controller.</p>\n<p>Required fields and explanations.</p>\n<p>All the fields with the symbol (*) in front of them must be fulfilled.<br />All the fields that are not used, should not be included.</p>\n<ul>\n<li><p>*\"action\"</p>\n<ul>\n<li><p>Available actions are</p>\n<ul>\n<li><p>\"start\"</p>\n</li>\n<li><p>\"pause\"</p>\n</li>\n<li><p>\"cancel\"</p>\n</li>\n<li><p>\"complete\"</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>*\"workstation_id\"</p>\n<ul>\n<li>Either element or workstation id is required. Not together</li>\n</ul>\n</li>\n<li><p>*\"element_id\"</p>\n<ul>\n<li>Either element or workstation id is required. Not together</li>\n</ul>\n</li>\n<li><p>*\"workorderline_id\"</p>\n</li>\n<li><p>\"quantity\"</p>\n<ul>\n<li><strong>It is required</strong> on the \"complete\" action</li>\n</ul>\n</li>\n<li><p>\"timestamp\": \"2024-02-22 12:35:50\"</p>\n<ul>\n<li>Timestamp of the action. If not included, the record creation timestamp in the database will be inserted</li>\n</ul>\n</li>\n<li><p>\"duration\"</p>\n<ul>\n<li>Duration of the job in seconds</li>\n</ul>\n</li>\n</ul>\n<p><strong>For external software integration, the following scenario is suggested</strong></p>\n<p>This scenario is mostly used when the external software is aware of the work order line ids. Such as an ERP.</p>\n<p>These are the steps:</p>\n<ol>\n<li><p>Create an operator in the software.</p>\n</li>\n<li><p>Login via API.</p>\n</li>\n<li><p>Grab the generated token.</p>\n</li>\n<li><p>Have full control by sending the proper actions and having the Operator-Token at the Headers.</p>\n</li>\n</ol>\n<p><em>Example of Headers</em></p>\n<p>Operator-Token: 2ntVRn16z3Y+MsfJIEzZrJUR+hw3moWoqQ==</p>\n<hr />\n<p>Here are some examples of controlling workstations remotely.</p>\n<p><em><strong>Example of partial completion</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"start\",\n          \"timestamp\": \"2024-02-22 13:35:50\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\"\n       },\n        {\n          \"action\": \"complete\",\n          \"timestamp\": \"2024-02-22 13:37:50\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\",\n          \"quantity\": \"2\",\n          \"duration\": \"120\"\n       },\n        {\n          \"action\": \"pause\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\"\n       }\n    ]\n}\n\n</code></pre>\n<p><strong>Note:</strong> If the workstation is not set to Pause status, the workstation will remain In Progress.</p>\n<p><em><strong>Example of total completion</strong></em></p>\n<p>If the work order line has quantity = 200</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"start\",\n          \"timestamp\": \"2024-02-22 13:40:00\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\"\n       },\n        {\n          \"action\": \"complete\",\n          \"timestamp\": \"2024-02-22 13:57:50\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\",\n          \"quantity\": \"200\",\n          \"duration\": \"1070\"\n       }\n    ]\n}\n\n</code></pre>\n<p><em><strong>Example of total completion</strong></em></p>\n<p>If the work order line has quantity = 200</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"start\",\n          \"timestamp\": \"2024-02-22 13:40:00\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\"\n       },\n        {\n          \"action\": \"complete\",\n          \"timestamp\": \"2024-02-22 13:57:50\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\",\n          \"quantity\": \"200\",\n          \"duration\": \"1070\"\n       }\n    ]\n}\n\n</code></pre>\n<p><strong>Example of total completion without the workflow restrictions.</strong></p>\n<p>In the scenario that you have a workstation, and you want to complete the quantity without taking into consideration the previous and the next workstations, or any of the other workflow restrictions, you can use a \"Force\" command.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"complete\",\n          \"timestamp\": \"2025-02-22 13:57:50\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\",\n          \"element_id\":\"235646602\",\n          \"quantity\": \"200\",\n          \"duration\": \"1070\",\n          \"force\": true\n       }\n    ]\n}\n\n</code></pre>\n<p><strong>Example of inserting duration without completion</strong></p>\n<p>If the external source gathers information and time, then you can send this time to the specific workstation.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"start\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\"\n       },\n        {\n          \"action\": \"pause\",\n          \"workstation_id\": \"19\",\n          \"workorderline_id\": \"20001\",\n          \"duration\": \"2000\"\n       }\n    ]\n}\n\n</code></pre>\n<p>then you can send a \"complete\" action with the respective quantity and duration when a quantity completion happens.</p>\n<hr />\n<p><strong>For machine integration and If the machine does not know the work order line, the following scenario is suggested</strong></p>\n<p>Operators logged in to the workstations and started one work order line.</p>\n<p>Then the controller of the machine should inform the software about the <strong>action \"Complete\"</strong>, without the need to know the work order line  ID.</p>\n<p>Workstation id and quantity are required. Example below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"data\": [\n        {\n          \"action\": \"start\",\n          \"workstation_id\": \"19\",\n           \"quantity\": \"200\"\n       }\n    ]\n}\n\n</code></pre>\n<p><strong>Responses</strong></p>\n<p>unknown workstation</p>\n<p>quantity is required when action is complete</p>\n<p>stamp must be greater than start time of hit (2024-02-22 12:34:13)</p>\n<p>Quantity exceeds the available quantity that can be completed</p>\n<p>Work order line cannot be completed. Mandatory fields have not been fulfilled.</p>\n<p>Work order line cannot be started // Previous workstations have not completed quantity</p>\n<p>Start of work order line cannot be canceled. 1 min threshold has been exceeded.</p>\n<p>Work order line cannot be completed. Mandatory fields have not been fulfilled.</p>\n<p>workorderline_id \"XXXX\" is already working in workstation \"XX\"</p>\n<p>either element_id or workstation_id are required</p>\n<p>Workstation is presented more than 1 time in the workflow. Please use element_id to control the workstations</p>\n","urlObject":{"protocol":"https","path":["api","3.03","ws-remote-control"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"47a34b42-133d-4ad1-a818-3b03c9f8cb45"}],"id":"f13524ed-db30-4ea5-bbef-63b8b01054f1","_postman_id":"f13524ed-db30-4ea5-bbef-63b8b01054f1","description":""}]}