{"info":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","description":"<html><head></head><body><p>API used for communication with Idealog WMS.</p>\n<p>Connection to the API is made using Basic authentication.</p>\n<p>To communicate with the system, the integration module must be activated. This can be activated by an user with Admin role.</p>\n<p>The endpoint allow following operations:</p>\n<ul>\n<li><p>Import - import of data into WMS</p>\n</li>\n<li><p>Export - data retrieval of data from WMS</p>\n</li>\n</ul>\n<h2 id=\"import\">Import</h2>\n<p>Data for import is sent in JSON format in request body.</p>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.</p>\n<p>Many of data fields are optional. The mandatory ones are marked with [M] at the end of field description (<em>Code (string): The code of the product [M]</em>)</p>\n<h2 id=\"export\">Export</h2>\n<p>The response data will be returned paged. The page number cand be specified in request. The response will be in JSON format with following structure:</p>\n<ul>\n<li><p><code>totalItems</code> (<em>int</em>): total number of records after applying filters.</p>\n</li>\n<li><p><code>itemsCount</code> (<em>int</em>): the number of records returned in current response.</p>\n</li>\n<li><p><code>page</code> (<em>int</em>): current page number</p>\n</li>\n<li><p><code>data</code> (<em>json array</em>): data payload.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8420974","collectionId":"d979cc20-0804-44d8-bf76-4622a62976e4","publishedId":"2sA3rwKtAk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-18T13:51:01.000Z"},"item":[{"name":"Errors","item":[],"id":"d8555661-4d02-4d03-bffc-ac7c33ae150d","description":"<p>Idealog WebPlatform API uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an internal error.</p>\n<p>In case of error, error text or details are send as plain text in response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Error</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>Everything worked as expected.</td>\n</tr>\n<tr>\n<td>202</td>\n<td>Accepted</td>\n<td>Data are received and saved but not yet processed.</td>\n</tr>\n<tr>\n<td>204</td>\n<td>No Content</td>\n<td>No Content was received by the server.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>The request was unacceptable, often due to missing a required parameter.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>No valid authentication credentials sent.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n<td>The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>The requested resource doesn't exist.</td>\n</tr>\n<tr>\n<td>405</td>\n<td>Method Not Allowed</td>\n<td>A request was made of a resource using a request method not supported by that resource</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity</td>\n<td>Validation error</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too Many Requests</td>\n<td>Indicates the user has sent too many requests in a given amount of time</td>\n</tr>\n<tr>\n<td>500, 502, 503, 504</td>\n<td>Server Errors</td>\n<td>Something went wrong on easySales end.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"eda11c7b-2388-4724-970d-17073ac9b1bf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"188744f9-ab7d-4016-b9fc-598d97d4b829","type":"text/javascript","exec":[""]}}],"_postman_id":"d8555661-4d02-4d03-bffc-ac7c33ae150d","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}},{"name":"Partners","item":[{"name":"Import partners","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"5f9c1ce6-1d6f-4275-ad9b-543e99483fbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"ExternalID\": \"206198\",\r\n    \"Code\": \"206198\",\r\n    \"Name\": \"Petpack sacks MIAU-MIAU PUI 10 KG\",\r\n    \"IsBeneficiary\": true,\r\n    \"IsSupplier\": true,\r\n    \"IsTransporter\": true,\r\n    \"IsCompany\": true,\r\n    \"Importance\": \"1\",\r\n    \"FiscalCode\": \"19384\",\r\n    \"RegistrationCode\": \"837\",\r\n    \"BankAccount\": \"8747392\",\r\n    \"BankName\": \"BANK\",\r\n    \"Country\": \"Romania\",\r\n    \"CountryCode\": \"RO\",\r\n    \"County\": \"Ilfov\",\r\n    \"City\": \"Bucharest\",\r\n    \"Street\": \"Calea Calarasi 161\",\r\n    \"StreetNumber\": \"\",\r\n    \"PostalCode\": \"20183\",\r\n    \"ContactPerson\": \"Ana Popescu\",\r\n    \"Email\": \"anap@gmail.com\",\r\n    \"PhoneNumber\": \"0736268701\",\r\n    \"Latitude\": \"57\",\r\n    \"Longitude\": \"93\",\r\n    \"GLNCode\": \"123456789\",\r\n    \"PartnerActive\": \"1\"\r\n  }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/partners?sync=true","description":"<p>This endpoint allows you to create new or update partners in the WMS. The HTTP POST request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/partners\">[app URL]/api/wms/partners</a> with the necessary partners details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/partners\">[app URL]/api/wms/partners/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.<br />If is required to process data immediately, query parameter <code>sync=true</code> must be sent. If it is required to process data immediately, query parameter sync=true must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in json format and should include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p>Code (string): The code of the product [M]</p>\n</li>\n<li><p>Name (string): The name of the product [M - for new items]</p>\n</li>\n<li><p>ExternalID (string): The external ID of the partner. The uniwue ID of the partner from the system that send data.</p>\n</li>\n<li><p>IsBeneficiary (bool): True if the partner is a beneficiary</p>\n</li>\n<li><p>IsSupplier (bool): True if the partner is a supplier</p>\n</li>\n<li><p>IsTransporter (bool): True if the partner is a transporter</p>\n</li>\n<li><p>IsCompany (bool): True if the partner is a company, else if it is a phical person</p>\n</li>\n<li><p>Importance (int): A number that represent the importance of the partner. Lower number represent most important partners.</p>\n</li>\n<li><p>FiscalCode (string): The fiscal code of the partner</p>\n</li>\n<li><p>RegistrationCode (string): The legal registration code of the partner</p>\n</li>\n<li><p>BankAccount (string): Partner's bank account</p>\n</li>\n<li><p>BankName (string): The name of the bank where the bank account exists</p>\n</li>\n<li><p>Country (string): The country where the partner resides</p>\n</li>\n<li><p>CountryCode (string): The country code where the partner resides</p>\n</li>\n<li><p>County (string): The county where the partner resides</p>\n</li>\n<li><p>City (string): The city where the partner resides</p>\n</li>\n<li><p>Street (string): The street where the partner resides</p>\n</li>\n<li><p>StreetNumber (string): The street number where the partner resides</p>\n</li>\n<li><p>PostalCode (string): The postal code where the partner resides</p>\n</li>\n<li><p>ContactPerson (string): The contact person of the partner</p>\n</li>\n<li><p>Email (string): The email address of the partner</p>\n</li>\n<li><p>PhoneNumber (string): The phone number of the partner</p>\n</li>\n<li><p>Latitude (decimal):</p>\n</li>\n<li><p>Longitude (decimal):</p>\n</li>\n<li><p>GLNCode (string): The Global Location Number Code</p>\n</li>\n<li><p>PartnerActive (bool):</p>\n</li>\n<li><p>SalesPerson (string):</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"41291\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","partners"],"host":["https://[app_url]/api"],"query":[{"key":"sync","value":"true"}],"variable":[]}},"response":[],"_postman_id":"5f9c1ce6-1d6f-4275-ad9b-543e99483fbe"},{"name":"Import adresses","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"b51249a1-8589-4563-b7c1-e94fc5a85c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"PartnerExternalID\": \"20613\",\r\n    \"ExternalID\": \"41291\",\r\n    \"PartnerName\": \"Idealog\",\r\n    \"Name\": \"Petpack sacks MIAU-MIAU PUI 10 KG\",\r\n    \"Country\": \"Romania\",\r\n    \"CountryCode\": \"RO\",\r\n    \"County\": \"Ilfov\",\r\n    \"City\": \"Râmnicu Sarat\",\r\n    \"Street\": \"Calarasi\",\r\n    \"StreetNumber\": \"161\",\r\n    \"PostalCode\": \"20183\",\r\n    \"ContactPerson\": \"Ana Popescu\",\r\n    \"Email\": \"anap@gmail.com\",\r\n    \"PhoneNumber\": \"0736268701\",\r\n    \"Latitude\": \"57\",\r\n    \"Longitude\": \"93\"\r\n  }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/base/partnersAddresses","description":"<p>This endpoint allows you to create new or update partner addresses in the WMS. The HTTP POST request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/partnersAddresses\">[app URL]/api/wms/partnersAddresses</a> with the necessary address details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/partnersAddresses\">[app URL]/api/wms/partnersAddresses/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.<br />If is required to process data immediately, query parameter <code>sync=true</code> must be sent. If it is required to process data immediately, query parameter sync=true must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in json format and should include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p>Code (string): The code of the product [M]</p>\n</li>\n<li><p>Name (string): The name of the product [M - for new items]</p>\n</li>\n<li><p>ExternalID (string): The external ID of the product. The ID of the product from the system that send data.</p>\n</li>\n<li><p>IsBeneficiary (bool): Returns true if the partner is a beneficiary, else false (?)</p>\n</li>\n<li><p>IsSupplier (bool): Returns true if the partner is a supplier, else false (?)</p>\n</li>\n<li><p>IsTransporter (bool): Returns true if the partner is a transporter, else false (?)</p>\n</li>\n<li><p>IsCompany (bool): Returns true if the partner is a company, else false (?)</p>\n</li>\n<li><p>Importance (int): (?)</p>\n</li>\n<li><p>FiscalCode (string): The fiscal code of the partner</p>\n</li>\n<li><p>RegistrationCode (string): The legal registration code of the partner</p>\n</li>\n<li><p>BankAccount (string): Partner's bank account</p>\n</li>\n<li><p>BankName (string): The name of the bank where the bank account exists</p>\n</li>\n<li><p>Country (string): The country where the partner resides</p>\n</li>\n<li><p>CountryCode (string): The country code where the partner resides</p>\n</li>\n<li><p>County (string): The county where the partner resides</p>\n</li>\n<li><p>City (string): The city where the partner resides</p>\n</li>\n<li><p>Street (string): The street where the partner resides</p>\n</li>\n<li><p>StreetNumber (string): The street number where the partner resides</p>\n</li>\n<li><p>PostalCode (string):The postal code where the partner resides</p>\n</li>\n<li><p>ContactPerson (string): The contact person of the partner</p>\n</li>\n<li><p>Email (string): The official email of the partner</p>\n</li>\n<li><p>PhoneNumber (string): The phone number of the partner</p>\n</li>\n<li><p>Latitude (decimal): (?)</p>\n</li>\n<li><p>Longitude (decimal): (?)</p>\n</li>\n<li><p>GLNCode (string): The Global Location Number Code</p>\n</li>\n<li><p>PartnerExternalID (string): The external ID of the partner. The partner ID from source system. [M]</p>\n</li>\n<li><p>PartnerName (string): The partner's name</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"41291\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["base","partnersAddresses"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b51249a1-8589-4563-b7c1-e94fc5a85c8b"}],"id":"b5b623ee-6225-40a1-b80c-4acc3c32274e","_postman_id":"b5b623ee-6225-40a1-b80c-4acc3c32274e","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}},{"name":"Products","item":[{"name":"Import","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"3aaf6488-acb0-4bbe-8773-093bc88c96d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"34534534\",\r\n        \"Code\": \"345\",\r\n        \"BaseProductCode\": \"\",\r\n        \"Barcode\": \"cod barex\",\r\n        \"Barcode2\": \"cod bare\",\r\n        \"Name\": \"Ampatex SB 130 plus, 75m2, 150cm × 50m - Membrană de cofraj și barieră de vapori rezistentă la intemaaaAmpatex SB 130 plus, 75m2, 150cm × 50m - Membrană de cofraj și barieră de vapori rezistentă la intemaaa\",\r\n        \"ProductTypeCode\": \"CMN\",\r\n        \"MeasuringUnit\": \"Kg\",\r\n        \"Category\": \"\",\r\n        \"Group\": \"\",\r\n        \"Weight\": \"1\",\r\n        \"Depth\": \"2\",\r\n        \"Width\": \"3\",\r\n        \"Height\": \"4\",\r\n        \"Volume\": \"5\",\r\n        \"BatchCriteria\": \"NA\",\r\n        \"LifeTime\": \"365\",\r\n        \"HasSN\": false,\r\n        \"SerialNumberProfileCode\": \"SerialNumber\",\r\n        \"Price\": 140,\r\n        \"ImageURL\": \"https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_%22G%22_logo.svg\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/products?sync=true","description":"<p>This endpoint allows you to create new or update products in the WMS. The HTTP POST request should be sent to <a href=\"https://localhost:7203/api/wms/products\">[app URL]/api/wms/products</a> with the necessary product details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://localhost:7203/api/wms/products\">[app URL]/api/wms/products/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors are found, an application admin will be adviced.<br />If it is required to process data immediately, query parameter <code>sync=true</code> must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in json format and should include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p>ExternalID (string): The external ID of the product. The product unique ID from source system. [M]</p>\n</li>\n<li><p>Code (string(200)): The code of the product [M]</p>\n</li>\n<li><p>Name (string(200)): The name of the product [M - for new items]</p>\n</li>\n<li><p>ProductTypeCode (string): Product type. Can have values:</p>\n<ul>\n<li><p>BASE - Base product</p>\n</li>\n<li><p><strong>CMN - Common product (this is usually used)</strong></p>\n</li>\n<li><p>SRV - Service, not storable product.</p>\n</li>\n<li><p>PKG - Package</p>\n</li>\n<li><p>KIT - Assembly of products</p>\n</li>\n<li><p>VKT - Virtual kit. A product that does not exist physically but is composed of products that exist physically.</p>\n</li>\n</ul>\n</li>\n<li><p>MeasuringUnit (string): The name of the measuring unit for the product [M - for new items]. The measuring unit must be present in app. If not, the product will not be created. Can send measuring unit code or name.</p>\n</li>\n<li><p>Category (string): The category of the product</p>\n</li>\n<li><p>Group (string): The group of the product</p>\n</li>\n<li><p>Weight (double): Product weight (in kg)</p>\n</li>\n<li><p>Depth (double): Product depth (in cm)</p>\n</li>\n<li><p>Width (double): Product width (in cm)</p>\n</li>\n<li><p>Height (double): Product height (in cm)</p>\n</li>\n<li><p>Volume (double): Product volume (in m3)</p>\n</li>\n<li><p>Barcode (string): product barcode</p>\n</li>\n<li><p>Barcode2 (string): product aditional barcode</p>\n</li>\n<li><p>BatchCriteria (string): a code that define the criteria of product \"batching\". This code must be provided by host. If a product is not tracker by batch, this field can be ignored.</p>\n</li>\n<li><p>LifeTime (int): Indicates the number of days of product expiration</p>\n</li>\n<li><p>HasSN (bool): Indicates if the product has a serial number</p>\n</li>\n<li><p>SerialNumberProfileCode (string): The profile code that defines the serial number settings according to the configurations in the application</p>\n</li>\n<li><p>Price (decimal): The price of the product.</p>\n</li>\n<li><p>ImageURL (string): The URL of the product image. If a product has multiple images, they must be separated by [~~]</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"1723793453\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","products"],"host":["https://[app_url]/api"],"query":[{"key":"sync","value":"true"}],"variable":[]}},"response":[],"_postman_id":"3aaf6488-acb0-4bbe-8773-093bc88c96d0"},{"name":"Read products from WMS","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"c54de209-4f9d-46b2-8212-fb8f8380c277","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/generic/products","description":"<p>This endpoint allows you to create new or update products in the WMS. The HTTP POST request should be sent to <a href=\"https://localhost:7203/api/wms/products\">[app URL]/api/wms/products</a> with the necessary product details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://localhost:7203/api/wms/products\">[app URL]/api/wms/products/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors are found, an application admin will be adviced.<br />If it is required to process data immediately, query parameter <code>sync=true</code> must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in json format and should include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p>ExternalID (string): The external ID of the product. The product unique ID from source system. [M]</p>\n</li>\n<li><p>Code (string(200)): The code of the product [M]</p>\n</li>\n<li><p>Name (string(200)): The name of the product [M - for new items]</p>\n</li>\n<li><p>ProductTypeCode (string): Product type. Can have values:</p>\n<ul>\n<li><p>BASE - Base product</p>\n</li>\n<li><p><strong>CMN - Common product (this is usually used)</strong></p>\n</li>\n<li><p>SRV - Service, not storable product.</p>\n</li>\n<li><p>PKG - Package</p>\n</li>\n<li><p>KIT - Assembly of products</p>\n</li>\n<li><p>VKT - Virtual kit. Assembly of products that not exists phisically</p>\n</li>\n</ul>\n</li>\n<li><p>MeasuringUnit (string): The name of the measuring unit for the product [M - for new items]. The measuring unit must be present in app. If not, the product will not be created. Can send measuring unit code or name.</p>\n</li>\n<li><p>Category (string): The category of the product</p>\n</li>\n<li><p>Group (string): The group of the product</p>\n</li>\n<li><p>Weight (double): Product weight (in kg)</p>\n</li>\n<li><p>Depth (double): Product depth (in cm)</p>\n</li>\n<li><p>Width (double): Product width (in cm)</p>\n</li>\n<li><p>Height (double): Product height (in cm)</p>\n</li>\n<li><p>Volume (double): Product volume (in m3)</p>\n</li>\n<li><p>Barcode (string): product barcode</p>\n</li>\n<li><p>Barcode2 (string): product aditional barcode</p>\n</li>\n<li><p>BatchCriteria (string): a code that define the criteria of product \"batching\". This code must be provided by host. If a product is not tracker by batch, this field can be ignored.</p>\n</li>\n<li><p>LifeTime (int): Indicates the number of days of product expiration</p>\n</li>\n<li><p>HasSN (bool): Indicates if the product has a serial number</p>\n</li>\n<li><p>Price (decimal): The price of the product.</p>\n</li>\n<li><p>ImageURL (string): The URL of the product image. If a product has multiple images, they must be separated by [~~]</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"1723793453\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["generic","products"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c54de209-4f9d-46b2-8212-fb8f8380c277"}],"id":"ad491702-68b3-4df8-a360-071a616010b3","_postman_id":"ad491702-68b3-4df8-a360-071a616010b3","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}},{"name":"Orders inbound","item":[{"name":"Import","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"6fd9937a-888b-4ef9-a2af-dc1957764775","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderTypeCode\": \"\",\r\n        \"OrderBatch\": \"PO\",\r\n        \"OrderNumber\": \"COM-PRD-00010\",\r\n        \"Warehouse\": \"DC\",\r\n        \"ReceptionDate\": \"2026-04-09T00:03:52.889Z\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"SupplierExternalID\": \"5466\",\r\n        \"SupplierCode\": \"116096\",\r\n        \"SupplierName\": \"abc\",\r\n        \"SupplierOrderNumber\": \"888\",\r\n        \"isReturn\": true,\r\n        \"BlockReason\": \"\",\r\n        \"Comments1\": \"comments 1 as as \",\r\n        \"Comments2\": \"comments 2 wqe e\",\r\n        \"AuxHeader\": \"aux header value\",\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"676\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"123456\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"111\",\r\n                \"Price\": 150,\r\n                \"AuxDetail\": \"aux detail value 1\"\r\n            }, {\r\n                \"ExternalLineID\": \"676\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"123456\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\",\r\n                \"QuantityExported\": \"0\",\r\n                \"QuantityReceived\": \"0\",\r\n                \"QuantityDamaged\": \"0\",\r\n                \"Price\": 150,\r\n                \"AuxDetail\": \"aux detail value 2\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"123456\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/inbounds?sync=false","description":"<h2 id=\"importcreate-inbound-order\">Import/Create Inbound Order</h2>\n<p>This endpoint allows you to create inbound orders in the WMS. The HTTP POST request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/inbounds\">[app URL]/api/wms/inbounds</a> with the necessary order details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/inbounds\">[app URL]/api/wms/inbounds/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.<br />If is required to process data immediately, query parameter <code>sync=true</code> must be sent. If it is required to process data immediately, query parameter sync=true must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h2 id=\"request-body\">Request Body</h2>\n<p>The request body should be in JSON format and include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p><code>ExternalID</code> (string): The external ID of the order. The order ID from source system. [M]</p>\n</li>\n<li><p><code>OrderTypeCode</code> (string): order type. The value must exists in WMS application.</p>\n</li>\n<li><p><code>OrderBatch</code> (string): The order batch.</p>\n</li>\n<li><p><code>OrderNumber</code> (string): The order number. [M]</p>\n</li>\n<li><p><code>Warehouse</code> (string): The warehouse code where the order will be received. [M]</p>\n</li>\n<li><p><code>ReceptionDate</code> (DateTime): The date of receiving the order.</p>\n</li>\n<li><p><code>OrderDate</code> (DateTime): The date of the order.</p>\n</li>\n<li><p><code>SupplierExternalID</code> (string): The external ID of the supplier. [M, O - if SupplierCode is specified]</p>\n</li>\n<li><p><code>SupplierCode</code> (string): The code of the supplier. [M, O - if SupplierExternalID is specified]</p>\n</li>\n<li><p><code>OrderPriority</code> (int): The order priority. Minimum value is 10. Default value 100.</p>\n</li>\n<li><p><code>SupplierName</code> (string): The name of the supplier.</p>\n</li>\n<li><p><code>SupplierOrderNumber</code> (string): The order number from the supplier.</p>\n</li>\n<li><p><code>isReturn</code> (boolean): Indicates if the order is a return. Default value is false.</p>\n</li>\n<li><p><code>BlockReason</code> (string): if is filled the order will be automatically blocked with this reason</p>\n</li>\n<li><p><code>Comments1</code> (string): Additional comments field 1.</p>\n</li>\n<li><p><code>Comments2</code> (string): Additional comments field 2.</p>\n</li>\n<li><p><code>OrderLines</code> (array): [M] An array of order line objects with the following parameters:</p>\n<ul>\n<li><p><code>ExternalLineID</code> (string): The line ID from source system.</p>\n</li>\n<li><p><code>LineNumber</code> (string): The line number of the order.</p>\n</li>\n<li><p><code>ExternalItemID</code> (string): The external ID of the item.</p>\n</li>\n<li><p><code>ItemCode</code> (string): The code of the item. [M]</p>\n</li>\n<li><p><code>ItemName</code> (string): The name of the item.</p>\n</li>\n<li><p><code>QuantityOrdered</code> (double): The quantity of the item ordered [M]</p>\n</li>\n<li><p><code>Price</code> (decimal): The item price (per unit of measure)</p>\n</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"1723793479\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n<h2 id=\"query-parameters\">Query parameters</h2>\n<ul>\n<li><code>sync</code> (bool): [O] if true is sent, the request will be processed immediatelly, otherwise will be inserted in the buffer for future process.</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","inbounds"],"host":["https://[app_url]/api"],"query":[{"key":"sync","value":"false"}],"variable":[]}},"response":[],"_postman_id":"6fd9937a-888b-4ef9-a2af-dc1957764775"},{"name":"Cancel order - by ExternalID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"ed43a94a-1444-438d-8212-38b82026f849","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderBatch\": \"SO\",\r\n        \"OrderNumber\": \"123456\",\r\n        \"Warehouse\": \"DC\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"BeneficiaryExternalID\": \"\",\r\n        \"BeneficiaryCode\": \"BENEF1\",\r\n        \"BeneficiaryName\": \"\",\r\n        \"BeneficiaryOrderNumber\": \"Numar comanda beneficiar\",\r\n        \"isReturn\": \"0\",\r\n        \"Comments1\": \"comments 1\",\r\n        \"Comments2\": \"comments 2\",\r\n        \"ShippingDetails\": {\r\n            \"DeliveryDate\": \"2024-01-20\",\r\n            \"ShippingDate\": \"2024-01-20\",\r\n            \"ShippingMethod\": \"Courier\",\r\n            \"Courier\": \"Fan\",\r\n            \"TransporterCode\": \"\",\r\n            \"CourierIntegratorCode\": \"\",\r\n            \"ShippingService\": \"\",\r\n            \"COD\": \"true\",\r\n            \"CODValue\": \"126.55\",\r\n            \"CODType\": \"CASH\",\r\n            \"AWBCode\": \"\",\r\n            \"AWBURL\": \"\",\r\n            \"LockerCode\": \"\",\r\n            \"ShippingDetails\": \"Interfon 01\",\r\n            \"DeliveryRoute\": \"cod ruta livrare\"\r\n        },\r\n        \"BillingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"ShippingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120,\r\n                \"VATValue\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/inbounds/1467067","description":"<h2 id=\"cancel-inbound-order\">Cancel Inbound Order</h2>\n<p>This endpoint allows you to cancel an Inbound order in the WMS. The HTTP <strong>DELETE</strong> request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/inbounds\">[app URL]/api/wms/inbounds</a>.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/inbounds\">[app URL]/api/wms/inbounds/[partner owner code]</a></p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts 2 method of filtering:</p>\n<ol>\n<li><p>By ExternalID - ExternalID is the ID of the order from external system. ExternalID can be passed in URL (<strong><code>[app URL]/api/wms/export/inbounds/ExternalID</code></strong>) or as query parameter (<strong><code>[app URL]/api/wms/export/inbounds?externalID=value</code></strong>)</p>\n</li>\n<li><p>By ID - ID is the internal ID of WMS. The ID can be passed only as query parameter (<strong><code>[app URL]/api/wms/export/inbounds?id=value</code></strong>)</p>\n</li>\n</ol>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 200 (Ok) with a exmpty body response.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","inbounds","1467067"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed43a94a-1444-438d-8212-38b82026f849"},{"name":"Cancel order - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"b650aacd-660d-4ec9-9a3f-f41c1de0f1c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderBatch\": \"SO\",\r\n        \"OrderNumber\": \"123456\",\r\n        \"Warehouse\": \"DC\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"BeneficiaryExternalID\": \"\",\r\n        \"BeneficiaryCode\": \"BENEF1\",\r\n        \"BeneficiaryName\": \"\",\r\n        \"BeneficiaryOrderNumber\": \"Numar comanda beneficiar\",\r\n        \"isReturn\": \"0\",\r\n        \"Comments1\": \"comments 1\",\r\n        \"Comments2\": \"comments 2\",\r\n        \"ShippingDetails\": {\r\n            \"DeliveryDate\": \"2024-01-20\",\r\n            \"ShippingDate\": \"2024-01-20\",\r\n            \"ShippingMethod\": \"Courier\",\r\n            \"Courier\": \"Fan\",\r\n            \"TransporterCode\": \"\",\r\n            \"CourierIntegratorCode\": \"\",\r\n            \"ShippingService\": \"\",\r\n            \"COD\": \"true\",\r\n            \"CODValue\": \"126.55\",\r\n            \"CODType\": \"CASH\",\r\n            \"AWBCode\": \"\",\r\n            \"AWBURL\": \"\",\r\n            \"LockerCode\": \"\",\r\n            \"ShippingDetails\": \"Interfon 01\",\r\n            \"DeliveryRoute\": \"cod ruta livrare\"\r\n        },\r\n        \"BillingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"ShippingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120,\r\n                \"VATValue\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/inbounds?id=32959","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","inbounds"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"32959"}],"variable":[]}},"response":[],"_postman_id":"b650aacd-660d-4ec9-9a3f-f41c1de0f1c1"},{"name":"Export - by External ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"17a8ffda-a014-4222-85ca-4ad8d831b110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds/Test1245","description":"<h3 id=\"get-inbound-orders-info\">Get Inbound Orders info</h3>\n<p>This endpoint allows you to retrieve informations about inbound orders from WMS. The HTTP POST request should be sent to <strong><code>[app URL]/api/wms/export/inbounds</code></strong> with filtering parameters.</p>\n<p>The endpoint will return records in pages with a maximum 50 records. The page number can be specified.</p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts 3 method of filtering:</p>\n<ol>\n<li><p>By ExternalID - ExternalID is the ID of the order from external system. ExternalID can be passed in URL (<strong><code>[app URL]/api/wms/export/inbounds/ExternalID</code></strong>) or as query parameter (<strong><code>[app URL]/api/wms/export/inbounds?externalID=value</code></strong>)</p>\n</li>\n<li><p>By ID - ID is the internal ID of WMS. The ID can be passed only as query parameter (<strong><code>[app URL]/api/wms/export/inbounds?id=value</code></strong>)</p>\n</li>\n<li><p>Other filters - are passed in request body in JSON format. Accepted filters:</p>\n<ol>\n<li><p><code>startDate</code> - date when the order was created in WMS</p>\n</li>\n<li><p><code>endDate</code> - date when the order was created in WMS</p>\n</li>\n<li><p><code>finished</code> - true/false - filter finished or active orders. If is not specified will return both finished and active orders.</p>\n</li>\n<li><p><code>isReturn</code> - true/false - filter returns vs normal orders. If is not specified will return both returns and normal orders.</p>\n</li>\n<li><p><code>page</code> - page number</p>\n</li>\n<li><p><code>ExternalIDs</code> - array of strings - external IDs of orders from external system.<br /> If this filter is used, pagination will be disabled and all records will be returned.</p>\n</li>\n<li><p><code>InternalIDs</code> - array of int - IDs of orders from WMS<br /> If this filter is used, pagination will be disabled and all records will be returned.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h2 id=\"response\">Response</h2>\n<p>The response body will be in JSON format with following structure:</p>\n<ul>\n<li><p><code>totalItems</code> (<em>int</em>): total number of records after applying filters.</p>\n</li>\n<li><p><code>itemsCount</code> (<em>int</em>): the number of records returned in current response.</p>\n</li>\n<li><p><code>page</code> (<em>int</em>): current page number</p>\n</li>\n<li><p><code>data</code> (<em>json array</em>): data payload.</p>\n</li>\n</ul>\n<p>Orders data has the folowind properties:</p>\n<ul>\n<li><p><code>ExternalID</code> (<em>string</em>): The external ID of the order. The order ID from the source system.</p>\n</li>\n<li><p><code>InternalOrderID</code> (<em>int</em>): The order ID from WMS.</p>\n</li>\n<li><p><code>OrderBatch</code> (<em>string</em>): The order batch from external system.</p>\n</li>\n<li><p><code>OrderNumber</code> (<em>string</em>): The order number from external system.</p>\n</li>\n<li><p><code>OrderDate</code> (<em>datetime</em>): The order date.</p>\n</li>\n<li><p><code>InternalOrderBatch</code> (<em>string</em>): The order batch from WMS.</p>\n</li>\n<li><p><code>InternalOrderNumber</code> (<em>string</em>): The order number from WMS.</p>\n</li>\n<li><p><code>Status</code> (<em>string</em>): the order status. An order can have following statuses: ADDED, CONFIRMED, ACTIVATED, FINISHED, CANCELLED</p>\n</li>\n<li><p><code>WarehouseCode</code> (<em>string</em>): The warehouse code.</p>\n</li>\n<li><p><code>WarehouseName</code> (<em>string</em>): The warehouse Name.</p>\n</li>\n<li><p><code>Finished</code> (<em>bool</em>): Specify that the order is finished or not.</p>\n</li>\n<li><p><code>FinishedDate</code> (datetime): The date when the order was finished.</p>\n</li>\n<li><p><code>SupplierExternalID</code> (<em>string</em>): The ID of the supplier from external system.</p>\n</li>\n<li><p><code>SupplierCode</code> (<em>string</em>): The code of the supplier.</p>\n</li>\n<li><p><code>SupplierName</code> (<em>string</em>): The name of the supplier.</p>\n</li>\n<li><p><code>SupplierOrderNumber</code> (<em>string</em>): The order number from the supplier.</p>\n</li>\n<li><p><code>isReturn</code> (<em>bool</em>): Indicates if the order is a return. Default value is false.</p>\n</li>\n<li><p><code>Comments1</code> (<em>string</em>): Additional comments field 1.</p>\n</li>\n<li><p><code>AuxValues</code> (<em>json array</em>): The auxiliary order properties if was send from external system on import.</p>\n</li>\n<li><p><code>Documents</code> (<em>array</em>): An array with documents registered for this order</p>\n<ul>\n<li><p><code>Batch</code> (<em>string</em>): document batch</p>\n</li>\n<li><p><code>Number</code> (<em>string</em>): document number</p>\n</li>\n<li><p><code>Date</code> (<em>date</em>): document date</p>\n</li>\n<li><p><code>Type</code> (<em>string</em>): document type</p>\n</li>\n</ul>\n</li>\n<li><p><code>OrderLines</code> (<em>array</em>): An array of order line objects with the following properties:</p>\n<ul>\n<li><p><code>ExternalLineID</code> (<em>string</em>): The line ID from the source system.</p>\n</li>\n<li><p><code>InternalLineID</code> (<em>int</em>): The line ID from WMS.</p>\n</li>\n<li><p><code>LineNumber</code> (<em>string</em>): The line number of the order.</p>\n</li>\n<li><p><code>ExternalItemID</code> (<em>string</em>): The external ID of the item.</p>\n</li>\n<li><p><code>InternalItemID</code> (<em>string</em>): The external ID of the item.</p>\n</li>\n<li><p><code>ItemCode</code> (<em>string</em>): The code of the item.</p>\n</li>\n<li><p><code>ItemName</code> (<em>string</em>): The name of the item.</p>\n</li>\n<li><p><code>QuantityOrdered</code> (<em>decimal</em>): The quantity of the item ordered</p>\n</li>\n<li><p><code>QuantityReceived</code> (<em>decimal</em>): The quantity of the item received (?)</p>\n</li>\n<li><p><code>QuantityDamaged</code> (<em>decimal</em>): The quantity of the item that is damaged (?)</p>\n</li>\n<li><p><code>Price</code> (<em>decimal</em>): The item price (per unit of measure)</p>\n</li>\n<li><p><code>AuxValues</code> (<em>json array</em>): The auxiliary lines properties if was send from external system on order import.</p>\n</li>\n<li><p><code>StockUnits</code> (<em>array</em>): An array with received pallets</p>\n<ul>\n<li><p><code>Code</code> (<em>string</em>) : WMS internal pallet code</p>\n</li>\n<li><p><code>SSCC</code> (<em>string</em>) : WMS internal pallet SSCC</p>\n</li>\n<li><p><code>BatchCode</code> (<em>string</em>)</p>\n</li>\n<li><p><code>ExpireDate</code> (<em>date</em>)</p>\n</li>\n<li><p><code>Quantity</code> (<em>decimal</em>)</p>\n</li>\n</ul>\n</li>\n<li><p><code>Batches</code> (<em>array</em>): An array with items received batches (if the item is marked with batch)</p>\n<ul>\n<li><p><code>BatchCode</code> (<em>string</em>)</p>\n</li>\n<li><p><code>ExpireDate</code> (<em>date</em>)</p>\n</li>\n<li><p><code>Quantity</code> (<em>decimal</em>)</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inbounds","Test1245"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"2ea9a66b-68f4-4a5f-b201-697ba6251fb4","name":"Inbounds - Export - by External ID","originalRequest":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds/1494891"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:21:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3HtKoYzezmKaJ29Lk4Lzr0VckYtC6pu7JM0yI6Drx1DE2BXQSzkpNHsIcLSPH9fgRAGKu780TOBghvOT4dZiIo2CY6ehOE-zUs5u1lKWmlJbTsNeErpFoci7k2gSIQKnP2-dZpgiE9MhuToK6SjVJmfKOb1qHB0IUEL0hX7420nQ_UYBbc9d40u5KrbchnWzXQEkb9ZZa-sjEG3FokBWmlMzuAcQGm9n7ZYrR70XGBZZrsrt8ent258RnoZxey6URkXii8NBegFvrd6fyVOforayGWU6ThlRqfblZ7oyof4V3RnUhpyDxem25bp1Tc_eTedMigrS8Uq0IRHjUo2PXvXT86LLBd7V5wFbBw7e64PjfqCK2s-fDTcAFRQJmLm03SIpgBgmwZbTfGHyrPErZs-SaNZS2BYxg7l99HEpQxeGM1GD3HIgbCz8FkYYDhr8kegW7wgoBXDlQ9k5km3hCUhKV4Zct-0DO8TTBKc5PrtFtAbhPI01ae2_8rhxL0dBaDzj6rXlZ4SU1wieNG_piHpp3mA8rz-6jQrQedXqPNyjGhbW_Z4WJBxDdTB3pDcsrVyT6yJl8T8-qTBslYsgdfGG_qzHvwGGDSj78CEFUVxDC13bxRPMTsqgsRRmWoJVY-kXOiJH_wTTo75oSpSVDyryrriiG2PqtvVx9EJtUTMnH7QVqQ7ng8KMQOv3Df10Quj2OS0TNzXvph4kIvvATQhIIMdu0fPO-qaVerC8pRBf3M0HIn-MHcLXHf9fZqOG05JIrERNBMuY5dRx6BiTC-N2XumlpRbC6J5GjbWObqdREeTzjY0aUIGxJaudEiNA0A; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 1,\n    \"itemsCount\": 1,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": \"1494891\",\n            \"InternalOrderID\": 49746,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000182\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000611\",\n            \"Status\": \"ADDED\",\n            \"Finished\": false,\n            \"FinishedDate\": null,\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-02T09:38:26.42\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-08-02T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62831\",\n            \"SupplierName\": \"Second Palet & Product S.R.L.\",\n            \"SupplierExternalID\": \"123225\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1502,\n                    \"LineNumber\": \"2\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 200,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 34,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1501,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 500,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 29,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"17a8ffda-a014-4222-85ca-4ad8d831b110"},{"name":"Export - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"ac449bb2-1d18-4864-ae07-1ac0930b4ce8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds?id=47200","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inbounds"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"47200"}],"variable":[]}},"response":[],"_postman_id":"ac449bb2-1d18-4864-ae07-1ac0930b4ce8"},{"name":"Export - using filters","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"83330615-3b39-480c-a381-035de646ef20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"StartDate\": \"2024-09-01\",\r\n    \"IsReturn\": 1,\r\n    \"Finished\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inbounds","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inbounds"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"f86a36ce-660e-4b64-bf8e-9891fd03398e","name":"Inbounds - Export - using filters","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-07-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inbounds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:22:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3GpNAJ9c4zhwSBBTPkruHI6PPzwN4za0umO__dWaidaejn4mAua1ED16GAviQWyOhDhmxhVv6J_blT00d50P8fC8wqCmVsxNCFJi4aeE6mAVPv3Da8g36IycgI4Q4yRClPO7gweo-2aClMawSlhXL7yH-0qMx-d_awpXpghMpOrhMAmMbHm8DBh5XTGinPZsgFetmXhK4CJrD07hFvxxMicI_-cYaZXf6LxZiWtsLYnb2c3jQGuCc0GvowLCixgDDMshoGkAbNy3cS99ldL3ItO61NfE00Pd3tMgy-kTvEX9l90pDsJUR1SDXSigYlXdOIqFOlC0R6Kgg0-KqqWNOEYUdX0kipGRf38qDgI4e2dUn3whVOgaWBjDJZYQB9OPd9vf1ReU16ElVBJcPmP6jdaDRemPb4TPcBJps1iAheWGMu5EJMvyAZ6n0fx74_wNJEiIyspKWodvG97EyM6Ffs7wthigRv60erqq_s2dtqdGD7lgGIhgwahUXaoL93r1jBNSCw8ByeEVOeoNX0hByYpwIolRmr-cYReXp45ED1T8rRMIk0r9IwwF8CWG7Trtm2xQEt7hXHbJZEKHyXT_wRt-accbHkp3iVBKftKrjk20t_unpZTkhs5_YQTllsykFKbmtcKu5rDCY3pLtJWnh7yYTeYbS4qWilP3KOL4lGW8xuAmKW7mxyl2SVgZR1AxeunVDkVGrn4DkmyiCZX_U6kfPLejKxuPbFEw8C-Q1pClZ8JYywBgdUOBQ6U24LsQcBhLerS7MsVGCITH879EH6Jdt0irVjYA3bxWT_cNA8g8QaiVin39R-PMZgH_v0goaQ; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 7,\n    \"itemsCount\": 7,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 49137,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000605\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-08-01T11:00:48.077\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-01T11:00:48.077\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-31T09:40:17\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"257\",\n                    \"Date\": \"2024-08-01T11:00:48.113\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1488,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003424\",\n                            \"SSCC\": \"05949060234244\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1487,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003429\",\n                            \"SSCC\": \"05949060234299\",\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 37744,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000583\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-12T12:23:51.413\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-12T12:23:51.413\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-12T12:21:16\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"254\",\n                    \"Date\": \"2024-07-12T12:23:51.463\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1438,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003436\",\n                            \"SSCC\": \"05949060234367\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 33113,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000571\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:37:04.44\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:37:04.44\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-04T12:35:08\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"253\",\n                    \"Date\": \"2024-07-04T12:37:04.447\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1416,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000931\",\n                            \"SSCC\": \"059490602009314\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32572,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000569\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:33:42.493\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:33:42.493\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-02T13:29:28\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"252\",\n                    \"Date\": \"2024-07-04T12:33:42.523\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1413,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 400,\n                    \"ReceivedQuantity\": 400,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1412,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0008\",\n                    \"ItemName\": \"Sevetele\",\n                    \"OrderedQuantity\": 300,\n                    \"ReceivedQuantity\": 300,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21969,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": \"1464486\",\n            \"InternalOrderID\": 32050,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000149\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000568\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-15T10:42:34.957\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-15T10:42:34.957\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62724\",\n            \"SupplierName\": \"Moara Dimbovita S.R.L.\",\n            \"SupplierExternalID\": \"117805\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"255\",\n                    \"Date\": \"2024-07-15T10:42:34.98\",\n                    \"Type\": \"Goods receipt slip\"\n                },\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"256\",\n                    \"Date\": \"2024-07-15T11:51:09.937\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1411,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"MP.00050\",\n                    \"ItemName\": \"Faina de grau\",\n                    \"OrderedQuantity\": 4400,\n                    \"ReceivedQuantity\": 8000,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 1.7,\n                    \"InternalItemID\": 29284,\n                    \"ExternalItemID\": \"44499\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003435\",\n                            \"SSCC\": \"05949060234350\",\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"Code\": \"SU00000003434\",\n                            \"SSCC\": \"05949060234343\",\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32006,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000567\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T12:04:25.673\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T12:04:25.673\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:46:13\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"IDL\",\n            \"SupplierName\": \"Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"251\",\n                    \"Date\": \"2024-07-01T12:04:25.697\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1410,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"44536\",\n                    \"ItemName\": \"Miere \",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21965,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000923\",\n                            \"SSCC\": \"059490602009235\",\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32002,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000566\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T10:28:30.827\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T10:28:30.827\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:14:14\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"250\",\n                    \"Date\": \"2024-07-01T10:28:30.867\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1409,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 1200,\n                    \"ReceivedQuantity\": 1200,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000920\",\n                            \"SSCC\": \"059490602009208\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 1200\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"83330615-3b39-480c-a381-035de646ef20"},{"name":"Export states - by External ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"7d8a2b7b-f8d8-4bd9-b608-77836f9847a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inboundsstates/1494891","description":"<h3 id=\"get-inbound-orders-states\">Get Inbound Orders States</h3>\n<p>This endpoint allows you to retrieve informations about inbound orders states from WMS. The HTTP POST request should be sent to <strong><code>[app URL]/api/wms/export/inboundsstates</code></strong> with filtering parameters.</p>\n<p>The endpoint will return records in pages with a maximum 50 records. The page number can be specified.</p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts the same filters like Inbound Orders Info endpoint</p>\n<h2 id=\"response\">Response</h2>\n<p>The response body will be in JSON format with following structure:</p>\n<ul>\n<li><p><code>totalItems</code> (<em>int</em>): total number of records after applying filters.</p>\n</li>\n<li><p><code>itemsCount</code> (<em>int</em>): the number of records returned in current response.</p>\n</li>\n<li><p><code>page</code> (<em>int</em>): current page number</p>\n</li>\n<li><p><code>data</code> (<em>json array</em>): data payload.</p>\n</li>\n</ul>\n<p>Orders data has the folowind properties:</p>\n<ul>\n<li><p><code>InternalOrderID</code> (<em>int</em>): The order ID from WMS.</p>\n</li>\n<li><p><code>Status</code> (<em>string</em>): the order status. An order can have following the statuses from bellow</p>\n</li>\n<li><p><code>Finished</code> (<em>bool</em>): Specify that the order is finished or not.</p>\n</li>\n<li><p>Cancelled (<em>bool</em>): Specify that the order is cancelled or not.</p>\n</li>\n<li><p><code>StatusDate</code> (datetime): The date when the order state was changed.</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ADDED</td>\n<td>Order is added but can be still modified</td>\n</tr>\n<tr>\n<td>CONFIRMED</td>\n<td>Order is added, cannot be modified and waiting to be allocated for reception</td>\n</tr>\n<tr>\n<td>ACTIVATED</td>\n<td>Order is activated and is waiting to be received in a short time</td>\n</tr>\n<tr>\n<td>FINISHED</td>\n<td>Reception is finished and order is closed.  <br />This is a final state of an order</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Order is cancelled</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inboundsstates","1494891"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"1079d3b9-b2b0-429a-b3f5-d559c783920e","name":"Inbounds - Export - by External ID","originalRequest":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds/1494891"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:21:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3HtKoYzezmKaJ29Lk4Lzr0VckYtC6pu7JM0yI6Drx1DE2BXQSzkpNHsIcLSPH9fgRAGKu780TOBghvOT4dZiIo2CY6ehOE-zUs5u1lKWmlJbTsNeErpFoci7k2gSIQKnP2-dZpgiE9MhuToK6SjVJmfKOb1qHB0IUEL0hX7420nQ_UYBbc9d40u5KrbchnWzXQEkb9ZZa-sjEG3FokBWmlMzuAcQGm9n7ZYrR70XGBZZrsrt8ent258RnoZxey6URkXii8NBegFvrd6fyVOforayGWU6ThlRqfblZ7oyof4V3RnUhpyDxem25bp1Tc_eTedMigrS8Uq0IRHjUo2PXvXT86LLBd7V5wFbBw7e64PjfqCK2s-fDTcAFRQJmLm03SIpgBgmwZbTfGHyrPErZs-SaNZS2BYxg7l99HEpQxeGM1GD3HIgbCz8FkYYDhr8kegW7wgoBXDlQ9k5km3hCUhKV4Zct-0DO8TTBKc5PrtFtAbhPI01ae2_8rhxL0dBaDzj6rXlZ4SU1wieNG_piHpp3mA8rz-6jQrQedXqPNyjGhbW_Z4WJBxDdTB3pDcsrVyT6yJl8T8-qTBslYsgdfGG_qzHvwGGDSj78CEFUVxDC13bxRPMTsqgsRRmWoJVY-kXOiJH_wTTo75oSpSVDyryrriiG2PqtvVx9EJtUTMnH7QVqQ7ng8KMQOv3Df10Quj2OS0TNzXvph4kIvvATQhIIMdu0fPO-qaVerC8pRBf3M0HIn-MHcLXHf9fZqOG05JIrERNBMuY5dRx6BiTC-N2XumlpRbC6J5GjbWObqdREeTzjY0aUIGxJaudEiNA0A; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 1,\n    \"itemsCount\": 1,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": \"1494891\",\n            \"InternalOrderID\": 49746,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000182\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000611\",\n            \"Status\": \"ADDED\",\n            \"Finished\": false,\n            \"FinishedDate\": null,\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-02T09:38:26.42\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-08-02T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62831\",\n            \"SupplierName\": \"Second Palet & Product S.R.L.\",\n            \"SupplierExternalID\": \"123225\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1502,\n                    \"LineNumber\": \"2\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 200,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 34,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1501,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 500,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 29,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"7d8a2b7b-f8d8-4bd9-b608-77836f9847a9"},{"name":"Export states - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"9af8d563-6413-4949-bd0e-e4b832bd06fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inboundsstates?id=47200","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inboundsstates"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"47200"}],"variable":[]}},"response":[],"_postman_id":"9af8d563-6413-4949-bd0e-e4b832bd06fd"},{"name":"Export states - using filters","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"8a009361-27b0-4d4e-84d7-5c256ac24d2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-07-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inboundsstates","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","inboundsstates"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"7ed5cc1c-dda5-4e7e-9cbf-c0a7518403ed","name":"Inbounds - Export - using filters","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-07-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inbounds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:22:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3GpNAJ9c4zhwSBBTPkruHI6PPzwN4za0umO__dWaidaejn4mAua1ED16GAviQWyOhDhmxhVv6J_blT00d50P8fC8wqCmVsxNCFJi4aeE6mAVPv3Da8g36IycgI4Q4yRClPO7gweo-2aClMawSlhXL7yH-0qMx-d_awpXpghMpOrhMAmMbHm8DBh5XTGinPZsgFetmXhK4CJrD07hFvxxMicI_-cYaZXf6LxZiWtsLYnb2c3jQGuCc0GvowLCixgDDMshoGkAbNy3cS99ldL3ItO61NfE00Pd3tMgy-kTvEX9l90pDsJUR1SDXSigYlXdOIqFOlC0R6Kgg0-KqqWNOEYUdX0kipGRf38qDgI4e2dUn3whVOgaWBjDJZYQB9OPd9vf1ReU16ElVBJcPmP6jdaDRemPb4TPcBJps1iAheWGMu5EJMvyAZ6n0fx74_wNJEiIyspKWodvG97EyM6Ffs7wthigRv60erqq_s2dtqdGD7lgGIhgwahUXaoL93r1jBNSCw8ByeEVOeoNX0hByYpwIolRmr-cYReXp45ED1T8rRMIk0r9IwwF8CWG7Trtm2xQEt7hXHbJZEKHyXT_wRt-accbHkp3iVBKftKrjk20t_unpZTkhs5_YQTllsykFKbmtcKu5rDCY3pLtJWnh7yYTeYbS4qWilP3KOL4lGW8xuAmKW7mxyl2SVgZR1AxeunVDkVGrn4DkmyiCZX_U6kfPLejKxuPbFEw8C-Q1pClZ8JYywBgdUOBQ6U24LsQcBhLerS7MsVGCITH879EH6Jdt0irVjYA3bxWT_cNA8g8QaiVin39R-PMZgH_v0goaQ; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 7,\n    \"itemsCount\": 7,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 49137,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000605\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-08-01T11:00:48.077\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-01T11:00:48.077\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-31T09:40:17\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"257\",\n                    \"Date\": \"2024-08-01T11:00:48.113\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1488,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003424\",\n                            \"SSCC\": \"05949060234244\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1487,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003429\",\n                            \"SSCC\": \"05949060234299\",\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 37744,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000583\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-12T12:23:51.413\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-12T12:23:51.413\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-12T12:21:16\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"254\",\n                    \"Date\": \"2024-07-12T12:23:51.463\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1438,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003436\",\n                            \"SSCC\": \"05949060234367\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 33113,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000571\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:37:04.44\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:37:04.44\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-04T12:35:08\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"253\",\n                    \"Date\": \"2024-07-04T12:37:04.447\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1416,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000931\",\n                            \"SSCC\": \"059490602009314\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32572,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000569\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:33:42.493\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:33:42.493\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-02T13:29:28\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"252\",\n                    \"Date\": \"2024-07-04T12:33:42.523\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1413,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 400,\n                    \"ReceivedQuantity\": 400,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1412,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0008\",\n                    \"ItemName\": \"Sevetele\",\n                    \"OrderedQuantity\": 300,\n                    \"ReceivedQuantity\": 300,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21969,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": \"1464486\",\n            \"InternalOrderID\": 32050,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000149\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000568\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-15T10:42:34.957\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-15T10:42:34.957\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62724\",\n            \"SupplierName\": \"Moara Dimbovita S.R.L.\",\n            \"SupplierExternalID\": \"117805\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"255\",\n                    \"Date\": \"2024-07-15T10:42:34.98\",\n                    \"Type\": \"Goods receipt slip\"\n                },\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"256\",\n                    \"Date\": \"2024-07-15T11:51:09.937\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1411,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"MP.00050\",\n                    \"ItemName\": \"Faina de grau\",\n                    \"OrderedQuantity\": 4400,\n                    \"ReceivedQuantity\": 8000,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 1.7,\n                    \"InternalItemID\": 29284,\n                    \"ExternalItemID\": \"44499\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003435\",\n                            \"SSCC\": \"05949060234350\",\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"Code\": \"SU00000003434\",\n                            \"SSCC\": \"05949060234343\",\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32006,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000567\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T12:04:25.673\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T12:04:25.673\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:46:13\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"IDL\",\n            \"SupplierName\": \"Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"251\",\n                    \"Date\": \"2024-07-01T12:04:25.697\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1410,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"44536\",\n                    \"ItemName\": \"Miere \",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21965,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000923\",\n                            \"SSCC\": \"059490602009235\",\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32002,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000566\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T10:28:30.827\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T10:28:30.827\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:14:14\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"250\",\n                    \"Date\": \"2024-07-01T10:28:30.867\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1409,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 1200,\n                    \"ReceivedQuantity\": 1200,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000920\",\n                            \"SSCC\": \"059490602009208\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 1200\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"8a009361-27b0-4d4e-84d7-5c256ac24d2f"}],"id":"30249d60-3eb6-49ed-9aff-f2ba89cd71d4","_postman_id":"30249d60-3eb6-49ed-9aff-f2ba89cd71d4","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}},{"name":"Orders outbound","item":[{"name":"Import","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"040050d3-441f-4a10-a5d3-5129601f13f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderBatch\": \"SO\",\r\n        \"OrderNumber\": \"123456\",\r\n        \"Warehouse\": \"DC\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"BeneficiaryExternalID\": \"\",\r\n        \"BeneficiaryCode\": \"BENEF1\",\r\n        \"BeneficiaryName\": \"\",\r\n        \"BeneficiaryOrderNumber\": \"Numar comanda beneficiar\",\r\n        \"isReturn\": \"0\",\r\n        \"StockStatusCode\": \"\",\r\n        \"Comments1\": \"comments 1\",\r\n        \"Comments2\": \"comments 2\",\r\n        \"ShippingDetails\": {\r\n            \"DeliveryDate\": \"2024-01-20\",\r\n            \"ShippingDate\": \"2024-01-20\",\r\n            \"ShippingMethod\": \"Courier\",\r\n            \"Courier\": \"Fan\",\r\n            \"TransporterCode\": \"\",\r\n            \"CourierIntegratorCode\": \"\",\r\n            \"COD\": \"true\",\r\n            \"CODValue\": \"126.55\",\r\n            \"CODType\": \"CASH\",\r\n            \"CODCurrency\": \"RON\",\r\n            \"AWBCode\": \"\",\r\n            \"AWBURL\": \"\",\r\n            \"LockerCode\": \"\",\r\n            \"ShippingDetails\": \"Interfon 01\",\r\n            \"DeliveryRoute\": \"cod ruta livrare\"\r\n        },\r\n        \"BillingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"ShippingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120,\r\n                \"VATValue\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/outbounds?sync=true","description":"<h2 id=\"importcreate-outbound-orders\">Import/Create Outbound Orders</h2>\n<p>This endpoint allows you to create outbound orders in the WMS. The HTTP POST request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/outbounds\">[app URL]/api/wms/outbounds</a> with the necessary order details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/outbounds\">[app URL]/api/wms/outbounds/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.<br />If is required to process data immediately, query parameter <code>sync=true</code> must be sent. If it is required to process data immediately, query parameter sync=true must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-payload\">Request Payload</h3>\n<p>The request payload should be in the raw format and should contain a JSON object with the following parameters:</p>\n<ul>\n<li><p><code>ExternalID</code> (string): The external ID of the order. [M]</p>\n</li>\n<li><p><code>OrderTypeCode</code> (string): order type. The value must exists in WMS application.</p>\n</li>\n<li><p><code>OrderBatch</code> (string): The batch number of the order.</p>\n</li>\n<li><p><code>OrderNumber</code> (string): The order number. [M]</p>\n</li>\n<li><p><code>Warehouse</code> (string): The warehouse where the order is to be processed. Warehouse code is provided by the host.</p>\n</li>\n<li><p><code>StockStatusCode</code> (string): The stock status. Stock status code is provided by the host.</p>\n</li>\n<li><p><code>OrderDate</code> (date): The registration date of the order.</p>\n</li>\n<li><p><code>OrderPriority</code> (int): The order priority. Minimum value is 10. Default value 100.</p>\n</li>\n<li><p><code>BeneficiaryExternalID</code> (string): The external ID of the beneficiary (partner).</p>\n</li>\n<li><p><code>BeneficiaryCode</code> (string): The code of the beneficiary.</p>\n</li>\n<li><p><code>BeneficiaryName</code> (string): The name of the beneficiary.</p>\n</li>\n<li><p><code>BeneficiaryOrderNumber</code> (string): The order number of the beneficiary.<br />  <em>(in case of EMag, the order id must be sent in this field)</em></p>\n</li>\n<li><p><code>isReturn</code> (bool): Indicates if the order is a supplier return.</p>\n</li>\n<li><p><code>BlockReason</code> (string): if is filled the order will be automatically blocked with this reason</p>\n</li>\n<li><p><code>SalesPerson</code> (string): Sales person name or code</p>\n</li>\n<li><p><code>Comments1</code> (string): Additional comments field 1.</p>\n</li>\n<li><p><code>Comments2</code> (string): Additional comments field 2.</p>\n</li>\n<li><p><code>ShippingAddress</code> (object): The shipping address details. with same parameters as billing address.</p>\n</li>\n<li><p><code>BillingAddress</code> (object): The billing address details with the following parameters:</p>\n<ul>\n<li><p><code>Country</code> (string): Country code or name. Must be defined in app.</p>\n</li>\n<li><p><code>County</code> (string): County code or name. Depending on application settings, must be defined in app.</p>\n</li>\n<li><p><code>City</code> (string): City name. Depending on app settings, must be defined in application.</p>\n</li>\n<li><p><code>Street</code> (string): The street name. If not exists street number can send entire address in this field.</p>\n</li>\n<li><p><code>StreetNumber</code> (string): The number of the street.</p>\n</li>\n<li><p><code>PostalCode</code> (string): The postal code of the address. Depending on app settings, can be validated with city.</p>\n</li>\n<li><p><code>ContactPerson</code> (string): The name of the contact person</p>\n</li>\n<li><p><code>Email</code> (string): The email of the contact person</p>\n</li>\n<li><p><code>PhoneNumber</code> (string): The phone number</p>\n</li>\n<li><p><code>Latitude</code> (decimal): The latitude of the address</p>\n</li>\n<li><p><code>Longitude</code> (decimal): The longitude of the address</p>\n</li>\n<li><p><code>ExternalID</code> (string): External ID of the billing address</p>\n</li>\n</ul>\n</li>\n<li><p><code>ShippingDetails</code> (object): The shipping details including country, county, city, street, street number, postal code, contact person, email, phone number, latitude, and longitude.</p>\n<ul>\n<li><p><code>DeliveryDate</code> (date): The date when the order must be delivered to beneficiary.</p>\n</li>\n<li><p><code>ShippingDate</code> (date): The date when the order must be ready for pick-up/deliver from warehouse.</p>\n</li>\n<li><p><code>ShippingMethod</code> (string): The shipping method. Must be defined in app.</p>\n</li>\n<li><p><code>Courier</code> (string): The courier name or code. Must be defined in app.</p>\n</li>\n<li><p><code>TransporterCode</code> (string): The code of the transporter. Must be defined in app.</p>\n</li>\n<li><p><code>CourierIntergratorCode</code> (string): The code of the courier integrator (Postis, Innoship, etc.). Must be defined in app.</p>\n</li>\n<li><p><code>COD</code> (bool): Cash on delivery. If some money must be collected on delivery. Default value is false.</p>\n</li>\n<li><p><code>CODValue</code> (decimal): The amount of money to be collected.</p>\n</li>\n<li><p><code>CODCurrency</code> (string): The currency in wich money must be collected.</p>\n</li>\n<li><p><code>CODType</code> (string): The type of money collection. Accepted values: CASH, BANK, None, CARD.</p>\n</li>\n<li><p><code>CODCurrency</code> (string): The type of currency.</p>\n</li>\n<li><p><code>AWBCode</code> (string): The AWB code if this was generated by external system.</p>\n</li>\n<li><p><code>AWBURL</code> (string): The URL from where AWB can be downloaded if this was generated by external system.</p>\n</li>\n<li><p><code>LockerCode</code> (string): Locker code in case of delivery to a locker.</p>\n</li>\n<li><p><code>ShippigDetails</code> (string): Notes for delivery.</p>\n</li>\n<li><p><code>DeliveryRoute</code> (string): Delivery route if this was defined in external system.</p>\n</li>\n<li><p><code>InsuranceValue</code> (decimal): The value of the insurance. Used for courier delivery.</p>\n</li>\n<li><p><code>MorningDelivery</code> (bool): Used for courier delivery.</p>\n</li>\n<li><p><code>OpenPackage</code> (bool): Used for courier delivery.</p>\n</li>\n<li><p><code>PriorityDelivery</code> (bool): Used for courier delivery.</p>\n</li>\n<li><p><code>SaturdayDelivery</code> (bool): Used for courier delivery.</p>\n</li>\n<li><p><code>ReturnDocuments</code> (string): Used for courier delivery.</p>\n</li>\n<li><p><code>ShippingContactPerson</code> (string):</p>\n</li>\n<li><p><code>ShippingContactPhoneNumber</code> (string):</p>\n</li>\n<li><p><code>ShippigDetails</code> (string): Notes for delivery.</p>\n</li>\n<li><p><code>DelegatedPerson</code> (string):</p>\n</li>\n</ul>\n</li>\n<li><p><code>OrderLines</code> (array): [M] An array of order line objects with the following parameters:</p>\n<ul>\n<li><p><code>ExternalLineID</code> (string): The line ID from source system.</p>\n</li>\n<li><p><code>LineNumber</code> (string): The line number of the order.</p>\n</li>\n<li><p><code>ExternalItemID</code> (string): The external ID of the item.</p>\n</li>\n<li><p><code>ItemCode</code> (string): The code of the item. [M]</p>\n</li>\n<li><p><code>ItemName</code> (string): The name of the item.</p>\n</li>\n<li><p><code>QuantityOrdered</code> (string): The quantity of the item ordered. [M]</p>\n</li>\n<li><p><code>Price</code> (decimal): The item price (per unit of measure)</p>\n</li>\n<li><p><code>VATValue</code> (decimal): The item vat value (per unit of measure)</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Details:</p>\n<ul>\n<li><p>normally a beneficiary data must be send using Partners API method. If the beneficiary data are not very important (usually when the orders are sent from online store where beneficiaries are new everytime), the call of Partners API can be skiped and the beneficiary will be created automatically from order data. For this following fields must be send:</p>\n<ul>\n<li><p>BeneficiaryName</p>\n</li>\n<li><p>ShippingAddress and BillingAddress. If billing address and shipping address are the same everytime, only ShippingAddress can be sent.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"1723793514\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","outbounds"],"host":["https://[app_url]/api"],"query":[{"key":"sync","value":"true"}],"variable":[]}},"response":[],"_postman_id":"040050d3-441f-4a10-a5d3-5129601f13f5"},{"name":"Cancel order - by ExternalID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"307774ef-0696-4229-abee-e5d7509b87a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderBatch\": \"SO\",\r\n        \"OrderNumber\": \"123456\",\r\n        \"Warehouse\": \"DC\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"BeneficiaryExternalID\": \"\",\r\n        \"BeneficiaryCode\": \"BENEF1\",\r\n        \"BeneficiaryName\": \"\",\r\n        \"BeneficiaryOrderNumber\": \"Numar comanda beneficiar\",\r\n        \"isReturn\": \"0\",\r\n        \"Comments1\": \"comments 1\",\r\n        \"Comments2\": \"comments 2\",\r\n        \"ShippingDetails\": {\r\n            \"DeliveryDate\": \"2024-01-20\",\r\n            \"ShippingDate\": \"2024-01-20\",\r\n            \"ShippingMethod\": \"Courier\",\r\n            \"Courier\": \"Fan\",\r\n            \"TransporterCode\": \"\",\r\n            \"CourierIntegratorCode\": \"\",\r\n            \"ShippingService\": \"\",\r\n            \"COD\": \"true\",\r\n            \"CODValue\": \"126.55\",\r\n            \"CODType\": \"CASH\",\r\n            \"AWBCode\": \"\",\r\n            \"AWBURL\": \"\",\r\n            \"LockerCode\": \"\",\r\n            \"ShippingDetails\": \"Interfon 01\",\r\n            \"DeliveryRoute\": \"cod ruta livrare\"\r\n        },\r\n        \"BillingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"ShippingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120,\r\n                \"VATValue\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/outbounds/12345","description":"<h2 id=\"cancel-outbound-order\">Cancel Outbound Order</h2>\n<p>This endpoint allows you to cancel an outbound order in the WMS. The HTTP <strong>DELETE</strong> request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/outbounds\">[app URL]/api/wms/outbounds</a>.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/outbounds\">[app URL]/api/wms/outbounds/[partner owner code]</a></p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts 2 method of filtering:</p>\n<ol>\n<li><p>By ExternalID - ExternalID is the ID of the order from external system. ExternalID can be passed in URL (<strong><code>[app URL]/api/wms/export/outbounds/ExternalID</code></strong>) or as query parameter (<strong><code>[app URL]/api/wms/export/outbounds?externalID=value</code></strong>)</p>\n</li>\n<li><p>By ID - ID is the internal ID of WMS. The ID can be passed only as query parameter (<strong><code>[app URL]/api/wms/export/outbounds?id=value</code></strong>)</p>\n</li>\n</ol>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 200 (Ok) with a exmpty body response.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","outbounds","12345"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"307774ef-0696-4229-abee-e5d7509b87a4"},{"name":"Cancel order - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"80e9fdc9-f2c3-4084-9d12-533d80031ea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"ExternalID\": \"1775693033\",\r\n        \"OrderBatch\": \"SO\",\r\n        \"OrderNumber\": \"123456\",\r\n        \"Warehouse\": \"DC\",\r\n        \"OrderDate\": \"2024-01-04\",\r\n        \"BeneficiaryExternalID\": \"\",\r\n        \"BeneficiaryCode\": \"BENEF1\",\r\n        \"BeneficiaryName\": \"\",\r\n        \"BeneficiaryOrderNumber\": \"Numar comanda beneficiar\",\r\n        \"isReturn\": \"0\",\r\n        \"Comments1\": \"comments 1\",\r\n        \"Comments2\": \"comments 2\",\r\n        \"ShippingDetails\": {\r\n            \"DeliveryDate\": \"2024-01-20\",\r\n            \"ShippingDate\": \"2024-01-20\",\r\n            \"ShippingMethod\": \"Courier\",\r\n            \"Courier\": \"Fan\",\r\n            \"TransporterCode\": \"\",\r\n            \"CourierIntegratorCode\": \"\",\r\n            \"ShippingService\": \"\",\r\n            \"COD\": \"true\",\r\n            \"CODValue\": \"126.55\",\r\n            \"CODType\": \"CASH\",\r\n            \"AWBCode\": \"\",\r\n            \"AWBURL\": \"\",\r\n            \"LockerCode\": \"\",\r\n            \"ShippingDetails\": \"Interfon 01\",\r\n            \"DeliveryRoute\": \"cod ruta livrare\"\r\n        },\r\n        \"BillingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"ShippingAddress\": {\r\n            \"Country\": \"RO\",\r\n            \"County\": \"B\",\r\n            \"City\": \"Sector 3\",\r\n            \"Street\": \"Calea Calarasi\",\r\n            \"StreetNumber\": \"161\",\r\n            \"PostalCode\": \"032716\",\r\n            \"ContactPerson\": \"Persoana Contact\",\r\n            \"Email\": \"email@idealog.ro\",\r\n            \"PhoneNumber\": \"0745265242\",\r\n            \"Latitude\": \"44.43279\",\r\n            \"Longitude\": \"26.12345\"\r\n        },\r\n        \"OrderLines\": [\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"001\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"23\"\r\n            },\r\n            {\r\n                \"ExternalLineID\": \"1775693033\",\r\n                \"LineNumber\": \"002\",\r\n                \"ExternalItemID\": \"ABC121\",\r\n                \"ItemCode\": \"FMA9\",\r\n                \"ItemName\": \"Folie magnetică cu adeziv (1m) - 0,9mm\",\r\n                \"QuantityOrdered\": \"57\",\r\n                \"Price\": 120,\r\n                \"VATValue\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/outbounds?id=1040","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","outbounds"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"1040"}],"variable":[]}},"response":[],"_postman_id":"80e9fdc9-f2c3-4084-9d12-533d80031ea8"},{"name":"Export - by External ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b4953353-3e88-47f3-9f3f-8b81fa54f305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/outbounds/14492255","description":"<h3 id=\"get-outbound-orders-info\">Get Outbound Orders info</h3>\n<p>This endpoint allows you to retrieve informations about inbound orders from WMS. The HTTP POST request should be sent to <strong><code>[app URL]/api/wms/export/outbounds</code></strong> with filtering parameters.</p>\n<p>The endpoint will return records in pages with a maximum 50 records. The page number can be specified.</p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts 3 method of filtering:</p>\n<ol>\n<li><p>By ExternalID - ExternalID is the ID of the order from external system. ExternalID can be passed in URL (<strong><code>[app URL]/api/wms/export/outbounds/ExternalID</code></strong>) or as query parameter (<strong><code>[app URL]/api/wms/export/outbounds?externalID=value</code></strong>)</p>\n</li>\n<li><p>By ID - ID is the internal ID of WMS. The ID can be passed only as query parameter (<strong><code>[app URL]/api/wms/export/outbounds?id=value</code></strong>)</p>\n</li>\n<li><p>Other filters - are passed in request body in JSON format. Accepted filters:</p>\n<ol>\n<li><p><code>startDate</code> - date when the order was created in WMS</p>\n</li>\n<li><p><code>endDate</code> - date when the order was created in WMS</p>\n</li>\n<li><p><code>finished</code> - true/false - filter finished or active orders. If is not specified will return both finished and active orders.</p>\n</li>\n<li><p><code>page</code> - page number</p>\n</li>\n<li><p><code>ExternalIDs</code> - array of strings - external IDs of orders from external system<br /> If this filter is used, pagination will be disabled and all records will be returned.</p>\n</li>\n<li><p><code>InternalIDs</code> - array of int - IDs of orders from WMS<br /> If this filter is used, pagination will be disabled and all records will be returned.</p>\n</li>\n<li><p><code>CustomerEmail</code> - string - Customer email address.</p>\n</li>\n<li><p><code>StatusCode</code> - string - Order status code. Available status codes: Added, Confirmed, Activated, Finished, Cancelled.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h2 id=\"response\">Response</h2>\n<p>The response body will be in JSON format with following structure:</p>\n<ul>\n<li><p><code>totalItems</code> (<em>int</em>): total number of records after applying filters.</p>\n</li>\n<li><p><code>itemsCount</code> (<em>int</em>): the number of records returned in current response.</p>\n</li>\n<li><p><code>page</code> (<em>int</em>): current page number</p>\n</li>\n<li><p><code>data</code> (<em>json array</em>): data payload.</p>\n</li>\n</ul>\n<p>Orders data has the folowind properties:</p>\n<ul>\n<li><p><code>ExternalID</code> (<em>string</em>): The external ID of the order. The order ID from the source system.</p>\n</li>\n<li><p><code>InternalOrderID</code> (<em>int</em>): The order ID from WMS.</p>\n</li>\n<li><p><code>OrderBatch</code> (<em>string</em>): The order batch from external system.</p>\n</li>\n<li><p><code>OrderNumber</code> (<em>string</em>): The order number from external system.</p>\n</li>\n<li><p><code>OrderDate</code> (<em>datetime</em>): The order date.</p>\n</li>\n<li><p><code>InternalOrderBatch</code> (<em>string</em>): The order batch from WMS.</p>\n</li>\n<li><p><code>InternalOrderNumber</code> (<em>string</em>): The order number from WMS.</p>\n</li>\n<li><p><code>Status</code> (<em>string</em>): the order status. An order can have following statuses: ADDED, CONFIRMED, ACTIVATED, FINISHED, CANCELLED</p>\n</li>\n<li><p><code>WarehouseCode</code> (<em>string</em>): The warehouse code.</p>\n</li>\n<li><p><code>WarehouseName</code> (<em>string</em>): The warehouse Name.</p>\n</li>\n<li><p><code>Finished</code> (<em>bool</em>): Specify that the order is finished or not.</p>\n</li>\n<li><p><code>FinishedDate</code> (datetime): The date when the order was finished.</p>\n</li>\n<li><p><code>BeneficiaryExternalID</code> (<em>string</em>): The ID of the beneficiary from external system.</p>\n</li>\n<li><p><code>BeneficiaryCode</code> (<em>string</em>): The code of the beneficiary.</p>\n</li>\n<li><p><code>BaneficiaryName</code> (<em>string</em>): The name of the beneficiary.</p>\n</li>\n<li><p><code>BeneficiaryOrderNumber</code> (<em>string</em>): The order number from the beneficiary.</p>\n</li>\n<li><p><code>isReturn</code> (<em>bool</em>): Indicates if the order is a return. Default value is false.</p>\n</li>\n<li><p><code>Comments1</code> (<em>string</em>): Additional comments field 1.</p>\n</li>\n<li><p><code>AuxValues</code> (<em>json array</em>): The auxiliary order properties if was send from external system on import.</p>\n</li>\n<li><p><code>Documents</code> (<em>array</em>): An array with documents registered for this order</p>\n<ul>\n<li><p><code>Batch</code> (<em>string</em>): document batch</p>\n</li>\n<li><p><code>Number</code> (<em>string</em>): document number</p>\n</li>\n<li><p><code>Date</code> (<em>date</em>): document date</p>\n</li>\n<li><p><code>Type</code> (<em>string</em>): document type</p>\n</li>\n</ul>\n</li>\n<li><p><code>OrderLines</code> (<em>array</em>): An array of order line objects with the following properties:</p>\n<ul>\n<li><p><code>ExternalLineID</code> (<em>string</em>): The line ID from the source system.</p>\n</li>\n<li><p><code>InternalLineID</code> (<em>int</em>): The line ID from WMS.</p>\n</li>\n<li><p><code>LineNumber</code> (<em>string</em>): The line number of the order.</p>\n</li>\n<li><p><code>ExternalItemID</code> (<em>string</em>): The external ID of the item.</p>\n</li>\n<li><p><code>InternalItemID</code> (<em>string</em>): The external ID of the item.</p>\n</li>\n<li><p><code>ItemCode</code> (<em>string</em>): The code of the item.</p>\n</li>\n<li><p><code>ItemName</code> (<em>string</em>): The name of the item.</p>\n</li>\n<li><p><code>QuantityOrdered</code> (<em>decimal</em>): The quantity of the item ordered</p>\n</li>\n<li><p><code>QuantityDelivered</code> (<em>decimal</em>): The quantity of the item delivered(?)</p>\n</li>\n<li><p><code>Price</code> (<em>decimal</em>): The item price (per unit of measure)</p>\n</li>\n<li><p><code>AuxValues</code> (<em>json array</em>): The auxiliary lines properties if was send from external system on order import.</p>\n</li>\n<li><p><code>StockUnits</code> (<em>array</em>): An array with received pallets</p>\n<ul>\n<li><p><code>Code</code> (<em>string</em>) : WMS internal pallet code</p>\n</li>\n<li><p><code>SSCC</code> (<em>string</em>) : WMS internal pallet SSCC</p>\n</li>\n<li><p><code>BatchCode</code> (<em>string</em>)</p>\n</li>\n<li><p><code>ExpireDate</code> (<em>date</em>)</p>\n</li>\n<li><p><code>Quantity</code> (<em>decimal</em>)</p>\n</li>\n</ul>\n</li>\n<li><p><code>Batches</code> (<em>array</em>): An array with received batches (if the item is marked with batch)</p>\n<ul>\n<li><p><code>BatchCode</code> (<em>string</em>)</p>\n</li>\n<li><p><code>ExpireDate</code> (<em>date</em>)</p>\n</li>\n<li><p><code>Quantity</code> (<em>decimal</em>)</p>\n</li>\n</ul>\n</li>\n<li><p><code>SerialNumbers</code> (<em>array</em>): An array with received serial numbers (if the item is marked with serial number)</p>\n<ul>\n<li><p><code>SerialNumber</code> (<em>string</em>)</p>\n</li>\n<li><p><code>SerialNumber2</code> (string)</p>\n</li>\n<li><p><code>IMEI1</code> (string)</p>\n</li>\n<li><p><code>IMEI2</code> (string)</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outbounds","14492255"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"c4c188b7-e6f4-43de-857c-61cb6823af66","name":"Inbounds - Export - by External ID","originalRequest":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds/1494891"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:21:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3HtKoYzezmKaJ29Lk4Lzr0VckYtC6pu7JM0yI6Drx1DE2BXQSzkpNHsIcLSPH9fgRAGKu780TOBghvOT4dZiIo2CY6ehOE-zUs5u1lKWmlJbTsNeErpFoci7k2gSIQKnP2-dZpgiE9MhuToK6SjVJmfKOb1qHB0IUEL0hX7420nQ_UYBbc9d40u5KrbchnWzXQEkb9ZZa-sjEG3FokBWmlMzuAcQGm9n7ZYrR70XGBZZrsrt8ent258RnoZxey6URkXii8NBegFvrd6fyVOforayGWU6ThlRqfblZ7oyof4V3RnUhpyDxem25bp1Tc_eTedMigrS8Uq0IRHjUo2PXvXT86LLBd7V5wFbBw7e64PjfqCK2s-fDTcAFRQJmLm03SIpgBgmwZbTfGHyrPErZs-SaNZS2BYxg7l99HEpQxeGM1GD3HIgbCz8FkYYDhr8kegW7wgoBXDlQ9k5km3hCUhKV4Zct-0DO8TTBKc5PrtFtAbhPI01ae2_8rhxL0dBaDzj6rXlZ4SU1wieNG_piHpp3mA8rz-6jQrQedXqPNyjGhbW_Z4WJBxDdTB3pDcsrVyT6yJl8T8-qTBslYsgdfGG_qzHvwGGDSj78CEFUVxDC13bxRPMTsqgsRRmWoJVY-kXOiJH_wTTo75oSpSVDyryrriiG2PqtvVx9EJtUTMnH7QVqQ7ng8KMQOv3Df10Quj2OS0TNzXvph4kIvvATQhIIMdu0fPO-qaVerC8pRBf3M0HIn-MHcLXHf9fZqOG05JIrERNBMuY5dRx6BiTC-N2XumlpRbC6J5GjbWObqdREeTzjY0aUIGxJaudEiNA0A; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 1,\n    \"itemsCount\": 1,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": \"1494891\",\n            \"InternalOrderID\": 49746,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000182\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000611\",\n            \"Status\": \"ADDED\",\n            \"Finished\": false,\n            \"FinishedDate\": null,\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-02T09:38:26.42\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-08-02T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62831\",\n            \"SupplierName\": \"Second Palet & Product S.R.L.\",\n            \"SupplierExternalID\": \"123225\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1502,\n                    \"LineNumber\": \"2\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 200,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 34,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1501,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 500,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 29,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                }\n            ]\n        }\n    ]\n}"},{"id":"0b730010-0966-434b-ab36-332ffcd24e46","name":"Export - by External ID","originalRequest":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/outbounds/14492255"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8Pji1Cc5OGRLmkw-8La_HK9w8MESknLT3k0VO00GuGAgzLroqWQQrFLAVKxOt2wDv5xle0apBjt7kUMhZUD9psAXnzSCZoRM_LYR6cFNtfejy3f7rXEAyofKsgXrEMocudrGbJr6FIydiVFipuf8vJEK8KuxefapreKkXMox5zj5_rhgUNjAiAScf-be6VODSlJJiQVHPzoGBZHyah0HLK1yJ2mqkGGftS2kTz6cCGZJtBpXIu2VYavCp2cjLmcdocuSrf0pKut_ditaxNbZ6YsfU6KwVALIinFpskulCzc8HfsCfiCkfWMApe5_10Ru3Ci4gqfQuAn4DUV7xzLcV6Kv1EPOmeCrsWB7EB2cjesK41bAnBoaaIFNCW60Xyo3UeUDb4FvVyQUZ-98PC-RHMqgfJx6JusXy97o68ezbmFv3AYfkOB9BsxLajRZyDDx4YT9Pl-prWhP62c-bEJwp_IOwo_dH5BFFJcgEALiHN5PbBA9_9Ohb7-KLvhO1Vl14dPxvHaESd2vFrdsv7vGOKckgQnULS9R_1dorq81P9t3vkHv1EBmWAwJ3I8OJsni4m25uMp5NeLuuXTtVzIQuBTSU_u2mIn6MTHJZ6qpira3FSVH8lqLykCZOZSaPAhmCjAKng2fmRZXFzAic4glk0rqLxiyeW4d_a_L_AdluCHuYeXchVzxbl7u_HU83pz0it8tFi8NYs-G53CNmGgmFIj2HJh0pbpt1LiCB_4xwcT9m8EO9v_xVKT0_Yj76BU7MUNrFBCXBQl8Wtcs4Gyf4H4p_0NP3HWsCDcVE9RW7tvvsw-B0eeBcuYV9llMnqVxEcSsrLZd7g67O9r4ujcxVNk; path=/; secure; samesite=lax; httponly"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2024 08:38:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 1,\n    \"itemsCount\": 1,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": \"14492255\",\n            \"InternalOrderID\": 10507,\n            \"OrderBatch\": null,\n            \"OrderNumber\": \"252393\",\n            \"InternalOrderBatch\": \"SO\",\n            \"InternalOrderNumber\": \"001511\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-09-03T11:33:36.567\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-09-03T11:33:36.567\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-09-03T09:30:16\",\n            \"PartnerOwnerCode\": \"CRAFT\",\n            \"PartnerOwnerName\": \"Craft Up\",\n            \"BeneficiaryCode\": \"12145567\",\n            \"BeneficiaryName\": \"Nicoleta Esanu\",\n            \"BeneficiaryExternalID\": \"12145567\",\n            \"BeneficiaryOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"OrderBacth\": []\n            },\n            \"Documents\": [\n                {\n                    \"Batch\": \"NT\",\n                    \"Number\": \"1264\",\n                    \"Date\": \"2024-09-03T11:33:36.553\",\n                    \"Type\": \"Delivery note\"\n                }\n            ],\n            \"AWBs\": [\n                {\n                    \"Code\": \"80926479028\",\n                    \"AWBURL\": \"https://easy-sales.com/shipments/ccd30b22-4585-4425-b10d-8fab623f1b2a/awb\",\n                    \"AWBTrackingURL\": \"https://easy-sales.com/shipments/ccd30b22-4585-4425-b10d-8fab623f1b2a/awb-tracking\",\n                    \"Date\": \"2024-09-03T11:33:36.54\",\n                    \"FinalCourier\": null,\n                    \"Weight\": 0,\n                    \"ParcelsCount\": 0\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 86612,\n                    \"LineNumber\": \"001\",\n                    \"ItemCode\": \"SCORG79-mov\",\n                    \"ItemName\": \"Săculeți organza cu șnur satin 7x9cm (set 100 buc) - Mov\",\n                    \"OrderedQuantity\": 4,\n                    \"DeliveredQuantity\": 4,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 31.01,\n                    \"InternalItemID\": 22339,\n                    \"ExternalItemID\": \"10693\",\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"10507001\",\n                            \"SSCC\": \"01234567800000004\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 4\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 86613,\n                    \"LineNumber\": \"002\",\n                    \"ItemCode\": \"BADOGLU1815whi\",\n                    \"ItemName\": \"Bandă adezivă cu doua fețe - alb (set 16 role) 1.8cm x 15m\",\n                    \"OrderedQuantity\": 1,\n                    \"DeliveredQuantity\": 1,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 41.93,\n                    \"InternalItemID\": 23822,\n                    \"ExternalItemID\": \"214584\",\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"10507001\",\n                            \"SSCC\": \"01234567800000004\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 1\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"b4953353-3e88-47f3-9f3f-8b81fa54f305"},{"name":"Export - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"d9aee659-e443-40c3-9565-19bf5f315e9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/outbounds?id=47200","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outbounds"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"47200"}],"variable":[]}},"response":[],"_postman_id":"d9aee659-e443-40c3-9565-19bf5f315e9a"},{"name":"Export states - by External ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"64c3c034-2f94-4426-af9a-daeb516d9973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/outboundsstates/1494891","description":"<h3 id=\"get-outbound-orders-states\">Get Outbound Orders States</h3>\n<p>This endpoint allows you to retrieve informations about outbound orders states from WMS. The HTTP POST request should be sent to <strong><code>[app URL]/api/wms/export/outboundsstates</code></strong> with filtering parameters.</p>\n<p>The endpoint will return records in pages with a maximum 50 records. The page number can be specified.</p>\n<h3 id=\"filtering-parameters\">Filtering parameters</h3>\n<p>The endpoint accepts the same filters like Outbound Orders Info endpoint</p>\n<h2 id=\"response\">Response</h2>\n<p>The response body will be in JSON format with following structure:</p>\n<ul>\n<li><p><code>totalItems</code> (<em>int</em>): total number of records after applying filters.</p>\n</li>\n<li><p><code>itemsCount</code> (<em>int</em>): the number of records returned in current response.</p>\n</li>\n<li><p><code>page</code> (<em>int</em>): current page number</p>\n</li>\n<li><p><code>data</code> (<em>json array</em>): data payload.</p>\n</li>\n</ul>\n<p>Orders data has the folowind properties:</p>\n<ul>\n<li><p><code>InternalOrderID</code> (<em>int</em>): The order ID from WMS.</p>\n</li>\n<li><p><code>Status</code> (<em>string</em>): the order status. An order can have following the statuses from bellow</p>\n</li>\n<li><p><code>Finished</code> (<em>bool</em>): Specify that the order is finished or not.</p>\n</li>\n<li><p>Cancelled (<em>bool</em>): Specify that the order is cancelled or not.</p>\n</li>\n<li><p><code>StatusDate</code> (datetime): The date when the order state was changed.</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ADDED</td>\n<td>Order is added but can be still modified</td>\n</tr>\n<tr>\n<td>CONFIRMED</td>\n<td>Order is added, cannot be modified and waiting to be allocated for processing</td>\n</tr>\n<tr>\n<td>ACTIVATED</td>\n<td>Order is activated and is waiting to be picked up in a short time</td>\n</tr>\n<tr>\n<td>INPICKING</td>\n<td>Order is taken to picking and will be finished in a short time.</td>\n</tr>\n<tr>\n<td>INCHECKING</td>\n<td>Order is picked up andwaiting for checking process.</td>\n</tr>\n<tr>\n<td>FINISHED</td>\n<td>Order is finished  <br />This is a final state of an order.</td>\n</tr>\n<tr>\n<td>LOADEDINTRANSPORT</td>\n<td>Order pallets/boxes are loaded into a truck for delivery</td>\n</tr>\n<tr>\n<td>DELIVERED</td>\n<td>Order is delivered to final customer.</td>\n</tr>\n<tr>\n<td>RETURNED</td>\n<td>Order is returned back to warehouse.</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Order is cancelled</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outboundsstates","1494891"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"4be5041d-fc57-4570-9710-8e4cbca6848e","name":"Inbounds - Export - by External ID","originalRequest":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/inbounds/1494891"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:21:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3HtKoYzezmKaJ29Lk4Lzr0VckYtC6pu7JM0yI6Drx1DE2BXQSzkpNHsIcLSPH9fgRAGKu780TOBghvOT4dZiIo2CY6ehOE-zUs5u1lKWmlJbTsNeErpFoci7k2gSIQKnP2-dZpgiE9MhuToK6SjVJmfKOb1qHB0IUEL0hX7420nQ_UYBbc9d40u5KrbchnWzXQEkb9ZZa-sjEG3FokBWmlMzuAcQGm9n7ZYrR70XGBZZrsrt8ent258RnoZxey6URkXii8NBegFvrd6fyVOforayGWU6ThlRqfblZ7oyof4V3RnUhpyDxem25bp1Tc_eTedMigrS8Uq0IRHjUo2PXvXT86LLBd7V5wFbBw7e64PjfqCK2s-fDTcAFRQJmLm03SIpgBgmwZbTfGHyrPErZs-SaNZS2BYxg7l99HEpQxeGM1GD3HIgbCz8FkYYDhr8kegW7wgoBXDlQ9k5km3hCUhKV4Zct-0DO8TTBKc5PrtFtAbhPI01ae2_8rhxL0dBaDzj6rXlZ4SU1wieNG_piHpp3mA8rz-6jQrQedXqPNyjGhbW_Z4WJBxDdTB3pDcsrVyT6yJl8T8-qTBslYsgdfGG_qzHvwGGDSj78CEFUVxDC13bxRPMTsqgsRRmWoJVY-kXOiJH_wTTo75oSpSVDyryrriiG2PqtvVx9EJtUTMnH7QVqQ7ng8KMQOv3Df10Quj2OS0TNzXvph4kIvvATQhIIMdu0fPO-qaVerC8pRBf3M0HIn-MHcLXHf9fZqOG05JIrERNBMuY5dRx6BiTC-N2XumlpRbC6J5GjbWObqdREeTzjY0aUIGxJaudEiNA0A; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 1,\n    \"itemsCount\": 1,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": \"1494891\",\n            \"InternalOrderID\": 49746,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000182\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000611\",\n            \"Status\": \"ADDED\",\n            \"Finished\": false,\n            \"FinishedDate\": null,\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-02T09:38:26.42\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-08-02T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62831\",\n            \"SupplierName\": \"Second Palet & Product S.R.L.\",\n            \"SupplierExternalID\": \"123225\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1502,\n                    \"LineNumber\": \"2\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 200,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 34,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1501,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"AM.00001\",\n                    \"ItemName\": \"PALET EURO\",\n                    \"OrderedQuantity\": 500,\n                    \"ReceivedQuantity\": 0,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 29,\n                    \"InternalItemID\": 30089,\n                    \"ExternalItemID\": \"34252\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [],\n                    \"StockUnits\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"64c3c034-2f94-4426-af9a-daeb516d9973"},{"name":"Export - using filters","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"366286cd-a02a-4c26-87c2-99cf3430f151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ExternalIDs\": [\r\n        \"FRISBO_ORDER_2286976\",\r\n        \"FRISBO_ORDER_2286996\",\r\n        \"FRISBO_ORDER_2286993\",\r\n        \"FRISBO_ORDER_2286995\",\r\n        \"FRISBO_ORDER_2286998\",\r\n        \"FRISBO_ORDER_2287091\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/outbounds","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outbounds"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"35e8290b-9aab-4eef-b74c-57fee6ee4ac4","name":"Inbounds - Export - using filters","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-07-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inbounds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:22:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3GpNAJ9c4zhwSBBTPkruHI6PPzwN4za0umO__dWaidaejn4mAua1ED16GAviQWyOhDhmxhVv6J_blT00d50P8fC8wqCmVsxNCFJi4aeE6mAVPv3Da8g36IycgI4Q4yRClPO7gweo-2aClMawSlhXL7yH-0qMx-d_awpXpghMpOrhMAmMbHm8DBh5XTGinPZsgFetmXhK4CJrD07hFvxxMicI_-cYaZXf6LxZiWtsLYnb2c3jQGuCc0GvowLCixgDDMshoGkAbNy3cS99ldL3ItO61NfE00Pd3tMgy-kTvEX9l90pDsJUR1SDXSigYlXdOIqFOlC0R6Kgg0-KqqWNOEYUdX0kipGRf38qDgI4e2dUn3whVOgaWBjDJZYQB9OPd9vf1ReU16ElVBJcPmP6jdaDRemPb4TPcBJps1iAheWGMu5EJMvyAZ6n0fx74_wNJEiIyspKWodvG97EyM6Ffs7wthigRv60erqq_s2dtqdGD7lgGIhgwahUXaoL93r1jBNSCw8ByeEVOeoNX0hByYpwIolRmr-cYReXp45ED1T8rRMIk0r9IwwF8CWG7Trtm2xQEt7hXHbJZEKHyXT_wRt-accbHkp3iVBKftKrjk20t_unpZTkhs5_YQTllsykFKbmtcKu5rDCY3pLtJWnh7yYTeYbS4qWilP3KOL4lGW8xuAmKW7mxyl2SVgZR1AxeunVDkVGrn4DkmyiCZX_U6kfPLejKxuPbFEw8C-Q1pClZ8JYywBgdUOBQ6U24LsQcBhLerS7MsVGCITH879EH6Jdt0irVjYA3bxWT_cNA8g8QaiVin39R-PMZgH_v0goaQ; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 7,\n    \"itemsCount\": 7,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 49137,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000605\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-08-01T11:00:48.077\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-01T11:00:48.077\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-31T09:40:17\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"257\",\n                    \"Date\": \"2024-08-01T11:00:48.113\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1488,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003424\",\n                            \"SSCC\": \"05949060234244\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1487,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003429\",\n                            \"SSCC\": \"05949060234299\",\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 37744,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000583\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-12T12:23:51.413\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-12T12:23:51.413\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-12T12:21:16\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"254\",\n                    \"Date\": \"2024-07-12T12:23:51.463\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1438,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003436\",\n                            \"SSCC\": \"05949060234367\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 33113,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000571\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:37:04.44\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:37:04.44\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-04T12:35:08\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"253\",\n                    \"Date\": \"2024-07-04T12:37:04.447\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1416,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000931\",\n                            \"SSCC\": \"059490602009314\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32572,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000569\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:33:42.493\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:33:42.493\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-02T13:29:28\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"252\",\n                    \"Date\": \"2024-07-04T12:33:42.523\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1413,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 400,\n                    \"ReceivedQuantity\": 400,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1412,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0008\",\n                    \"ItemName\": \"Sevetele\",\n                    \"OrderedQuantity\": 300,\n                    \"ReceivedQuantity\": 300,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21969,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": \"1464486\",\n            \"InternalOrderID\": 32050,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000149\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000568\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-15T10:42:34.957\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-15T10:42:34.957\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62724\",\n            \"SupplierName\": \"Moara Dimbovita S.R.L.\",\n            \"SupplierExternalID\": \"117805\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"255\",\n                    \"Date\": \"2024-07-15T10:42:34.98\",\n                    \"Type\": \"Goods receipt slip\"\n                },\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"256\",\n                    \"Date\": \"2024-07-15T11:51:09.937\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1411,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"MP.00050\",\n                    \"ItemName\": \"Faina de grau\",\n                    \"OrderedQuantity\": 4400,\n                    \"ReceivedQuantity\": 8000,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 1.7,\n                    \"InternalItemID\": 29284,\n                    \"ExternalItemID\": \"44499\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003435\",\n                            \"SSCC\": \"05949060234350\",\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"Code\": \"SU00000003434\",\n                            \"SSCC\": \"05949060234343\",\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32006,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000567\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T12:04:25.673\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T12:04:25.673\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:46:13\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"IDL\",\n            \"SupplierName\": \"Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"251\",\n                    \"Date\": \"2024-07-01T12:04:25.697\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1410,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"44536\",\n                    \"ItemName\": \"Miere \",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21965,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000923\",\n                            \"SSCC\": \"059490602009235\",\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32002,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000566\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T10:28:30.827\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T10:28:30.827\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:14:14\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"250\",\n                    \"Date\": \"2024-07-01T10:28:30.867\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1409,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 1200,\n                    \"ReceivedQuantity\": 1200,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000920\",\n                            \"SSCC\": \"059490602009208\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 1200\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"366286cd-a02a-4c26-87c2-99cf3430f151"},{"name":"Export states - by Internal WMS ID","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"07e8aeab-d3e3-4c8c-9bc0-48e7b7c6c5d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://[app_url]/api/wms/export/outboundsstates?id=47200","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outboundsstates"],"host":["https://[app_url]/api"],"query":[{"key":"id","value":"47200"}],"variable":[]}},"response":[],"_postman_id":"07e8aeab-d3e3-4c8c-9bc0-48e7b7c6c5d3"},{"name":"Export states - using filters","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"566922dd-d0de-4c62-880e-2f4828b455af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-01-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/outboundsstates","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","export","outboundsstates"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[{"id":"28cf2c53-c4f6-421b-942f-ed5a57f8c46e","name":"Inbounds - Export - using filters","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"startDate\": \"2024-07-01\",\r\n    \"endDate\": \"2024-08-01\",\r\n    \"finished\": 1,\r\n    \"page\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/export/inbounds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Aug 2024 15:22:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Cookies=CfDJ8PZuUphKsVtOl0vZx4UTD3GpNAJ9c4zhwSBBTPkruHI6PPzwN4za0umO__dWaidaejn4mAua1ED16GAviQWyOhDhmxhVv6J_blT00d50P8fC8wqCmVsxNCFJi4aeE6mAVPv3Da8g36IycgI4Q4yRClPO7gweo-2aClMawSlhXL7yH-0qMx-d_awpXpghMpOrhMAmMbHm8DBh5XTGinPZsgFetmXhK4CJrD07hFvxxMicI_-cYaZXf6LxZiWtsLYnb2c3jQGuCc0GvowLCixgDDMshoGkAbNy3cS99ldL3ItO61NfE00Pd3tMgy-kTvEX9l90pDsJUR1SDXSigYlXdOIqFOlC0R6Kgg0-KqqWNOEYUdX0kipGRf38qDgI4e2dUn3whVOgaWBjDJZYQB9OPd9vf1ReU16ElVBJcPmP6jdaDRemPb4TPcBJps1iAheWGMu5EJMvyAZ6n0fx74_wNJEiIyspKWodvG97EyM6Ffs7wthigRv60erqq_s2dtqdGD7lgGIhgwahUXaoL93r1jBNSCw8ByeEVOeoNX0hByYpwIolRmr-cYReXp45ED1T8rRMIk0r9IwwF8CWG7Trtm2xQEt7hXHbJZEKHyXT_wRt-accbHkp3iVBKftKrjk20t_unpZTkhs5_YQTllsykFKbmtcKu5rDCY3pLtJWnh7yYTeYbS4qWilP3KOL4lGW8xuAmKW7mxyl2SVgZR1AxeunVDkVGrn4DkmyiCZX_U6kfPLejKxuPbFEw8C-Q1pClZ8JYywBgdUOBQ6U24LsQcBhLerS7MsVGCITH879EH6Jdt0irVjYA3bxWT_cNA8g8QaiVin39R-PMZgH_v0goaQ; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalItems\": 7,\n    \"itemsCount\": 7,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 49137,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000605\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-08-01T11:00:48.077\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-08-01T11:00:48.077\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-31T09:40:17\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"257\",\n                    \"Date\": \"2024-08-01T11:00:48.113\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1488,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003424\",\n                            \"SSCC\": \"05949060234244\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1487,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003429\",\n                            \"SSCC\": \"05949060234299\",\n                            \"BatchCode\": \"233\",\n                            \"ExpireDate\": \"2025-03-22T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 37744,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000583\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-12T12:23:51.413\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-12T12:23:51.413\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-12T12:21:16\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"254\",\n                    \"Date\": \"2024-07-12T12:23:51.463\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1438,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003436\",\n                            \"SSCC\": \"05949060234367\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 33113,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000571\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:37:04.44\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:37:04.44\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-04T12:35:08\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"253\",\n                    \"Date\": \"2024-07-04T12:37:04.447\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1416,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0007\",\n                    \"ItemName\": \"Hartie A4\",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21968,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000931\",\n                            \"SSCC\": \"059490602009314\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32572,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000569\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-04T12:33:42.493\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-04T12:33:42.493\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-02T13:29:28\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"252\",\n                    \"Date\": \"2024-07-04T12:33:42.523\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1413,\n                    \"LineNumber\": \"00020\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 400,\n                    \"ReceivedQuantity\": 400,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                },\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1412,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"C0008\",\n                    \"ItemName\": \"Sevetele\",\n                    \"OrderedQuantity\": 300,\n                    \"ReceivedQuantity\": 300,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21969,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000929\",\n                            \"SSCC\": \"059490602009299\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 100\n                        },\n                        {\n                            \"Code\": \"SU00000000930\",\n                            \"SSCC\": \"059490602009305\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 200\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": \"1464486\",\n            \"InternalOrderID\": 32050,\n            \"OrderBatch\": \"6027\",\n            \"OrderNumber\": \"CTPF-00000149\",\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000568\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-15T10:42:34.957\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-15T10:42:34.957\",\n            \"WarehouseCode\": \"DC\",\n            \"WarehouseName\": \"Central warehouse\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T00:00:00\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"F.62724\",\n            \"SupplierName\": \"Moara Dimbovita S.R.L.\",\n            \"SupplierExternalID\": \"117805\",\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": {\n                \"disc1prc\": [],\n                \"disc1val\": []\n            },\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"255\",\n                    \"Date\": \"2024-07-15T10:42:34.98\",\n                    \"Type\": \"Goods receipt slip\"\n                },\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"256\",\n                    \"Date\": \"2024-07-15T11:51:09.937\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1411,\n                    \"LineNumber\": \"1\",\n                    \"ItemCode\": \"MP.00050\",\n                    \"ItemName\": \"Faina de grau\",\n                    \"OrderedQuantity\": 4400,\n                    \"ReceivedQuantity\": 8000,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": 1.7,\n                    \"InternalItemID\": 29284,\n                    \"ExternalItemID\": \"44499\",\n                    \"AuxValues\": {\n                        \"DISC1PRC_1\": []\n                    },\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000003435\",\n                            \"SSCC\": \"05949060234350\",\n                            \"BatchCode\": \"12\",\n                            \"ExpireDate\": \"2026-01-12T00:00:00\",\n                            \"Quantity\": 4000\n                        },\n                        {\n                            \"Code\": \"SU00000003434\",\n                            \"SSCC\": \"05949060234343\",\n                            \"BatchCode\": \"10258\",\n                            \"ExpireDate\": \"2026-10-10T00:00:00\",\n                            \"Quantity\": 4000\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32006,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000567\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T12:04:25.673\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T12:04:25.673\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:46:13\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"IDL\",\n            \"SupplierName\": \"Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"251\",\n                    \"Date\": \"2024-07-01T12:04:25.697\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1410,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"44536\",\n                    \"ItemName\": \"Miere \",\n                    \"OrderedQuantity\": 100,\n                    \"ReceivedQuantity\": 100,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 21965,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [\n                        {\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000923\",\n                            \"SSCC\": \"059490602009235\",\n                            \"BatchCode\": \"1022\",\n                            \"ExpireDate\": \"2027-10-10T00:00:00\",\n                            \"Quantity\": 100\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"ExternalID\": null,\n            \"InternalOrderID\": 32002,\n            \"OrderBatch\": null,\n            \"OrderNumber\": null,\n            \"InternalOrderBatch\": \"PO\",\n            \"InternalOrderNumber\": \"000566\",\n            \"Status\": \"FINISHED\",\n            \"Finished\": true,\n            \"FinishedDate\": \"2024-07-01T10:28:30.827\",\n            \"Cancelled\": false,\n            \"CurrentStateDate\": \"2024-07-01T10:28:30.827\",\n            \"WarehouseCode\": \"DC-IDL\",\n            \"WarehouseName\": \"DEPOZIT IDEALOG\",\n            \"IsReturn\": false,\n            \"OrderDate\": \"2024-07-01T10:14:14\",\n            \"PartnerOwnerCode\": \"IDL\",\n            \"PartnerOwnerName\": \"Idealog\",\n            \"SupplierCode\": \"116096\",\n            \"SupplierName\": \"Furnizor Idealog\",\n            \"SupplierExternalID\": null,\n            \"SupplierOrderNumber\": null,\n            \"Comments1\": null,\n            \"AuxValues\": null,\n            \"Documents\": [\n                {\n                    \"Batch\": \"GRS\",\n                    \"Number\": \"250\",\n                    \"Date\": \"2024-07-01T10:28:30.867\",\n                    \"Type\": \"Goods receipt slip\"\n                }\n            ],\n            \"OrderLines\": [\n                {\n                    \"ExternalLineID\": null,\n                    \"InternalLineID\": 1409,\n                    \"LineNumber\": \"00010\",\n                    \"ItemCode\": \"CT000\",\n                    \"ItemName\": \"Cutie carton 60 CM\",\n                    \"OrderedQuantity\": 1200,\n                    \"ReceivedQuantity\": 1200,\n                    \"QuantityDamaged\": 0,\n                    \"Price\": null,\n                    \"InternalItemID\": 35358,\n                    \"ExternalItemID\": null,\n                    \"AuxValues\": null,\n                    \"Batches\": [],\n                    \"StockUnits\": [\n                        {\n                            \"Code\": \"SU00000000920\",\n                            \"SSCC\": \"059490602009208\",\n                            \"BatchCode\": null,\n                            \"ExpireDate\": null,\n                            \"Quantity\": 1200\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"566922dd-d0de-4c62-880e-2f4828b455af"}],"id":"ea4c3537-1e58-4157-9898-05a070cf270a","_postman_id":"ea4c3537-1e58-4157-9898-05a070cf270a","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}},{"name":"Others","item":[{"name":"Import persons","event":[{"listen":"test","script":{"id":"a3686005-3568-4222-87ac-24f9c95d5319","exec":["\r","pm.test(\"Response status code is 202\", function () {\r","    pm.expect(pm.response.code).to.equal(202);\r","});\r","\r","\r","pm.test(\"Response Content-Type header is text/xml\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"text/xml\");\r","});\r","\r","\r","pm.test(\"Response body is null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Verify that the response body is empty or null\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.null;\r","});\r","\r","\r","pm.test(\"Response time is within acceptable range\", function () {\r","  pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"348858df-0056-48ab-b5db-f7a81b158fba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"ExternalID\": \"206198\",\r\n    \"Code\": \"206198\",\r\n    \"FirstName\": \"person first name\",\r\n    \"LastName\": \"person last name\",\r\n    \"Email\": \"email@gmail.com\",\r\n    \"PhoneNumber\": \"0741111111\",\r\n    \"Username\": \"username\",\r\n    \"JobTitle\": \"Sales agent\"\r\n  }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://[app_url]/api/wms/persons","description":"<p>This endpoint allows you to create new or update persons in the WMS. The HTTP POST request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/persons\">[app URL]/api/wms/persons</a> with the necessary persons details in the request body.</p>\n<p>If API user have rigths to multiple partners owner, the request should be sent to <a href=\"https://apitest.idealog.ro/api/wms/persons/partnerOwnerCode\">[app URL]/api/wms/persons/[partner owner code]</a></p>\n<blockquote>\n<p>Records are not immediatelly created. The information are stored in a buffer and processed after. On processing, if some errors found, an application admin will be adviced.<br />If is required to process data immediately, query parameter <code>sync=true</code> must be sent. If it is required to process data immediately, query parameter sync=true must be sent. In this case:<br />- if an error result on import, data will not be saved in the buffer<br />- a limit of 1000 recors is set </p>\n</blockquote>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in json format and should include the following parameters ([M] - mandatory):</p>\n<ul>\n<li><p>Code (string): The code of the person [M]</p>\n</li>\n<li><p>FirstName (string): The first name of the person [M]</p>\n</li>\n<li><p>LastName (string): The last name of the person [M]</p>\n</li>\n<li><p>Email (string): The email address of the person.</p>\n</li>\n<li><p>PhoneNumber (string): The phone number address of the person.</p>\n</li>\n<li><p>JobTitle (string): The job title of the person.</p>\n</li>\n<li><p>Username (string): The username of the person.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the endpoint returns a status code of 202 (Accepted) with a null response.</p>\n<p>If <code>sync=true</code> query parameter is sent, in case of success the endpoint returns a status code of 200 (Ok) with a response that contains ExternalID and InternalID information:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n     \"ExternalID\": \"41291\",\n     \"InternalID\": 32953\n   }\n]\n\n</code></pre>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}},"urlObject":{"path":["wms","persons"],"host":["https://[app_url]/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"348858df-0056-48ab-b5db-f7a81b158fba"}],"id":"aff1689b-364a-416d-ac8a-3c128ef43324","_postman_id":"aff1689b-364a-416d-ac8a-3c128ef43324","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]},"isInherited":true,"source":{"_postman_id":"d979cc20-0804-44d8-bf76-4622a62976e4","id":"d979cc20-0804-44d8-bf76-4622a62976e4","name":"Idealog API - WMS","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username"},{"key":"password","value":"password"}]}},"event":[{"listen":"prerequest","script":{"id":"3f088d8b-0a04-4946-93bd-3d8ef8968a61","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"8738f313-d0dc-4f8b-b02f-713017547f88","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"APIURL","value":"https://[app_url]/"},{"key":"UserName","value":"username"},{"key":"Password","value":"password"}]}