{"info":{"_postman_id":"9e9e1796-0cdf-4e5e-8ff5-5c7194297a09","name":"Brains Api","description":"<html><head></head><body><p>Brains API is a solution provided for our Brains Visual MC.NET customers.</p>\n<p>It is a REST api service hosted on the customer's server(s). As such, the base URL is provided on a per-case basis.</p>\n<p>Authentication can be enabled upon request.</p>\n<p>Testing or additional branches can be provided upong request, changing the start of the URLs to: <code>http://{baseURL}:{port}/{branchName}/api/{endpoint}</code></p>\n<p>All GET endpoints are customizable upon request. The following samples are just to illustrate the general structure of these endpoints.</p>\n<p>You can request any additional fields or filters from us to facilitate your usage of our API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15256433","collectionId":"9e9e1796-0cdf-4e5e-8ff5-5c7194297a09","publishedId":"TzeUmTjQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-06-14T11:32:35.000Z"},"item":[{"name":"Save Operation","id":"16c6cf9e-2381-43c7-b8fd-0dfb8a6e931b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://{baseUrl}/api/operation","description":"<p>This endpoint is used to add or update operations in the Brains System.</p>\n<p>You can find multiple examples linked;</p>\n<ul>\n<li>The first contains a complete list of available fields and how to create new accounts through the request. The response will return the AccountId of the created account.</li>\n<li>The second shows an example with a static AccountId and an error response example.</li>\n<li>The third contains the bare minimum fields required to create an operation.</li>\n</ul>\n<p>And more specific examples</p>\n","urlObject":{"protocol":"http","path":["api","operation"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"b38d4ed7-df83-42ef-b9a5-4ec56141cd13","name":"Example #1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 60,\r\n        \"OperationType\": \"SA\",\r\n        \"OperationNumber\": 214,\r\n        \"OperationDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"DeliveryDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"DueDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"Warehouse\": \"01\",\r\n        \"WarehouseTo\": \"\",\r\n        \"AccountInfo\": {\r\n            \"Type\": 2,\r\n            \"Name\": \"Samaya Oueida\",\r\n            \"Phone\": \"050 289 6398\",\r\n            \"Email\": \"chedrawi@gmail.com\",\r\n            \"Country\": \"United Arab Emirates\",\r\n            \"City\": \"Dubai\",\r\n            \"Area\": \"Um Suqeim\",\r\n            \"Address\": \" Street 4B AL Safa 2,46,\",\r\n            \"Ledger\": \"\",\r\n            \"AccountNumber\": \"\"\r\n        },\r\n        \"Status\": 0,\r\n        \"Currency\": \"USD\",\r\n        \"Salesperson\": \"\",\r\n        \"TypeOfSell\": \"\",\r\n        \"Driver\": \"\",\r\n        \"RateLocal\": 0,\r\n        \"RateBasic\": 0,\r\n        \"DiscountPercentage\": 10,\r\n        \"PageHeader\": \"\",\r\n        \"PageFooter\": \"\",\r\n        \"Reference\": \"\",\r\n        \"Ref1\": \"\",\r\n        \"Ref2\": \"\",\r\n        \"Ref3\": \"\",\r\n        \"Ref4\": \"\",\r\n        \"Ref5\": \"\",\r\n        \"Ref6\": \"\",\r\n        \"Ref7\": \"\",\r\n        \"Details\": \"\",\r\n        \"AccountDebit\": \"\",\r\n        \"AccountCredit\": \"\",\r\n        \"CostCenterDebit\": \"\",\r\n        \"CostCenterCredit\": \"\",\r\n        \"Branch\": \"\",\r\n        \"Project\": \"\",\r\n        \"Items\": [\r\n            {\r\n                \"ItemCode\": \"25010010\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Brushed Brass\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"525.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"25010064\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Tinned Brass / 35x35x8 cm\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"115.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"25010065\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Tinned Brass \\/ 40x40x9 cm\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"168.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"25010064\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Brushed Brass \\/ 35x35x8 cm\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"115.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"25010065\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Brushed Brass \\/ 40x40x9 cm\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"168.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 60,\n            \"OperationType\": \"SA\",\n            \"OperationNumber\": 214,\n            \"AccountType\": 2,\n            \"AccountId\": \"001716\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"},{"id":"94939f57-e077-431d-9e3a-4ea55d3bd168","name":"Example #2","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 15,\r\n        \"OperationType\": \"PU\",\r\n        \"OperationNumber\": 121,\r\n        \"OperationDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"DeliveryDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"DueDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"Warehouse\": \"01\",\r\n        \"WarehouseTo\": \"\",\r\n        \"AccountType\": 2,\r\n        \"AccountId\": \"105121\",\r\n        \"Status\": 0,\r\n        \"Currency\": \"USD\",\r\n        \"Salesperson\": \"\",\r\n        \"TypeOfSell\": \"\",\r\n        \"Driver\": \"\",\r\n        \"RateLocal\": 0,\r\n        \"RateBasic\": 0,\r\n        \"DiscountPercentage\": 0,\r\n        \"PageHeader\": \"\",\r\n        \"PageFooter\": \"\",\r\n        \"Reference\": \"\",\r\n        \"Ref1\": \"\",\r\n        \"Ref2\": \"\",\r\n        \"Ref3\": \"\",\r\n        \"Ref4\": \"\",\r\n        \"Ref5\": \"\",\r\n        \"Ref6\": \"\",\r\n        \"Ref7\": \"\",\r\n        \"Details\": \"\",\r\n        \"AccountDebit\": \"\",\r\n        \"AccountCredit\": \"\",\r\n        \"CostCenterDebit\": \"\",\r\n        \"CostCenterCredit\": \"\",\r\n        \"Branch\": \"\",\r\n        \"Project\": \"\",\r\n        \"Items\": [\r\n            {\r\n                \"ItemCode\": \"25010010\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Brushed Brass\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 10,\r\n                \"UnitPrice\": \"235.00\",\r\n                \"DiscountAmount\": 200,\r\n                \"Remarks\": \"\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"25010065\",\r\n                \"Warehouse\": \"96\",\r\n                \"Color\": \"Brushed Brass \\/ 40x40x9 cm\",\r\n                \"Size\": \"\",\r\n                \"Location\": \"\",\r\n                \"Batch\": \"\",\r\n                \"ExpiryDate\": \"1900-01-01T00:00:00\",\r\n                \"QtyType\": \"U\",\r\n                \"PriceType\": \"U\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"104.00\",\r\n                \"DiscountAmount\": 0,\r\n                \"Remarks\": \"\"\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": false,\n    \"Message\": \"Errors occurred\",\n    \"Content\": [\n        {\n            \"OperationCode\": 15,\n            \"OperationType\": \"PU\",\n            \"OperationNumber\": 121,\n            \"AccountType\": 2,\n            \"AccountId\": \"105121\",\n            \"Success\": false,\n            \"Message\": \"Error: Invalid AccountId, the account id '105121' does not exist\"\n        }\n    ]\n}"},{"id":"69b1c3c2-077a-4350-924e-1ce28ea1f986","name":"Example Minimum Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 60,\r\n        \"OperationType\": \"SA\",\r\n        \"OperationNumber\": 451,\r\n        \"OperationDate\": \"2021-04-29T16:40:50+02:00\",\r\n        \"AccountType\": 2,\r\n        \"AccountId\": \"001562\",\r\n        \"Currency\": \"USD\",\r\n        \"Items\": [\r\n            {\r\n                \"ItemCode\": \"PABIP4-104L-3\",\r\n                \"Qty\": 10,\r\n                \"UnitPrice\": \"235.00\"\r\n            },\r\n            {\r\n                \"ItemCode\": \"BRP/2020/LD/MOONLI/P\",\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": \"104.00\"\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 60,\n            \"OperationType\": \"SA\",\n            \"OperationNumber\": 451,\n            \"AccountType\": 2,\n            \"AccountId\": \"001562\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"},{"id":"d316100c-ad12-4cb6-b90e-f63c8ba167ec","name":"Example Voucher","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 85,\r\n        \"OperationType\": \"JV\",\r\n        \"OperationNumber\": 132,\r\n        \"OperationDate\": \"2023-02-18T11:40:50+02:00\",\r\n        \"AccountType\": 2,\r\n        \"AccountId\": \"001562\",\r\n        \"Currency\": \"USD\",\r\n        \"AccountingLines\": [\r\n            {\r\n                \"AccountNo\": \"4111001562\",\r\n                \"Currency\": \"USD\",\r\n                \"DbCr\": \"C\",\r\n                \"Amount\": 100,\r\n                \"AmountLocal\": 1000000,\r\n                \"AmountBasic\": 100\r\n            },\r\n            {\r\n                \"AccountNo\": \"5301000001\",\r\n                \"Currency\": \"USD\",\r\n                \"DbCr\": \"D\",\r\n                \"Amount\": 100,\r\n                \"AmountLocal\": 1000000,\r\n                \"AmountBasic\": 100\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 85,\n            \"OperationType\": \"JV\",\n            \"OperationNumber\": 132,\n            \"AccountType\": 2,\n            \"AccountId\": \"001562\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"},{"id":"901364d8-ff06-4917-ad8a-168f3f342bf8","name":"Example Khayrat","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 60, \r\n        \"OperationType\": \"SO\",\r\n        \"OperationDate\": \"2021-04-29T16:40:50+02:00\", // To be modified per order\r\n        \"Warehouse\": \"01\",\r\n        \"AccountType\": 2,\r\n        \"AccountId\": \"000007\",\r\n        \"AccountName\": \"Customer Name\", // To be modified per order\r\n        \"Currency\": \"LBP\",\r\n        \"Items\": [ // To be modified per order\r\n            {\r\n                \"ItemCode\": \"000001\", // From the SKU field from the /items endpoint\r\n                \"Qty\": 10,\r\n                \"UnitPrice\": 6.610\r\n            },\r\n            {\r\n                \"ItemCode\": \"000003\", // From the SKU field from the /items endpoint\r\n                \"Qty\": 1,\r\n                \"UnitPrice\": 30000.000\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://212.40.130.147:5000/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 60,\n            \"OperationType\": \"SA\",\n            \"OperationNumber\": 451,\n            \"AccountType\": 2,\n            \"AccountId\": \"001562\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"},{"id":"88e783a8-1bf8-495d-9368-5739780227c1","name":"Example Netiks","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 60,\r\n        \"OperationType\": \"EV\",\r\n        \"OperationDate\": \"2021-04-29T16:40:50+02:00\",  // BrainsOrders.DtOrder\r\n        \"AccountNumber\": \"41167004\", // BrainsOrders.AccountId\r\n        \"Currency\": \"USD\",  // BrainsOrders.Currency\r\n        \"DiscountPercentage\": 0.4, // BrainsOrders.PctDiscount\r\n        \"Reference\": \"13O003118\", // BrainsOrders.OrderNumber\r\n        \"Items\": [\r\n            {\r\n                \"ItemCode\": \"PINS 25$\", // BrainsOrdersDetails.CardCode\r\n                \"Qty\": 10, // BrainsOrdersDetails.Quantity\r\n                \"UnitPrice\": \"235.00\", // BrainsOrdersDetails.Amount ÷ BrainsOrdersDetails.Quantity\r\n                \"SerialFrom\": \"8230077341781\", // BrainsOrdersDetails.Serials\r\n                \"SerialTo\": \"8230077341791\" // Leave Empty in case of one serial number\r\n            }\r\n        ],\r\n        \"Charges\": [\r\n            {\r\n                \"ChargeCode\": \"0012\",\r\n                \"Amount\": 1.25 // BrainsOrders.FixedStamp\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 60,\n            \"OperationType\": \"EV\",\n            \"OperationNumber\": 621,\n            \"AccountType\": 2,\n            \"AccountId\": \"001562\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"}],"_postman_id":"16c6cf9e-2381-43c7-b8fd-0dfb8a6e931b"},{"name":"Delete Operation","id":"5f29d4f5-7999-48c7-a639-cda8b66cad9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://{baseUrl}/api/operation/delete","description":"<p>This endpoint is used to delete operations in the Brains System.</p>\n<p>Only the operation identifiers, listed in the Example, are required for this request.</p>\n","urlObject":{"protocol":"http","path":["api","operation","delete"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"b5661b3e-ef38-4594-bd9b-d87dddab89ad","name":"Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"OperationCode\": 60,\r\n        \"OperationType\": \"SA\",\r\n        \"OperationNumber\": 214\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/operation/delete"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n        {\n            \"OperationCode\": 60,\n            \"OperationType\": \"SA\",\n            \"OperationNumber\": 214,\n            \"AccountType\": 0,\n            \"AccountId\": \"\",\n            \"Success\": true,\n            \"Message\": \"Success\"\n        }\n    ]\n}"}],"_postman_id":"5f29d4f5-7999-48c7-a639-cda8b66cad9b"},{"name":"Save Items","id":"04ad4309-31fa-43fa-8d3f-7b2218ec170a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://{baseUrl}/api/saveItems","description":"<p>This endpoint is used to add or update items (products) in the Brains System.</p>\n<p>The only required fields are the item's code and description, the rest is optional.<br />Additional fields can be provided upon request.</p>\n","urlObject":{"protocol":"http","path":["api","saveItems"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"077ef445-c96a-43de-9ae8-79f7e7082e05","name":"Sample","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"Code\": \"Item Id\",\r\n        \"Description\": \"Item Name\",\r\n        \"Sale Price\": 100.0,\r\n        \"Saleprice Currency\": \"USD\",\r\n        \"Group\": \"Group Name\",\r\n        \"Sub-Group\": \"Sub-Group Name\",\r\n        \"Category\": \"Category Name\",\r\n        \"Brand\": \"Brand Name\",\r\n        \"Unit Measure\": \"Unit Measure Name\",\r\n        \"Country\": \"Country Name\",\r\n        \"Collection\": \"Collection Name\",\r\n        \"Item Type\": \"Item Type Name\",\r\n        \"Color\": \"Color Name\",\r\n        \"Size\": \"Size Name\",\r\n        \"Barcode\": \"1234567890000\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/saveItems"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"See the content for more info\",\n    \"Content\": {\n        \"Results\": [\n            {\n                \"Code\": \"Item Id\",\n                \"Success\": true,\n                \"Message\": \"\"\n            }\n        ],\n        \"Logs\": [\n            \"Started..\",\n            \"Loading existing data..\",\n            \"Matching and creating items..\",\n            \"Successfully updated item Item Id\",\n            \"Finished\"\n        ],\n        \"Errors\": [\n            \"Example Error\"\n        ]\n    }\n}"}],"_postman_id":"04ad4309-31fa-43fa-8d3f-7b2218ec170a"},{"name":"Save Accounts","id":"e05a499e-7a96-4d6b-83b9-da7fa99431a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://{baseUrl}/api/saveAccounts","description":"<p>This endpoint is used to add or update accounts (customers, suppliers, auxiliary) in the Brains System.</p>\n<p>The only required fields are the account's type, code and description, the rest is optional.<br />Additional fields can be provided upon request.</p>\n","urlObject":{"protocol":"http","path":["api","saveAccounts"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"878de2fe-60cb-4905-8d1b-86380a40456c","name":"Sample","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"Kind\": \"Customer\",\r\n        \"Code\": \"012345\",\r\n        \"Description\": \"Wholesale Beverage Distributor\",\r\n        \"Ledger\": \"4111\",\r\n        \"AccountNumber\": \"4111012345\",\r\n        \"SalesPerson\": \"John Doe\",\r\n        \"Area\": \"Northwest Region\",\r\n        \"District\": \"District 5\",\r\n        \"Telephone\": \"+1-555-1234-567\",\r\n        \"Title\": \"Manager\",\r\n        \"Warehouse\": \"Warehouse A\",\r\n        \"Category\": \"Beverage Supplier\",\r\n        \"Sales Category\": \"Alcoholic Beverages\",\r\n        \"Routing\": \"Route NW-17\",\r\n        \"Country\": \"USA\",\r\n        \"Email\": \"contact@bevdist.com\"\r\n    },\r\n    {\r\n        \"Kind\": \"Supplier\",\r\n        \"Code\": \"067890\",\r\n        \"Description\": \"Premium Wine Importer\",\r\n        \"Ledger\": \"4011\",\r\n        \"AccountNumber\": \"4111067890\",\r\n        \"SalesPerson\": \"Jane Smith\",\r\n        \"Area\": \"Southeast Region\",\r\n        \"District\": \"District 12\",\r\n        \"Telephone\": \"+1-555-9876-432\",\r\n        \"Title\": \"Sales Director\",\r\n        \"Warehouse\": \"Warehouse B\",\r\n        \"Category\": \"Wine Supplier\",\r\n        \"Sales Category\": \"Luxury Alcoholic Beverages\",\r\n        \"Routing\": \"Route SE-9\",\r\n        \"Country\": \"France\",\r\n        \"Email\": \"sales@wineimporter.com\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://192.168.0.2/api/saveAccounts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"See the content for more info\",\n    \"Content\": {\n        \"Results\": [\n            {\n                \"Code\": \"012345\",\n                \"Success\": true,\n                \"Message\": \"\"\n            },\n            {\n                \"Code\": \"067890\",\n                \"Success\": true,\n                \"Message\": \"\"\n            }\n        ],\n        \"Logs\": [\n            \"Started..\",\n            \"Loading existing data..\",\n            \"Ready\",\n            \"Matching and creating accounts..\",\n            \"Completed: Wholesale Beverage Distributor (2-CUST12345)\",\n            \"Completed: Premium Wine Importer (1-SUPPL67890)\",\n            \"Finished\"\n        ],\n        \"Errors\": [\n            \"Example Error\"\n        ]\n    }\n}"}],"_postman_id":"e05a499e-7a96-4d6b-83b9-da7fa99431a7"},{"name":"Get All Items","id":"dddaf679-f58f-48a1-bdd9-b08e7fff4d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{baseUrl}/api/items","description":"<p>GET endpoints are customizable upon request. This sample is just to illustrate the general structure of these endpoints.</p>\n<p>You can request any additional fields or filters from us to facilitate your usage of our API.</p>\n","urlObject":{"protocol":"http","path":["api","items"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"818dfc36-9613-4e3c-84e9-1f22955694eb","name":"Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"http://192.168.0.2/api/items"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n       {\n           \"ItemCode\": \"000001\",\n           \"Description\": \"Flash Vodka Mix Energy 17% 250ml\",\n           \"Description2\": \"Vodka and Energy Drink Mix\",\n           \"Description3\": \"17% Alcohol by Volume\",\n           \"Description4\": \"Single can of 250ml\",\n           \"Details\": \"A ready-to-drink vodka-based beverage mixed with energy drink, 250ml can.\",\n           \"Group\": \"Alcoholic Beverage\",\n           \"SubGroup\": \"Vodka Mix\",\n           \"UnitMeasure\": \"250ml\",\n           \"ItemCategory\": \"Alcohol\",\n           \"Brand\": \"Flash Drinks\",\n           \"Country\": \"Germany\",\n           \"ItemType\": \"Ready-to-Drink\",\n           \"ItemCollection\": \"Energy Mix\",\n           \"use1filecode\": \"VDK001\",\n           \"use2filecode\": \"ENERGY001\",\n           \"Supplier\": \"Global Beverages Inc.\",\n           \"SupplierItemNo\": \"87\",\n           \"Color\": \"Transparent\",\n           \"Size\": \"250ml\",\n           \"WebsiteColor\": \"N/A\",\n           \"WebsiteSize\": \"250ml\",\n           \"Barcode\": \"4260183730293\",\n           \"Remarks\": \"Best served chilled.\",\n           \"Saleprice\": 22.27,\n           \"Saleprice2\": 22.27,\n           \"Saleprice Currency\": \"USD\",\n           \"Pack\": 1.0\n       },\n       {\n           \"ItemCode\": \"000002\",\n           \"Description\": \"Flash Vodka Mix Energy 17% 330ml\",\n           \"Description2\": \"Vodka and Energy Drink Mix\",\n           \"Description3\": \"17% Alcohol by Volume\",\n           \"Description4\": \"Single can of 330ml\",\n           \"Details\": \"A ready-to-drink vodka-based beverage mixed with energy drink, 330ml can.\",\n           \"Group\": \"Alcoholic Beverage\",\n           \"SubGroup\": \"Vodka Mix\",\n           \"UnitMeasure\": \"330ml\",\n           \"ItemCategory\": \"Alcohol\",\n           \"Brand\": \"Flash Drinks\",\n           \"Country\": \"Germany\",\n           \"ItemType\": \"Ready-to-Drink\",\n           \"ItemCollection\": \"Energy Mix\",\n           \"use1filecode\": \"VDK002\",\n           \"use2filecode\": \"ENERGY002\",\n           \"Supplier\": \"Global Beverages Inc.\",\n           \"SupplierItemNo\": \"88\",\n           \"Color\": \"Transparent\",\n           \"Size\": \"330ml\",\n           \"WebsiteColor\": \"N/A\",\n           \"WebsiteSize\": \"330ml\",\n           \"Barcode\": \"4260183735649\",\n           \"Remarks\": \"Best served chilled.\",\n           \"Saleprice\": 24.50,\n           \"Saleprice2\": 24.50,\n           \"Saleprice Currency\": \"USD\",\n           \"Pack\": 1.0\n       }\n    ]\n}\n"}],"_postman_id":"dddaf679-f58f-48a1-bdd9-b08e7fff4d8d"},{"name":"Get Item By ID","id":"ccfb539d-5242-4ceb-ad5e-b14e20621803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{baseUrl}/api/items/{code}","description":"<p>GET endpoints are customizable upon request. This sample is just to illustrate the general structure of these endpoints.</p>\n<p>You can request any additional fields or filters from us to facilitate your usage of our API.</p>\n","urlObject":{"protocol":"http","path":["api","items","{code}"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"8b5566a0-a835-4a5c-a669-7af86e26dc36","name":"Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"http://192.168.0.2/api/items/000001"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Success\": true,\n    \"Message\": \"Success\",\n    \"Content\": [\n       {\n           \"ItemCode\": \"000001\",\n           \"Description\": \"Flash Vodka Mix Energy 17% 250ml\",\n           \"Description2\": \"Vodka and Energy Drink Mix\",\n           \"Description3\": \"17% Alcohol by Volume\",\n           \"Description4\": \"Single can of 250ml\",\n           \"Details\": \"A ready-to-drink vodka-based beverage mixed with energy drink, 250ml can.\",\n           \"Group\": \"Alcoholic Beverage\",\n           \"SubGroup\": \"Vodka Mix\",\n           \"UnitMeasure\": \"250ml\",\n           \"ItemCategory\": \"Alcohol\",\n           \"Brand\": \"Flash Drinks\",\n           \"Country\": \"Germany\",\n           \"ItemType\": \"Ready-to-Drink\",\n           \"ItemCollection\": \"Energy Mix\",\n           \"use1filecode\": \"VDK001\",\n           \"use2filecode\": \"ENERGY001\",\n           \"Supplier\": \"Global Beverages Inc.\",\n           \"SupplierItemNo\": \"87\",\n           \"Color\": \"Transparent\",\n           \"Size\": \"250ml\",\n           \"WebsiteColor\": \"N/A\",\n           \"WebsiteSize\": \"250ml\",\n           \"Barcode\": \"4260183730293\",\n           \"Remarks\": \"Best served chilled.\",\n           \"Saleprice\": 22.27,\n           \"Saleprice2\": 22.27,\n           \"Saleprice Currency\": \"USD\",\n           \"Pack\": 1.0\n       }\n    ]\n}\n"}],"_postman_id":"ccfb539d-5242-4ceb-ad5e-b14e20621803"},{"name":"Get All Accounts","id":"712c5f1c-3d9e-4c4c-93b1-30f0ef9162dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{baseUrl}/api/accounts","description":"<p>GET endpoints are customizable upon request. This sample is just to illustrate the general structure of these endpoints.</p>\n<p>You can request any additional fields or filters from us to facilitate your usage of our API.</p>\n","urlObject":{"protocol":"http","path":["api","accounts"],"host":["{baseUrl}"],"query":[],"variable":[]}},"response":[{"id":"b05c7c22-019c-40cd-8990-cec8ceaf2412","name":"Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"http://192.168.0.2/api/accounts"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Success\": true,\r\n    \"Message\": \"Success\",\r\n    \"Content\": [\r\n        {\r\n            \"AccountType\": \"2\",\r\n            \"AccountCode\": \"004567\",\r\n            \"Description\": \"Alpha Trading Co.\",\r\n            \"Description2\": \"LTD\",\r\n            \"AccountNumber\": \"4111004567\",\r\n            \"Address\": \"123 Main St - Downtown - Near Central Park\",\r\n            \"Building\": \"Alpha Building\",\r\n            \"Telephone\": \"01/987654\",\r\n            \"Email\": \"info@alphatrading.com\",\r\n            \"CategoryCode\": \"100\",\r\n            \"Category\": \"Wholesale\",\r\n            \"CountryCode\": \"001\",\r\n            \"Country\": \"USA\",\r\n            \"AreaCode\": \"101\",\r\n            \"Area\": \"New York\",\r\n            \"BalanceLBP\": -250000.75,\r\n            \"BalanceUSD\": -150.25\r\n        },\r\n        {\r\n            \"AccountType\": \"2\",\r\n            \"AccountCode\": \"004568\",\r\n            \"Description\": \"John Doe Enterprises\",\r\n            \"Description2\": \"\",\r\n            \"AccountNumber\": \"4111004568\",\r\n            \"Address\": \"456 Elm St - Suburb Area - Near Riverbank Mall\",\r\n            \"Building\": \"Doe Plaza\",\r\n            \"Telephone\": \"02/876543\",\r\n            \"Email\": \"johndoe@doeenterprises.com\",\r\n            \"CategoryCode\": \"200\",\r\n            \"Category\": \"Retail\",\r\n            \"CountryCode\": \"001\",\r\n            \"Country\": \"USA\",\r\n            \"AreaCode\": \"102\",\r\n            \"Area\": \"California\",\r\n            \"BalanceLBP\": -350000.50,\r\n            \"BalanceUSD\": -200.75\r\n        }\r\n    ]\r\n}\r\n"}],"_postman_id":"712c5f1c-3d9e-4c4c-93b1-30f0ef9162dc"},{"name":"Get All Accounts By ID","id":"700c02cd-8a79-4705-acdc-ea2d8e73dc4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{baseUrl}/api/accounts?type={type}&code={code}","description":"<p>GET endpoints are customizable upon request. This sample is just to illustrate the general structure of these endpoints.</p>\n<p>You can request any additional fields or filters from us to facilitate your usage of our API.</p>\n","urlObject":{"protocol":"http","path":["api","accounts"],"host":["{baseUrl}"],"query":[{"key":"type","value":"{type}"},{"key":"code","value":"{code}"}],"variable":[]}},"response":[{"id":"c1cd7fc1-8dc9-4379-8390-adc67dc9b9df","name":"Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://192.168.0.2/api/accounts?type=2&code=004567","protocol":"http","host":["192","168","0","2"],"path":["api","accounts"],"query":[{"key":"type","value":"2"},{"key":"code","value":"004567"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"Success\": true,\r\n    \"Message\": \"Success\",\r\n    \"Content\": [\r\n        {\r\n            \"AccountType\": \"2\",\r\n            \"AccountCode\": \"004567\",\r\n            \"Description\": \"Alpha Trading Co.\",\r\n            \"Description2\": \"LTD\",\r\n            \"AccountNumber\": \"4111004567\",\r\n            \"Address\": \"123 Main St - Downtown - Near Central Park\",\r\n            \"Building\": \"Alpha Building\",\r\n            \"Telephone\": \"01/987654\",\r\n            \"Email\": \"info@alphatrading.com\",\r\n            \"CategoryCode\": \"100\",\r\n            \"Category\": \"Wholesale\",\r\n            \"CountryCode\": \"001\",\r\n            \"Country\": \"USA\",\r\n            \"AreaCode\": \"101\",\r\n            \"Area\": \"New York\",\r\n            \"BalanceLBP\": -250000.75,\r\n            \"BalanceUSD\": -150.25\r\n        }\r\n    ]\r\n}\r\n"}],"_postman_id":"700c02cd-8a79-4705-acdc-ea2d8e73dc4a"}]}