{"info":{"_postman_id":"115e4ea8-9cc5-435e-95e8-7886460a82b5","name":"DMI Customer","description":"<html><head></head><body><p>Here you will find the documentation to integrate into&nbsp;<strong>DMI API for Clients</strong>&nbsp;, through our API.</p>\n<p>Endpoint : <a href=\"https://api.dmi.es\"><b>https://api.dmi.es</b></a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29072334","collectionId":"115e4ea8-9cc5-435e-95e8-7886460a82b5","publishedId":"2s9YytgLGY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"829B36"},"publishDate":"2024-04-30T14:25:56.000Z"},"item":[{"name":"A D M I N","item":[{"name":"GetAdminPanel","event":[{"listen":"test","script":{"id":"00feb2a6-df70-4c29-a60c-03586af040eb","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 1sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(1000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript"}}],"id":"5fa2a87f-06ea-4453-8c9a-787d1d6aeb84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/WebAPI/GetAdminPanelConfiguration","description":"<p>Use this <em><strong>endpoint</strong></em> to check the current status of the Catalog Administration Panel.</p>\n<p><em>Admin &gt; endpoint</em>: GET Products</p>\n","urlObject":{"protocol":"https","path":["api","v2","WebAPI","GetAdminPanelConfiguration"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"93682264-5f22-4aee-a915-545bc65a8664","name":"GetAdminPanel","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/WebAPI/GetAdminPanelConfiguration"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 28 Jun 2024 18:34:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"use_id\": 21375,\n    \"isActive\": true,\n    \"lastUsageDate\": \"2023-12-20T06:27:14.903\",\n    \"marketingText\": true,\n    \"wholesalePrice\": true,\n    \"logistics\": true,\n    \"mainimage\": true,\n    \"reasonsToBuy\": true,\n    \"bullet\": true,\n    \"disclaimer\": true,\n    \"media\": true,\n    \"option\": true,\n    \"importantDates\": true,\n    \"specifications\": true,\n    \"stories\": true\n}"}],"_postman_id":"5fa2a87f-06ea-4453-8c9a-787d1d6aeb84"},{"name":"SetAdminPanelConfiguration","event":[{"listen":"test","script":{"id":"1fabfd0f-5db4-4db5-a7a2-d89e2a21f1f0","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 1sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(1000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"65f85dcb-ad69-484a-91a5-4120bc6fc95b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"isActive\": true,\r\n\"lastUsageDate\": \"2023-12-20T06:27:14.903\",\r\n\"downloadProductsOnDemand\": true,\r\n\"obsoleteProducts\": false,\r\n\"marketingText\": true,\r\n\"wholesalePrice\": true,\r\n\"logistics\": true,\r\n\"mainimage\": true,\r\n\"reasonsToBuy\": true,\r\n\"bullet\": true,\r\n\"disclaimer\": true,\r\n\"media\": true,\r\n\"option\": true,\r\n\"importantDates\": true,\r\n\"specifications\": true,\r\n\"stories\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/WebAPI/SetAdminPanelConfiguration","description":"<p>When you modify fields in Admin, your are going to <strong>change the information that you receive</strong> from [GET PRODUCTS] endpoint.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>use_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>User id</td>\n</tr>\n<tr>\n<td>isActive</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>¿Active?</td>\n</tr>\n<tr>\n<td>lastUsageDate</td>\n<td>datetime</td>\n<td>No</td>\n<td>Last usage date</td>\n</tr>\n<tr>\n<td>downloadProductsOnDemand</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive the Products On Demand</td>\n</tr>\n<tr>\n<td>obsoleteProducts</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive the Products that are obsolete</td>\n</tr>\n<tr>\n<td>marketingText</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive the text made for the marketing of the product</td>\n</tr>\n<tr>\n<td>wholesalePrice</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If activated, you will receive the Prices in the Generic Catalog using the endpoint (*)</td>\n</tr>\n<tr>\n<td>logistics</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive product volumetrics, like weight, height and width.</td>\n</tr>\n<tr>\n<td>reasonsToBuy</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive marketing Reasons to buy</td>\n</tr>\n<tr>\n<td>extra</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive ReasonToBuy, Bullets, Disclaimers, Medias (All multimedia, videos, audios,etc.), Options (all product partnumbers) y Specifications (Atributos)</td>\n</tr>\n<tr>\n<td>mainimage</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>If true, you will receive the products main images</td>\n</tr>\n</tbody>\n</table>\n</div><p>(*) Endpoints like [Price Only], [Price &amp; Stock], and [Price &amp; Stock Performance] are so much lightweight and could be use every 5 minutes. We strongly recommend to download the Generic Catalog only one time in the day to search for new Products or import the Products for the first time.</p>\n","urlObject":{"protocol":"https","path":["api","v2","WebAPI","SetAdminPanelConfiguration"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"0cb22167-4a4b-4111-9815-3049ae989d72","name":"SetAdminPanelConfiguration","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"use_id\": 12962,\r\n\"isActive\": true,\r\n\"lastUsageDate\": \"2023-12-20T06:27:14.903\",\r\n\"downloadProductsOnDemand\": false,\r\n\"obsoleteProducts\": false,\r\n\"marketingText\": false,\r\n\"wholesalePrice\": false,\r\n\"logistics\": false,\r\n\"reasonsToBuy\": false,\r\n\"extra\": false,\r\n\"mainimage\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/WebAPI/SetAdminPanelConfiguration"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 31 Jan 2024 19:33:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"use_id\": 11123,\n    \"isActive\": true,\n    \"lastUsageDate\": \"2023-12-20T06:27:14.903\",\n    \"downloadProductsOnDemand\": false,\n    \"obsoleteProducts\": false,\n    \"marketingText\": false,\n    \"wholesalePrice\": false,\n    \"logistics\": false,\n    \"reasonsToBuy\": false,\n    \"extra\": false,\n    \"mainimage\": false\n}"}],"_postman_id":"65f85dcb-ad69-484a-91a5-4120bc6fc95b"}],"id":"3e3e77f0-703d-4e4e-b1a9-28af5f166fc9","description":"<p>Library for endpoint <strong>management.</strong></p>\n","_postman_id":"3e3e77f0-703d-4e4e-b1a9-28af5f166fc9"},{"name":"A U T H E N T I C A T E","item":[{"name":"Authenticate","event":[{"listen":"test","script":{"id":"c12ea2b2-035d-4004-b747-848210495c34","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 10s\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(10000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r","// Cargar variable , parsea la respuesta JSON\r","var json = JSON.parse(responseBody);\r","if (json && json.token) {\r","    pm.environment.set(\"token\", json.token);\r","} else {\r","    console.log(\"Error: No se encontró el token en la respuesta JSON\");\r","}\r",""],"type":"text/javascript"}}],"id":"d6b7c342-ee99-4a32-82e0-c2f86762dc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"{{login}}\",\r\n  \"password\": \"{{password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/users/authenticate","description":"<p>Use this <em><strong>endpoint</strong></em> to authenticate and receive the token to query other endpoints.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>Yes</td>\n<td>Customer login</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>Yes</td>\n<td>Customer password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","users","authenticate"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"bcad600c-de6f-4947-8ae1-10510cb41052","name":"Authenticate V2","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"{customer login}\",\r\n  \"password\": \"{customer password}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/users/authenticate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"1.0, 2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 31 Jan 2024 19:13:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"{TOKEN}\",\n    \"tokenExpiration\": \"2024-01-31T20:19:15.86\",\n    \"name\": \"{customer name}\",\n    \"company\": \"{customer company}\"\n}"}],"_postman_id":"d6b7c342-ee99-4a32-82e0-c2f86762dc9d"}],"id":"b660323c-e6d3-4949-b42a-23f5d2c8a7d9","description":"<p><strong>Library for authentication</strong> management .</p>\n<p><em>Registration in the system is required</em> .</p>\n","_postman_id":"b660323c-e6d3-4949-b42a-23f5d2c8a7d9"},{"name":"C U S T O M E R","item":[{"name":"GetAddress","event":[{"listen":"test","script":{"id":"9861ae2a-9bfb-4bce-8732-d4a851a3006e","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 1s\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(1000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript"}}],"id":"9b38dafb-1d58-4712-9bfc-d9bda03e0cf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.dmi.es/api/v2/Address/GetAddress","description":"<p>Use this <em><strong>endpoint</strong></em> to query the addresses associated with the client.</p>\n","urlObject":{"protocol":"https","path":["api","v2","Address","GetAddress"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"a12eff75-5aa3-4ad3-9903-ebb87d41db1a","name":"GetAddress","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.dmi.es/api/v2/Address/GetAddress"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"customerno\": \"{customer code}\",\r\n        \"code\": \"-\",\r\n        \"address\": \"\",\r\n        \"address2\": \"\",\r\n        \"city\": \"\",\r\n        \"contact\": \"\",\r\n        \"countryCode\": \"\",\r\n        \"county\": \"\",\r\n        \"email\": \"\",\r\n        \"name\": \"{contact name}\",\r\n        \"name2\": \"\",\r\n        \"phoneNo\": \"\",\r\n        \"postCode\": \"\",\r\n        \"fechaCreacion\": \"2020-10-09T13:48:49.28\",\r\n        \"desactivada\": 0,\r\n        \"validada\": 1\r\n    }\r\n]"}],"_postman_id":"9b38dafb-1d58-4712-9bfc-d9bda03e0cf2"},{"name":"GetCustomerInfo","event":[{"listen":"test","script":{"id":"a8766561-b5b4-4849-a32a-11fc90ad21fd","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 1s\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(1000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript"}}],"id":"705035aa-e695-4448-8c4d-e61562bfc8f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.dmi.es/api/v2/customer/GetCustomerInfo","description":"<p>Use this <em><strong>endpoint</strong></em> to query your customer data.</p>\n","urlObject":{"protocol":"https","path":["api","v2","customer","GetCustomerInfo"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"bcd2093e-3a26-4c8c-b575-7228a626db7d","name":"GetCustomerInfo Copy","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.dmi.es/api/v2/customer/GetCustomerInfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 01 Feb 2024 01:46:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"created\": \"2023-12-12T11:01:42.51\",\n    \"no\": \"{customer number}\",\n    \"code\": \"{customer code}\",\n    \"email\": \"{email}\",\n    \"name\": \"{customer name}\",\n    \"company\": \"{customer company}\",\n    \"salespersonCode\": \"{commercial assigned code}\",\n    \"salespersonName\": \"{commercial assigned name}\",\n    \"salespersonEmail\": \"{commercial assigned email}\",\n    \"salespersonPhone\": \"{commercial assigned phone}\"\n}"}],"_postman_id":"705035aa-e695-4448-8c4d-e61562bfc8f4"}],"id":"535b88ae-7189-48d1-8d92-c7e6aa76b1b8","description":"<p>Library for <strong>customer management</strong> .</p>\n","_postman_id":"535b88ae-7189-48d1-8d92-c7e6aa76b1b8"},{"name":"I N V O I C E S","item":[{"name":"QueryCreditMemos","event":[{"listen":"test","script":{"id":"a2830d3d-6a3c-4276-a0bf-d19afc2b948d","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"1d53368c-1046-4d3d-afbd-29dea4bac243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-10-29T00:00:00\",\r\n  \"endDate\": \"2024-10-29T23:59:00\"\r\n  //\"documentReference\": \"VFR24084471\"\r\n  //\"customerOrderCode\": \"PCCI2024101401\"\r\n}\r\n ","options":{"raw":{"language":"json"}}},"url":"{{Server}}/api/v2/invoice/queryinvoice","description":"<p>Use this <em><strong>endpoint</strong></em> to consult issued invoices.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StartDate</td>\n<td>datetime</td>\n<td>No</td>\n<td>ISO 8601 standard date and time format</td>\n</tr>\n<tr>\n<td>EndDate</td>\n<td>datetime</td>\n<td>No</td>\n<td>ISO 8601 standard date and time format</td>\n</tr>\n<tr>\n<td>CustomerOrderCode</td>\n<td>string</td>\n<td>No</td>\n<td>Customer order</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the ' StartDate</em> ' and ' <em>EndDate</em> ' parameters are empty, a list of the last 15 days is returned.</p>\n","urlObject":{"path":["api","v2","invoice","queryinvoice"],"host":["{{Server}}"],"query":[],"variable":[]}},"response":[{"id":"b039eadf-1c1a-4379-86d2-7e061be01b28","name":"Invoices","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"StartDate\": \"\",          // \"2024-02-01T00:00:00\"\r\n  \"EndDate\": \"\",            // \"2024-02-28T23:59:59\"\r\n  \"DocumentReference\": \"\"   // order customer  or  invoice\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/invoice/queryinvoice"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 01 Mar 2024 18:56:38 GMT"}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"type\": \"factura\",\r\n        \"headers\": [\r\n            {\r\n                \"documentNumber\": \"VFRxxxxxx\",\r\n                \"orderNumber\": \"VFRxxxxxx\",     //  invoice id\r\n                \"yourOrder\": \"PPCESxxxxxx\",     //  customerOrderCode\r\n                \"date\": \"2024-05-15T00:00:00\",\r\n                \"shipment\": \"24086356994936\",\r\n                \"shipmentLink\": \"https://www.seur.com/miseur/mis-envios/detalle?tracking=xxxxxxxx\",\r\n                \"amount\": \"183.19\"\r\n            }\r\n        ],\r\n        \"lineItems\": [\r\n            {\r\n                \"type\": \"Producto\",\r\n                \"articleCode\": \"MN54154261\",\r\n                \"partNumber\": \"9DG27F2-00-1ABEU\",\r\n                \"description\": \"MONITOR GAMING GIGABYTE G27F 2\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"999.00\",\r\n                \"linePrice\": \"999.40\",\r\n                \"warrantyEndDate\": \"2024-05-15T00:00:00\"\r\n            },\r\n            {\r\n                \"type\": \"Cuenta\",\r\n                \"articleCode\": \"7690000\",\r\n                \"partNumber\": \"\",\r\n                \"description\": \"Gastos Financieros\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"0\",\r\n                \"linePrice\": \"0\",\r\n                \"warrantyEndDate\": \"1753-01-01T00:00:00\"\r\n            },\r\n            {\r\n                \"type\": \"Producto\",\r\n                \"articleCode\": \"GESTION\",\r\n                \"partNumber\": \"\",\r\n                \"description\": \"GESTIÓN DROPSHIPPING\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"0\",\r\n                \"linePrice\": \"0\",\r\n                \"warrantyEndDate\": \"2024-05-15T00:00:00\"\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"type\": \"factura\",\r\n        \"headers\": [\r\n            {\r\n                \"documentNumber\": \"VFRxxxxxx\",\r\n                \"orderNumber\": \"VFRxxxxxx\",\r\n                \"yourOrder\": \"PPCESxxxxxxxxxx\",\r\n                \"date\": \"2024-05-15T00:00:00\",\r\n                \"shipment\": \"24086362994936\",\r\n                \"shipmentLink\": \"https://www.seur.com/miseur/mis-envios/detalle?tracking=xxxxxxxxxx\",\r\n                \"amount\": \"999.11\"\r\n            }\r\n        ],\r\n        \"lineItems\": [\r\n            {\r\n                \"type\": \"Producto\",\r\n                \"articleCode\": \"MN53175341\",\r\n                \"partNumber\": \"VA2715-2K-MHD\",\r\n                \"description\": \"MONITOR VIEWSONIC GAMING VA271\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"999.00\",\r\n                \"linePrice\": \"999.36\",\r\n                \"warrantyEndDate\": \"2024-05-15T00:00:00\"\r\n            },\r\n            {\r\n                \"type\": \"Cuenta\",\r\n                \"articleCode\": \"7690000\",\r\n                \"partNumber\": \"\",\r\n                \"description\": \"Gastos Financieros\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"0\",\r\n                \"linePrice\": \"0\",\r\n                \"warrantyEndDate\": \"1753-01-01T00:00:00\"\r\n            },\r\n            {\r\n                \"type\": \"Producto\",\r\n                \"articleCode\": \"GESTION\",\r\n                \"partNumber\": \"\",\r\n                \"description\": \"GESTIÓN DROPSHIPPING\",\r\n                \"quantity\": \"1\",\r\n                \"salePrice\": \"0\",\r\n                \"linePrice\": \"0\",\r\n                \"warrantyEndDate\": \"2024-05-15T00:00:00\"\r\n            }\r\n        ]\r\n    }\r\n]"}],"_postman_id":"1d53368c-1046-4d3d-afbd-29dea4bac243"}],"id":"41210697-981c-4b94-a48e-7e1db4e7aa37","description":"<p>Library for <strong>invoice management</strong>.</p>\n","_postman_id":"41210697-981c-4b94-a48e-7e1db4e7aa37"},{"name":"I S S U E S","item":[{"name":"issues","event":[{"listen":"test","script":{"id":"ed8413d2-19f6-4ffb-b9ed-eeaf278d9130","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","//pm.test(\"Check if response has format JSON\", function() {\r","    //pm.response.to.be.json;\r","//});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"ef01dd05-2ca7-4a10-a107-8a0b20483760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{customerCode}\",\r\n    \"incidentType\": 600,\r\n    \"comment\": \"Received damaged product\",\r\n    \"attachment\": \"base64_encoded_string_here\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"INV1234xxxx\",\r\n            \"productCode\": \"PROD001\",\r\n            \"quantity\": 2,\r\n            \"attachment\": \"base64_encoded_string_here\",\r\n            \"comment\": \"Product damaged\"\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"INV123xxxx\",\r\n            \"productCode\": \"PROD002\",\r\n            \"quantity\": 1,\r\n            \"attachment\": \"base64_encoded_string_here\",\r\n            \"comment\": \"Another damaged product\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/issues","description":"<p>This endpoint use for solicited a Products Issues:</p>\n<h3 id=\"root-object\">Root Object</h3>\n<ul>\n<li><strong>customerCode</strong>: <code>\"1234567890\"</code> - A unique identifier for the customer.</li>\n<li><strong>incidentType</strong>: <code>600</code> - A code representing the type of incident.</li>\n<li><strong>comment</strong>: <code>\"Received damaged product\"</code> - A general comment describing the incident.</li>\n<li><strong>attachment</strong>: <code>\"base64_encoded_string_here\"</code> - A base64 encoded string representing an attachment related to the incident.</li>\n</ul>\n<h3 id=\"line-object\">Line Object</h3>\n<ol>\n<li><strong>invoiceNumber</strong>: <code>\"INV123456\"</code> and <code>\"INV123457\"</code> - The unique identifier for the invoice associated with each product.</li>\n<li><strong>productCode</strong>: <code>\"PROD001\"</code> and <code>\"PROD002\"</code> - The code representing each product.</li>\n<li><strong>quantity</strong>: <code>2</code> and <code>1</code> - The quantity of each product reported in the incident.</li>\n<li><strong>attachment</strong>: <code>\"base64_encoded_string_here\"</code> - A base64 encoded string representing an attachment related to each specific product issue.</li>\n<li><strong>comment</strong>: <code>\"Product damaged\"</code> and <code>\"Another damaged product\"</code> - Comments providing additional details about each product issue.</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","AfterSales","issues"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"b5fa49e0-dcd3-42b1-a455-85eafad40c61","name":"issues","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{customerCode}\",\r\n    \"incidentType\": 600,\r\n    \"comment\": \"Received damaged product\",\r\n    \"attachment\": \"base64_encoded_string_here\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"INV1234xxxx\",\r\n            \"productCode\": \"PROD001\",\r\n            \"quantity\": 2,\r\n            \"attachment\": \"base64_encoded_string_here\",\r\n            \"comment\": \"Product damaged\"\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"INV123xxxx\",\r\n            \"productCode\": \"PROD002\",\r\n            \"quantity\": 1,\r\n            \"attachment\": \"base64_encoded_string_here\",\r\n            \"comment\": \"Another damaged product\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/issues"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 30 May 2024 21:00:37 GMT"}],"cookie":[],"responseTime":null,"body":"Incident registered successfully."}],"_postman_id":"ef01dd05-2ca7-4a10-a107-8a0b20483760"}],"id":"bde6d489-2af5-4197-87e8-3eadc08e3fcb","description":"<p>Endpoint repository for <strong>issues management</strong>.</p>\n","_postman_id":"bde6d489-2af5-4197-87e8-3eadc08e3fcb"},{"name":"O R D E R S","item":[{"name":"Create Order","event":[{"listen":"test","script":{"id":"19be192b-30cf-4091-9915-17cbcf536b94","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 3sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(3000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"0f9e64d2-6ed8-4271-bc84-59bd8ab91dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"isTest\": true,          // [required]   ¿Test mode? ^(true|false)$\r\n   \"shippingType\": 1,       // [required]   [1]Dropshipping, [2]Shipping to customer warehouse, [3]Pick up at DMI\r\n   \"CustomerOrderCode\":\"{Customer Order Code}\", // [required]   nvarchar(35) ^[0-9A-Za-z/-]+$\r\n   \"TransactionType\": \"Locked\",                 // [optional]   [Locked] validation by commercial, [Unlocked] automatic is default\r\n   \"lineItems\": [           //.[required]   \r\n       {\r\n           \"product\": \"PE10415035\",\r\n           \"quantity\": 1\r\n       }\r\n       ,{\r\n           \"product\": \"PE10415035\",\r\n           \"quantity\": 10\r\n       }\r\n   ],\r\n   \"shippingAddress\": {\r\n       \"addressLine1\": \"{addressLine1}\",// [required]   nvarchar(255) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ ,.º/\\\\]+$\r\n       \"addressLine2\": \"{addressLine2}\",// [optional]   nvarchar(255) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ ,.º/\\\\]+$\r\n       \"city\": \"{city}\",                // [required]   nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"contactName\": \"{contactName}\",  // [required]   nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"phoneNumber\": \"{phoneNumber}\",  // [required]   nvarchar(50)  ^[0-9/ +]+$\r\n       \"postalCode\": \"28500\",           // [required]   nvarchar(20)  ^[0-9A-Za-z\\s-]+$\r\n       \"isFinalCustomer\": true,         // [required]   bool          ^(true|false)$\r\n       \"addressName\": \"{addressName}\",  // [optional]   nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"CountryCode\": \"ES\",             // [optional]   nvarchar(10)  ^[A-Z]+$\r\n       \"Country\": \"SPAIN\",              // [optional]   nvarchar(50)  ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"EmailAddress\": \"{EmailAddress}\",// [required]   nvarchar(100) ^[0-9A-Za-z.@]+$\r\n       \"PhoneNumber2\": \"{PhoneNumber2}\" // [optional]   nvarchar(50)  ^[0-9 +]+$   \r\n   }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/orders/CreateOrder","description":"<p>With this <strong>endpoint,</strong> you could make orders in DMI Computer's system.<br />These Orders could containt one or more Product codes (SKU)</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>isTest</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Test mode</td>\n</tr>\n<tr>\n<td>shippingType</td>\n<td>integer</td>\n<td>Yes</td>\n<td>[1]: Dropshipping /  <br />[2]: Shipping to customer warehouse /  <br />[3]: Pick up at DMI</td>\n</tr>\n<tr>\n<td>CustomerOrderCode</td>\n<td>string(100)</td>\n<td>Yes</td>\n<td>Customer Custom Order Code</td>\n</tr>\n<tr>\n<td>TransactionType</td>\n<td>string</td>\n<td>No</td>\n<td>[1]: Locked /  <br />[2]: Unlocked (default)</td>\n</tr>\n<tr>\n<td>lineItems</td>\n<td>array</td>\n<td>Yes</td>\n<td></td>\n</tr>\n<tr>\n<td>lineItems.product</td>\n<td>string</td>\n<td>Yes</td>\n<td>DMI product code or SKU</td>\n</tr>\n<tr>\n<td>lineItems.quantity</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Quantity</td>\n</tr>\n<tr>\n<td>shippingAddress</td>\n<td>array</td>\n<td>Yes</td>\n<td></td>\n</tr>\n<tr>\n<td>shippingAddress.addressLine1</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's address</td>\n</tr>\n<tr>\n<td>shippingAddress.city</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's city</td>\n</tr>\n<tr>\n<td>shippingAddress.contactName</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's contact name</td>\n</tr>\n<tr>\n<td>shippingAddress.phoneNumber</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's phone</td>\n</tr>\n<tr>\n<td>shippingAddress.postalCode</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's postal code</td>\n</tr>\n<tr>\n<td>shippingAddress.isFinalCustomer</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>¿Is it the end customer?</td>\n</tr>\n<tr>\n<td>shippingAddress.EmailAddress</td>\n<td>string</td>\n<td>Yes</td>\n<td>Receptor's email</td>\n</tr>\n<tr>\n<td>shippingAddress.addressLine2</td>\n<td>string</td>\n<td>No</td>\n<td>Receptor's address 2</td>\n</tr>\n<tr>\n<td>shippingAddress.addressName</td>\n<td>string</td>\n<td>No</td>\n<td>Receptor's name address</td>\n</tr>\n<tr>\n<td>shippingAddress.CountryCode</td>\n<td>string</td>\n<td>No</td>\n<td>Receptor's country code</td>\n</tr>\n<tr>\n<td>shippingAddress.Country</td>\n<td>string</td>\n<td>No</td>\n<td>Receptor's country</td>\n</tr>\n<tr>\n<td>shippingAddress.PhoneNumber2</td>\n<td>string</td>\n<td>No</td>\n<td>Receptor's phone 2</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>(*) In test mode to true, the duplicate order check (CustomerOrderCode) is not performed.</em></p>\n","urlObject":{"protocol":"https","path":["api","v2","orders","CreateOrder"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"22b21334-3959-4bd6-9463-250080d142a8","name":"Create Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"isTest\": true,          // ¿Test mode? ^(true|false)$\r\n   \"shippingType\": 1,       // [1]Dropshipping, [2]Shipping to customer warehouse, [3]Pick up at DMI\r\n   \"CustomerOrderCode\":\"{Customer code}\",   //nvarchar(35) ^[0-9A-Za-z/-]+$\r\n   \"TransactionType\": \"Locked\",             // [Locked] validation by commercial, [Unlocked] automatic\r\n   \"lineItems\": [\r\n       {\r\n           \"product\": \"PE10415035\",\r\n           \"quantity\": 1\r\n       }\r\n       ,{\r\n           \"product\": \"PE10415035\",\r\n           \"quantity\": 10\r\n       }\r\n   ],\r\n   \"shippingAddress\": {\r\n       \"addressLine1\": \"{addressLine1}\",//nvarchar(255) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ ,.º/\\\\]+$\r\n       \"addressLine2\": \"{addressLine2}\",//nvarchar(255) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ ,.º/\\\\]+$\r\n       \"city\": \"{city}\",                //nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"contactName\": \"{contactName}\",  //nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"phoneNumber\": \"{phoneNumber}\",  //nvarchar(50)  ^[0-9/ +]+$\r\n       \"postalCode\": \"28500\",           //nvarchar(20)  ^[0-9A-Za-z\\s-]+$\r\n       \"isFinalCustomer\": true,         //bool          ^(true|false)$\r\n       \"addressName\": \"{addressName}\",  //nvarchar(100) ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"CountryCode\": \"ES\",             //nvarchar(10)  ^[A-Z]+$\r\n       \"Country\": \"SPAIN\",              //nvarchar(50)  ^[0-9A-Za-zÁÉÍÓÚáéíóúÑñ/ ]+$\r\n       \"EmailAddress\": \"{EmailAddress}\",//nvarchar(100) ^[0-9A-Za-z.@]+$\r\n       \"PhoneNumber2\": \"{PhoneNumber2}\" //nvarchar(50)  ^[0-9 +]+$\r\n   }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/orders/CreateOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 11 Mar 2024 18:36:53 GMT"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"orderId\": 5456722,\n    \"status\": \"Received\",\n    \"receivedDate\": \"2024-03-11T11:36:53.810872-07:00\"\n}"}],"_postman_id":"0f9e64d2-6ed8-4271-bc84-59bd8ab91dae"},{"name":"Orders","event":[{"listen":"test","script":{"id":"ede0c271-fcbe-464b-b249-6298ea23cb32","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 5sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(5000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"5d6e204d-6df7-4303-b3ce-9bb12b189db9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"StartDate\": \"\",          // [optional]   \"2024-02-01T00:00:00\"\r\n  \"EndDate\": \"\",            // [optional]   \"2024-02-28T23:59:59\"\r\n  \"CustomerOrderCode\": \"\"   // [optional]   Customer Order Code \r\n}","options":{"raw":{"language":"json"}}},"url":"{{Server}}/api/v2/orders/queryordersstatus","description":"<p>Use this <em><strong>endpoint</strong></em> to view the status of all orders, with filters, sorts, and limits.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>StartDate</td>\n<td>datetime</td>\n<td>No</td>\n<td>ISO 8601 standard date and time format</td>\n</tr>\n<tr>\n<td>EndDate</td>\n<td>datetime</td>\n<td>No</td>\n<td>ISO 8601 standard date and time format</td>\n</tr>\n<tr>\n<td>CustomerOrderCode</td>\n<td>string</td>\n<td>No</td>\n<td>Customer order</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the ' StartDate</em> ' and ' <em>EndDate</em> ' parameters are empty, a list of the last 15 days is returned.</p>\n<p><strong>List of Status</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>ID</th>\n<th>Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Not Found</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Received</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Authorized</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Locked</td>\n</tr>\n<tr>\n<td>35</td>\n<td>Out Of Stock</td>\n</tr>\n<tr>\n<td>40</td>\n<td>In Preparation</td>\n</tr>\n<tr>\n<td>50</td>\n<td>Ready</td>\n</tr>\n<tr>\n<td>60</td>\n<td>Partially Shipped</td>\n</tr>\n<tr>\n<td>70</td>\n<td>Shipped</td>\n</tr>\n<tr>\n<td>80</td>\n<td>Not Validated</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v2","orders","queryordersstatus"],"host":["{{Server}}"],"query":[],"variable":[]}},"response":[{"id":"3db33ec4-5081-4afa-b8f2-226f6b2b0654","name":"Orders status","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"StartDate\": \"\",          // [optional]   \"2024-02-01T00:00:00\"\r\n  \"EndDate\": \"\",            // [optional]   \"2024-02-28T23:59:59\"\r\n  \"CustomerOrderCode\": \"\"   // [optional]   Customer Order Code \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/orders/queryordersstatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 28 Feb 2024 23:34:11 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": 506,         // Internal Order Id WebAPI\n        \"orderDate\": \"2024-02-28T15:15:04.247\",\n        \"customerCode\": 11123,  // Customer Code\n        \"isTest\": false,        // ¿Test mode?\n        \"shippingType\": 1,      // [1]Dropshipping, [2]Shipping to customer warehouse, [3]Pick up at  DMI\n        \"items\": [\n            {\n                \"orderItemId\": 969,         //  DMI Computer's Product Identifier\n                \"productId\": \"PE2101242\",   //  SKU or DMI Computer's Product Identifier\n                \"quantity\": 1,\n                \"customersOrderId\": 506,\n                \"price\": 0\n            }\n        ],\n        \"statusId\": 2,\n        \"status\": {\n            \"statusId\": 2,\n            \"description\": \"Authorized\",\n            \"orders\": []\n        },\n        \"shippingAddressId\": 522,\n        \"shippingAddress\": {\n            \"addressId\": 522,\n            \"addressLine1\": \"\",\n            \"addressLine\": \"{addressLine}\",\n            \"city\": \"{city}\",\n            \"contactName\": \"{contactName}\",\n            \"phoneNumber\": \"{phoneNumber}\",\n            \"postalCode\": \"{postalCode}\",\n            \"isFinalCustomer\": true,\n            \"addressName\": null,\n            \"countryCode\": \"ES\",\n            \"country\": null,\n            \"emailAddress\": \"{emailAddress}\",\n            \"phoneNumber2\": null\n        },\n        \"customerOrderCode\": \"{customerOrderCode}\",     // Número pedido del cliente\n        \"invoiceNumber\": null,  // Número de factura\n        \"invoiceDate\": null,    // Fecha de Factura\n        \"courierName\": null,    // Empresa transporte\n        \"courierCode\": null,    // Número expedición\n        \"courierLink\": null,    // Link de ecpedición\n        \"orderNo\": null\n    }\n]"}],"_postman_id":"5d6e204d-6df7-4303-b3ce-9bb12b189db9"}],"id":"cdde58e0-fd6d-44c4-970e-af8336857628","description":"<p>Library for <strong>order management.</strong></p>\n","_postman_id":"cdde58e0-fd6d-44c4-970e-af8336857628"},{"name":"P R O D U C T S","item":[{"name":"Categories","event":[{"listen":"test","script":{"id":"67456cfc-9c54-4048-b038-7e08b0319d2e","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 60sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(60000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"6c23e85a-78e2-4675-b628-b144734d84c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.dmi.es/api/v2/products/GetCategories","description":"<p>Use this <em><strong>endpoint</strong></em> to get detailed information for all categories.</p>\n","urlObject":{"protocol":"https","path":["api","v2","products","GetCategories"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"070815ae-26d1-411a-bee2-085273613ae7","name":"Categories","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer"}],"url":"https://api.dmi.es/api/v2/products/GetCategories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 29 May 2024 22:56:05 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"categoryId\": 2,                    //  ID Category\n        \"categoryName\": \"Software TPV\",     //  Name\n        \"parentCategoryId\": 0               //  ID Parent Category\n    },\n    {\n        \"categoryId\": 4,\n        \"categoryName\": \"Software de base de datos\",\n        \"parentCategoryId\": 999969\n    },\n    {\n        \"categoryId\": 7,\n        \"categoryName\": \"Sistemas Operativos\",\n        \"parentCategoryId\": 999941\n    },\n    {\n        \"categoryId\": 12,\n        \"categoryName\": \"Suites de Programas\",\n        \"parentCategoryId\": 999969\n    }\n]"}],"_postman_id":"6c23e85a-78e2-4675-b628-b144734d84c7"},{"name":"Products","event":[{"listen":"test","script":{"id":"b154df81-3050-4e03-a548-5a8e0d082389","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 60sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(60000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"ca37f83e-ec4c-4c7e-a649-a62449f887c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"products\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/products/GetAllProducts","description":"<p>Use this <em><strong>endpoint</strong></em> to get detailed information for all products. [Catalog &gt; Product sheet]</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>products</td>\n<td>array</td>\n<td>Yes</td>\n<td>Empty &gt; entire catalog</td>\n</tr>\n</tbody>\n</table>\n</div><p>NOTE: Endpoints like [Price Only], [Price &amp; Stock], and [Price &amp; Stock Performance] are so much lightweight and could be use every 5 minutes. We strongly recommend to download the Generic Catalog only one time in the day to search for new Products or import the Products for the first time.</p>\n","urlObject":{"protocol":"https","path":["api","v2","products","GetAllProducts"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"38abb5dc-1b3b-437d-8ca7-0ab5abedf331","name":"Products","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"products\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"http://api.dmi.es/api/v2/products/GetAllProducts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 30189,                    //  DMI Computer's Product Identifier\r\n        \"productId\": \"CS22108183\",      //  SKU or DMI Computer's Product Identifier\r\n        \"manufacturerCode\": \"0615B001\", //  Universal Manufacturer Code (partnumber)\r\n        \"ean\": \"4960999273372\",         //  Universal Product Identifier\r\n        \"category\": \"Consumibles\",              //  Categorization of the product within the store or catalog.\r\n        \"categoryId\": \"225\",                    //  Categorization of the product within the store or catalog.\r\n        \"subCategory\": \"Cartuchos de Tinta\",    //  Categorization of the product within the store or catalog.\r\n        \"subCategoryId\": \"377\",                 //  Categorization of the product within the store or catalog.\r\n        \"manufacturer\": \"CANON\",        //  Universal Manufacturer Name\r\n        \"name\": \"Canon 0615B001 cartucho de tinta 1 pieza(s) Original Negro\",   //  Product's Full name. It includes: key specifications like CPU model, memory, storage capacity, etc.\r\n        \"marketingText\": [              //  It includes long and short descriptions, summaries and promotional texts highlighting product features and benefits\r\n            {\r\n                \"longDescription\": null,\r\n                \"shortDescription\": null,\r\n                \"longSummary\": null,\r\n                \"shortSummary\": null\r\n            }\r\n        ],\r\n        \"promo\": null,      //  If exist, information on applicable promotions.\r\n        \"promoEndDate\": null,\r\n        \"taxes\": [          //  Details on applicable taxes, such as private copying levy and VAT (IVA).\r\n            {\r\n                \"canonDescription\": \"\",\r\n                \"canonAmount\": 0.0,\r\n                \"vat\": 21\r\n            }\r\n        ],\r\n        \"mainImage\": [      //  URLs of product main image in different sizes (large, small, thumbnail)\r\n            {\r\n                \"largePhoto\": null,\r\n                \"smallPhoto\": null,\r\n                \"thumbnail\": null\r\n            }\r\n        ],\r\n        \"stock\": 99,\r\n        \"classification\": \"VENDIBLE\",\r\n        \"logistics\": [      //  Details on product dimensions and other logistical data such as height, length, width, volume, etc.\r\n            {\r\n                \"height\": null,\r\n                \"length\": null,\r\n                \"width\": null,\r\n                \"volume\": null,\r\n                \"unitPerBox\": null,\r\n                \"service\": null\r\n            }\r\n        ],\r\n        \"url\": \"https://www.dmi.es/ficha/CS22108183\",   //  Direct link to product page on DMI Computer's website.\r\n        \"extra\": [          //   It includes featured reasons to buy, detailed technical specifications, and associated product media such as feature logos and links to PDF documents.\r\n            {\r\n                \"reasonsToBuy\": [],\r\n                \"bullets\": [],\r\n                \"disclaimers\": [],\r\n                \"medias\": [],\r\n                \"options\": [],          //  Displays partnumbers for compatible accessories or components.\r\n                \"specifications\": [],   //  Comprehensive lists of specifications grouped by categories such as processor, memory, storage, graphics, connections, design, performance, software, among others.\r\n                \"stories\": null         //  Marketing stories or use cases\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"id\": 30294,\r\n        \"productId\": \"CS32108389\",\r\n        \"manufacturerCode\": \"2970B001\",\r\n        \"ean\": \"4960999617015\",\r\n        \"category\": \"Consumibles\",\r\n        \"categoryId\": \"225\",\r\n        \"subCategory\": \"Cartuchos de Tinta\",\r\n        \"subCategoryId\": \"377\",\r\n        \"manufacturer\": \"CANON\",\r\n        \"name\": \"Canon 2970B001 cartucho de tinta Original Foto negro\",\r\n        \"marketingText\": [\r\n            {\r\n                \"longDescription\": null,\r\n                \"shortDescription\": null,\r\n                \"longSummary\": null,\r\n                \"shortSummary\": null\r\n            }\r\n        ],\r\n        \"promo\": null,\r\n        \"promoEndDate\": null,\r\n        \"taxes\": [\r\n            {\r\n                \"canonDescription\": \"\",\r\n                \"canonAmount\": 0.0,\r\n                \"vat\": 21\r\n            }\r\n        ],\r\n        \"mainImage\": [\r\n            {\r\n                \"largePhoto\": null,\r\n                \"smallPhoto\": null,\r\n                \"thumbnail\": null\r\n            }\r\n        ],\r\n        \"stock\": 1096,\r\n        \"price\": [\r\n            {\r\n                \"wholesalePrice\": 200.0,\r\n                \"retailPriceCanonPrice\": 120.0,\r\n                \"retailPrice\": 100.0\r\n            }\r\n        ],\r\n        \"classification\": \"VENDIBLE\",\r\n        \"logistics\": [\r\n            {\r\n                \"height\": null,\r\n                \"length\": null,\r\n                \"width\": null,\r\n                \"volume\": null,\r\n                \"unitPerBox\": null,\r\n                \"service\": null\r\n            }\r\n        ],\r\n        \"url\": \"https://www.dmi.es/ficha/CS32108389\",\r\n        \"extra\": [\r\n            {\r\n                \"reasonsToBuy\": [],\r\n                \"bullets\": [],\r\n                \"disclaimers\": [],\r\n                \"medias\": [],\r\n                \"options\": [],\r\n                \"specifications\": [],\r\n                \"stories\": null\r\n            }\r\n        ]\r\n    }\r\n]     "}],"_postman_id":"ca37f83e-ec4c-4c7e-a649-a62449f887c1"},{"name":"Stock Only","event":[{"listen":"test","script":{"id":"6b7d334d-3e9f-4878-8102-56387bd015b9","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 15sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(15000);\r","});\r","// Comprueba que todos los valores de stock sean menores o iguales a control[100]\r","var control=100\r","var responseData = pm.response.json();\r","var invalidStockProducts = [];\r","responseData.forEach(item => {\r","    if (item.stock > control) {invalidStockProducts.push(item.productId);}\r","});\r","pm.test(\"Stock Check: All stock values must be less than or equal to \" + control, function() {\r","    pm.expect(invalidStockProducts.length, `Products with invalid stock: ${invalidStockProducts.join(\", \")}`).to.equal(0);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});\r","\r",""],"type":"text/javascript","packages":{}}}],"id":"dad0e36f-3b41-4825-914c-7ece0e118aac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/stock/GetStock","description":"<p>Use this <em><strong>endpoint</strong></em> to check the stock of some/all products.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productsIds</td>\n<td>array</td>\n<td>Yes</td>\n<td>List of product ids. Example: \"OP1234568\",\"HD1154423\" Empty, the entire catalog.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","stock","GetStock"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"265516bc-433c-4635-a113-f03d76593399","name":"Stock Only","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": [\r\n     \"OP1234568\"\r\n     ,\"HD1154423\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/stock/GetStock"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 31 Jan 2024 19:37:38 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"productId\": \"OP1234568\",\n        \"stock\": 0,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    },\n    {\n        \"productId\": \"HD1154423\",\n        \"stock\": 0,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    }\n]"}],"_postman_id":"dad0e36f-3b41-4825-914c-7ece0e118aac"},{"name":"Stock & Price","event":[{"listen":"test","script":{"id":"76c593db-d83b-411f-a638-8bd9708568b4","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 15sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(15000);\r","});\r","// Comprueba que todos los valores de stock sean menores o iguales a control[100]\r","var control=100\r","var responseData = pm.response.json();\r","var invalidStockProducts = [];\r","responseData.forEach(item => {\r","    if (item.stock > control) {invalidStockProducts.push(item.productId);}\r","});\r","pm.test(\"Stock Check: All stock values must be less than or equal to \" + control, function() {\r","    pm.expect(invalidStockProducts.length, `Products with invalid stock: ${invalidStockProducts.join(\", \")}`).to.equal(0);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"6d14f3bd-7437-4348-9a1c-268870255bcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/products/StockPrice","description":"<p>Use this <em><strong>endpoint</strong></em> to check the price and stock of some/all products.  </p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productsIds</td>\n<td>array</td>\n<td>Yes</td>\n<td>List of product ids. Example: \"OP1234568\",\"HD1154423\" Empty, the entire catalog.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","products","StockPrice"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"1dbe97b0-e88c-41c5-a29c-6c2e67f0025e","name":"Stock & Price","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": [\r\n     \"OP1234568\"\r\n     ,\"HD1154423\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/products/StockPrice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 31 Jan 2024 19:41:56 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"productId\": \"OP1234568\",\n        \"stock\": 0,\n        \"price\": 34.89,\n        \"canon\": 0,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    },\n    {\n        \"productId\": \"HD1154423\",\n        \"stock\": 0,\n        \"price\": 63.77,\n        \"canon\": 1.5,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    }\n]"}],"_postman_id":"6d14f3bd-7437-4348-9a1c-268870255bcc"},{"name":"Price Only","event":[{"listen":"test","script":{"id":"422c807a-7266-4230-9415-6c02624d5527","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 15sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(15000);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript"}}],"id":"dd38b904-5349-4e65-937b-6a4e33b90407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/price/Getprice","description":"<p>Use this <em><strong>endpoint</strong></em> to check the price of some/all products.  </p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productsIds</td>\n<td>array</td>\n<td>Yes</td>\n<td>List of product ids. Example: \"OP1234568\",\"HD1154423\" Empty, the entire catalog.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","price","Getprice"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"dd6e0934-d665-4854-a313-d6a2fd8830f0","name":"Price Only","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"productsIds\": [\r\n     \"OP1234568\"\r\n     ,\"HD1154423\"\r\n    \r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/price/Getprice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 31 Jan 2024 19:42:16 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"productId\": \"OP1234568\",\n        \"price\": 34.89,\n        \"canon\": 0,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    },\n    {\n        \"productId\": \"HD1154423\",\n        \"price\": 63.77,\n        \"canon\": 1.5,\n        \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n        \"estimatedShippingTime\": 24,    //Estimated Shipping time (hours)\n        \"cutOffTime\": \"18:00:00\"        //Cut time\n    }\n]"}],"_postman_id":"dd38b904-5349-4e65-937b-6a4e33b90407"},{"name":"Price & Stock Performance","event":[{"listen":"test","script":{"id":"00600a39-7895-4415-bfa8-a1755b83b054","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 10sg\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(10000);\r","});\r","// Comprueba que todos los valores de stock sean menores o iguales a control[100]\r","var control=100\r","var responseData = pm.response.json();\r","var invalidStockProducts = [];\r","responseData.products.forEach(product => {\r","    if (product.stock > control) {invalidStockProducts.push(product.productId);}\r","});\r","pm.test(\"Stock Check: All stock values must be less than or equal to \" + control, function() {\r","    pm.expect(invalidStockProducts.length, `Products with invalid stock: ${invalidStockProducts.join(\", \")}`).to.equal(0);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"edae0dbd-75c9-42ad-9115-9856ad125329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"OptimiceQuery\": true    // [optional]  boolean\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/price/getpriceperformance","description":"<p>Use this <em><strong>endpoint</strong></em> to query the price of all products that have been updated (<em>price or stock</em>) since the last query.</p>\n<p><strong>Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>OptimiceQuery</td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Last products updated (<em>Price or Stock</em>)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","price","getpriceperformance"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"c962e12d-d7ee-438d-91c9-06eb01e84ce5","name":"Price & Stock Performance","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"OptimiceQuery\": true    // [optional]  boolean\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/price/getpriceperformance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 01 Mar 2024 21:42:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"cacheados\": 0,\n    \"calculados\": 18,\n    \"products\": [\n        {\n            \"productId\": \"IM42221086\",\n            \"stock\": 0,\n            \"price\": 85,\n            \"canon\": 5.25,\n            \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n            \"estimatedShippingTime\": 24,    //Estimated shipping time (hours)\n            \"cutOffTime\": \"18:00:00\"        //Cut time\n        },\n        {\n            \"productId\": \"IM42221086\",\n            \"stock\": 63,\n            \"price\": 57,\n            \"canon\": 5.25,\n            \"estimatedHandlingTime\": 5,     //Estimated handling time (hours)\n            \"estimatedShippingTime\": 24,    //Estimated shipping time (hours)\n            \"cutOffTime\": \"18:00:00\"        //Cut time\n        }\n    ]\n}"}],"_postman_id":"edae0dbd-75c9-42ad-9115-9856ad125329"}],"id":"72b63c7f-c6ad-4468-bfb1-d45ba94977c1","description":"<p>Library for <strong>product management</strong>.</p>\n","_postman_id":"72b63c7f-c6ad-4468-bfb1-d45ba94977c1"},{"name":"R E T U R N S","item":[{"name":"return","event":[{"listen":"test","script":{"id":"2100f30a-7793-4571-9e75-e6be602995c9","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","//pm.test(\"Check if response has format JSON\", function() {\r","    //pm.response.to.be.json;\r","//});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"0f58e280-1dfd-4a74-8dc2-c340379325ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{Customer Code}\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"{Invoice}\",\r\n            \"productCode\": \"{Product ID}\",\r\n            \"quantity\": 2\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"{Invoice}\",\r\n            \"productCode\": \"{Product ID}\",\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/return","description":"<p>This endpoint use for solicited a Return:</p>\n<h3 id=\"root-object\">Root Object</h3>\n<ul>\n<li><strong>customerCode</strong>: A placeholder for the unique identifier of the customer. This should be replaced with the actual customer code.</li>\n</ul>\n<h3 id=\"line-object\">Line Object</h3>\n<ol>\n<li><p><strong>invoiceNumber</strong>: The unique identifier for the invoice associated with the product. For example, \"INVxxxxx6\" and \"INVxxxxx7\".</p>\n</li>\n<li><p><strong>productCode</strong>: The code representing the product. For instance, \"PROD001\" and \"PROD002\".</p>\n</li>\n<li><p><strong>quantity</strong>: The quantity of the product (e.g., 2 and 1).</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","AfterSales","return"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"584e2ae2-8fea-4de9-bb03-d38b0f3d8431","name":"return","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{Customer Code}\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"{Invoice}\",\r\n            \"productCode\": \"{Product ID}\",\r\n            \"quantity\": 2\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"{Invoice}\",\r\n            \"productCode\": \"{Product ID}\",\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/return"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 30 May 2024 20:59:54 GMT"}],"cookie":[],"responseTime":null,"body":"Return registered successfully."}],"_postman_id":"0f58e280-1dfd-4a74-8dc2-c340379325ca"}],"id":"e2224742-c27e-4510-8fe3-9b043181ccaa","description":"<p>Endpoint repository for <strong>returns management</strong>.</p>\n","_postman_id":"e2224742-c27e-4510-8fe3-9b043181ccaa"},{"name":"R M A","item":[{"name":"rma-authorization","event":[{"listen":"test","script":{"id":"8d85dfe6-ffbf-4b78-9e4c-20873df17fdf","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","//pm.test(\"Check if response has format JSON\", function() {\r","    //pm.response.to.be.json;\r","//});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"604281b3-f800-4a15-9de0-fd1c484fab42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{customerCode}\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"{invoiceNumber}\",\r\n            \"productCode\": \"{invoiceNumber}\",\r\n            \"remarks\": \"{remarks}\",\r\n            \"serialNumber\": \"{serialNumber}\"\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"{invoiceNumber}\",\r\n            \"productCode\": \"{invoiceNumber}\",\r\n            \"remarks\": \"{remarks}\",\r\n            \"serialNumber\": \"{serialNumber}\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/rma-authorization","description":"<p>This endpoint use for solicited a RMA Authorization:</p>\n<h3 id=\"root-object\">Root Object</h3>\n<ul>\n<li><strong>customerCode</strong>: A placeholder for the unique identifier of the customer. This should be replaced with the actual customer code.</li>\n</ul>\n<h3 id=\"line-object\">Line Object</h3>\n<ol>\n<li><p><strong>invoiceNumber</strong>: The unique identifier for the invoice associated with the product. For example, \"INVxxxxx6\" and \"INVxxxxx7\".</p>\n</li>\n<li><p><strong>productCode</strong>: The code representing the product. For instance, \"PROD001\" and \"PROD002\".</p>\n</li>\n<li><p><strong>remarks</strong>: A description of the issue with the product. Examples include \"Defective product\" and \"Product does not match the order\".</p>\n</li>\n<li><p><strong>serialNumber</strong>: The unique serial number of the product, such as \"SN123456xxxx\" and \"SN098765xxxx\".</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","AfterSales","rma-authorization"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"f4b09cfc-0b3a-4e06-a951-0f57dc7d34cf","name":"rma-authorization","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customerCode\": \"{customerCode}\",\r\n    \"lines\": [\r\n        {\r\n            \"invoiceNumber\": \"INVxxxxx6\",\r\n            \"productCode\": \"PROD001\",\r\n            \"remarks\": \"Defective product\",\r\n            \"serialNumber\": \"SN123456xxxx\"\r\n        },\r\n        {\r\n            \"invoiceNumber\": \"INVxxxxx7\",\r\n            \"productCode\": \"PROD002\",\r\n            \"remarks\": \"Product does not match the order\",\r\n            \"serialNumber\": \"SN098765xxxx\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/AfterSales/rma-authorization"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 30 May 2024 20:57:27 GMT"}],"cookie":[],"responseTime":null,"body":"RMA registered successfully."}],"_postman_id":"604281b3-f800-4a15-9de0-fd1c484fab42"}],"id":"e4b106a6-12c2-4283-acaf-696f341c42bb","description":"<p>Endpoint repository for <strong>rma management</strong>.</p>\n","_postman_id":"e4b106a6-12c2-4283-acaf-696f341c42bb"},{"name":"A M A R A - A D V A N C E","item":[{"name":"Job submit","event":[{"listen":"test","script":{"id":"ef2be150-fef2-4955-a456-3bde1a9d975b","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"4beca711-7375-4eef-85d0-65924ca33779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Category\",\r\n    \"data\": {\r\n        \"id_categoria\": \"166\",\r\n        \"categoria\": \"Ropa y accesorios\"\r\n    }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/amaraadvance/submit","description":"<p>This endpoint involves creating jobs/tasks that the system <strong>will execute when it has free time</strong>.</p>\n<p>It ensures efficient use of system resources by processing tasks asynchronously as the system becomes available</p>\n<h3 id=\"title\">Title</h3>\n<ul>\n<li><strong>title</strong>: Type of job/task. Example\"Category\"</li>\n</ul>\n<h3 id=\"data\">Data</h3>\n<ul>\n<li><p><strong>id_categoria</strong>: This field contains a string with multiple category IDs separated by semicolons.</p>\n</li>\n<li><p><strong>categoria</strong>: This field contains a string with multiple category names separated by semicolons.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","amaraadvance","submit"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"48560b9e-6be7-4084-bf6e-fc712ec04ca0","name":"Job submit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Category\",\r\n    \"data\": {\r\n        \"id_categoria\": \"166\",\r\n        \"categoria\": \"Ropa y accesorios\"\r\n    }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.dmi.es/api/v2/amaraadvance/submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 31 May 2024 15:21:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"jobId\": 4\n}"}],"_postman_id":"4beca711-7375-4eef-85d0-65924ca33779"},{"name":"Job status","event":[{"listen":"test","script":{"id":"ed2cfb99-dbac-41cb-ac40-4efe85b93ec3","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","pm.test(\"Check if response has format JSON\", function() {\r","    pm.response.to.be.json;\r","});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"8827940d-df83-4ae5-8781-5f22c4ac3cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.dmi.es/api/v2/amaraadvance/status/{ job Id }","description":"<p>This endpoint allows users to query the current <strong>status of a job they previously requested</strong>.</p>\n<p>By providing the job ID or other identifying information, users can retrieve details such as whether the job is pending, in progress, or completed.</p>\n<p>This helps in tracking the progress and managing expectations regarding the job's execution.</p>\n","urlObject":{"protocol":"https","path":["api","v2","amaraadvance","status","{ job Id }"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"13b79d95-5fc4-455d-884b-4c4a2334e71a","name":"Job status","originalRequest":{"method":"GET","header":[],"url":"https://api.dmi.es/api/v2/amaraadvance/status/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 31 May 2024 15:24:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"jobId\": 1,\n    \"status\": 0,\n    \"createdAt\": \"2024-05-30T09:28:06.383\",\n    \"completedAt\": null\n}"}],"_postman_id":"8827940d-df83-4ae5-8781-5f22c4ac3cb8"},{"name":"Job result","event":[{"listen":"test","script":{"id":"e28b716a-f236-4306-b40e-fba76d4cc755","exec":["//code 200\r","pm.test(\"Check if status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","//tiempo respuesta\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","//Header con Content-Type\r","pm.test(\"Content-Type is present\", function () {\r","    pm.response.to.have.header(\"Content-Type\");\r","});\r","// response en formato JSON\r","//pm.test(\"Check if response has format JSON\", function() {\r","    //pm.response.to.be.json;\r","//});\r","// Seguridad : Strict-Transport-Security header\r","pm.test(\"checks for Strict-Transport-Security header\", function() {\r","    const header = pm.response.headers.get(\"Strict-Transport-Security\")||\"\"\r","    pm.expect(header.toLowerCase()).contains(\"max-age\")\r","});\r","// Seguridad : SQL Injection\r","pm.test(\"checks response for WHERE clause sql injection\", function() {\r","    if(pm.response.text().toLowerCase().includes(\"error\")){\r","        text = \"Maybe your API is vulnerable to SQL injection vulnerability which allows the retrieval of hidden data\"\r","    }\r","   pm.expect(pm.response.text().toLowerCase()).to.not.include(\"error\")\r","});\r","// Seguridad : vulnerability with trusted null origin\r","pm.test(\"checks vulnerability with trusted null origin\", function() {\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Origin\")).not.equal(\"null\")\r","    pm.expect(pm.response.headers.get(\"Access-Control-Allow-Credentials\")).to.be.oneOf([undefined,'false'])\r","});"],"type":"text/javascript","packages":{}}}],"id":"3d40cf4a-1ce3-42b3-9086-16a6eaf19a9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.dmi.es/api/v2/amaraadvance/result/{  job Id  }","description":"<p>This endpoint allows users to <strong>retrieve the result of a previously requested job</strong>.</p>\n<p>If the job is completed, it returns the job's result. If the job is still in progress or pending, it returns a message stating \"Job is not yet completed.\"</p>\n<p>This ensures users can access job results efficiently and are informed about the job's status if it is not yet finished.</p>\n<blockquote>\n<p>They may be able to change the tag names.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v2","amaraadvance","result","{  job Id  }"],"host":["api","dmi","es"],"query":[],"variable":[]}},"response":[{"id":"b1cb92cf-83dd-43b5-a2e4-44289bf7044e","name":"Job result","originalRequest":{"method":"GET","header":[],"url":"https://api.dmi.es/api/v2/amaraadvance/result/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"api-supported-versions","value":"2.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 31 May 2024 15:26:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"CategoryMapping\",\n    \"data\": [\n        {\n            \"id_categoria_cliente\": \"101\",\n            \"categoria_cliente\": \"Computadoras y laptops\",\n            \"id_categoria_dmi\": \"201\",\n            \"categoria_dmi\": \"Ordenadores y portátiles\"\n        },\n        {\n            \"id_categoria_cliente\": \"102\",\n            \"categoria_cliente\": \"Componentes de PC\",\n            \"id_categoria_dmi\": \"202\",\n            \"categoria_dmi\": \"Partes y componentes de PC\"\n        },\n        {\n            \"id_categoria_cliente\": \"103\",\n            \"categoria_cliente\": \"Accesorios de computadora\",\n            \"id_categoria_dmi\": \"203\",\n            \"categoria_dmi\": \"Periféricos y accesorios\"\n        },\n        {\n            \"id_categoria_cliente\": \"104\",\n            \"categoria_cliente\": \"Software\",\n            \"id_categoria_dmi\": \"204\",\n            \"categoria_dmi\": \"Programas y aplicaciones\"\n        },\n        {\n            \"id_categoria_cliente\": \"105\",\n            \"categoria_cliente\": \"Almacenamiento de datos\",\n            \"id_categoria_dmi\": \"205\",\n            \"categoria_dmi\": \"Dispositivos de almacenamiento\"\n        },\n        {\n            \"id_categoria_cliente\": \"106\",\n            \"categoria_cliente\": \"Redes y conectividad\",\n            \"id_categoria_dmi\": \"206\",\n            \"categoria_dmi\": \"Equipos de red y conectividad\"\n        }\n    ]\n}"}],"_postman_id":"3d40cf4a-1ce3-42b3-9086-16a6eaf19a9e"}],"id":"7479ec66-2f01-4171-bf3f-c28021b209ae","description":"<p>Endpoint repository for <strong>Amara IA management</strong>.</p>\n","_postman_id":"7479ec66-2f01-4171-bf3f-c28021b209ae"}]}