{"info":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","description":"<html><head></head><body><p>Our Switching Service Platform provides services for comparing and switching contracts for Energy.</p>\n<h1 id=\"basic-authentication\">Basic Authentication</h1>\n<p>We require basic or token based authentication for all our services. You can provide them in the Autorization header base64 encoded or in the </p>\n<p>Token Authentication\nYou can also use our token based authentication by using the authentication endpoint to get a token. And add it to the Autorization header like this: Authorization: Bearer </p>\n<h1 id=\"environments\">Environments</h1>\n<p>We provide you with 2 environments. One for testing and one for production. Please provide us with your IP's so we can put them on our whitelists for those enviroments.</p>\n<h1 id=\"contact\">Contact</h1>\n<p>For questions please email to <a href=\"mailto:api@overstappen.nl\">api@overstappen.nl</a>. We're happy to help!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Basic Authentication","slug":"basic-authentication"},{"content":"Environments","slug":"environments"},{"content":"Contact","slug":"contact"}],"owner":"6063041","collectionId":"651fae1a-01aa-426b-809b-be886401699f","publishedId":"SVzz4KoW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-10-29T12:22:02.000Z"},"item":[{"name":"consumer","item":[{"name":"single electricity","item":[{"name":"/energy/comparisons Single E","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"50954cef-c335-475b-bf33-8201d082dba2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&customertype=consumer&gasusage=0&electricitysupplyhigh=0&electricitysupplylow=0&smartmeter=0&supplytype=supply&electricityusagehigh=2500&electricityusagelow=0&postcode={{postcode}}&housenumber={{housenumber}}&limit=100&withsavings=1&pricesexcludingtax=false&hideunavailableproducts=false&electricitycapacity=325&gascapacity=1&tariff&sustainable&housenumberaddition={{housenumberaddition}}","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"0"},{"key":"electricitysupplyhigh","value":"0"},{"key":"electricitysupplylow","value":"0"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2500"},{"key":"electricityusagelow","value":"0"},{"key":"postcode","value":"{{postcode}}"},{"key":"housenumber","value":"{{housenumber}}"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"disabled":true,"key":"includedproviders","value":""},{"disabled":true,"key":"excludedproviders","value":""},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"key":"electricitycapacity","value":"325"},{"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"housenumberaddition","value":"{{housenumberaddition}}"}],"variable":[]}},"response":[],"_postman_id":"50954cef-c335-475b-bf33-8201d082dba2"},{"name":"/energy/comparisons Single E with Supply","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"2e1083ad-7802-4bda-9ec2-7ed98d0f7012","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&customertype=consumer&gasusage=0&electricitysupplyhigh=1000&electricitysupplylow=300&smartmeter=0&supplytype=supply&electricityusagehigh=2500&electricityusagelow=0&postcode={{postcode}}&housenumber={{housenumber}}&limit=100&withsavings=1&pricesexcludingtax=false&hideunavailableproducts=false&electricitycapacity=325&gascapacity=1&tariff&sustainable&includedproviders&excludedproviders&housenumberaddition={{housenumberaddition}}","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"0"},{"key":"electricitysupplyhigh","value":"1000"},{"key":"electricitysupplylow","value":"300"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2500"},{"key":"electricityusagelow","value":"0"},{"key":"postcode","value":"{{postcode}}"},{"key":"housenumber","value":"{{housenumber}}"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"key":"electricitycapacity","value":"325"},{"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"housenumberaddition","value":"{{housenumberaddition}}"}],"variable":[]}},"response":[],"_postman_id":"2e1083ad-7802-4bda-9ec2-7ed98d0f7012"},{"name":"/energy/comparisons Single E Double Meter","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"42816d5b-16ca-4834-9632-508b8bbb3b0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&tariff&sustainable&customertype=consumer&gasusage=0&electricitysupplyhigh=0&electricitysupplylow=0&smartmeter=0&supplytype=supply&electricityusagehigh=2500&electricityusagelow=1200&postcode=1017BZ&housenumber=440&housenumberaddition=2&limit=100&withsavings=1&includedproviders&excludedproviders&pricesexcludingtax=false&hideunavailableproducts=false&electricitycapacity=325&gascapacity=1","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"0"},{"key":"electricitysupplyhigh","value":"0"},{"key":"electricitysupplylow","value":"0"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2500"},{"key":"electricityusagelow","value":"1200"},{"key":"postcode","value":"1017BZ"},{"key":"housenumber","value":"440"},{"key":"housenumberaddition","value":"2"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"key":"electricitycapacity","value":"325"},{"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"}],"variable":[]}},"response":[],"_postman_id":"42816d5b-16ca-4834-9632-508b8bbb3b0b"}],"id":"3e91b4d4-5083-4880-aad0-c3c80526d73b","_postman_id":"3e91b4d4-5083-4880-aad0-c3c80526d73b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}}},{"name":"single gas","item":[{"name":"/energy/comparisons Single G","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"c2b73f2d-83f6-41d6-b51f-d4190555cc98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&duration=12&tariff&sustainable&customertype=consumer&gasusage=1000&electricitysupplyhigh=0&electricitysupplylow=0&smartmeter=0&supplytype=supply&electricityusagehigh=0&electricityusagelow=0&postcode=1017BZ&housenumber=440&housenumberaddition=2&limit=100&withsavings=1&includedproviders&excludedproviders&pricesexcludingtax=false&hideunavailableproducts=false&electricitycapacity=325&gascapacity=1","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"key":"duration","value":"12"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"1000"},{"key":"electricitysupplyhigh","value":"0"},{"key":"electricitysupplylow","value":"0"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"0"},{"key":"electricityusagelow","value":"0"},{"key":"postcode","value":"1017BZ"},{"key":"housenumber","value":"440"},{"key":"housenumberaddition","value":"2"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"key":"electricitycapacity","value":"325"},{"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"}],"variable":[]}},"response":[],"_postman_id":"c2b73f2d-83f6-41d6-b51f-d4190555cc98"}],"id":"dab64383-7968-4d3e-85b0-326bba770aed","_postman_id":"dab64383-7968-4d3e-85b0-326bba770aed","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}}},{"name":"combi","item":[{"name":"/energy/comparisons Combi","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"ec5f9d72-5bb0-4a35-be10-867ae5be0bd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&tariff&sustainable&customertype=consumer&electricitysupplyhigh=0&electricitysupplylow=0&gasusage=1000&smartmeter=0&electricityusagehigh=2000&electricityusagelow=0&postcode={{postcode}}&housenumber={{housenumber}}&housenumberaddition={{housenumberaddition}}&limit=100&withsavings=1&includedproviders&excludedproviders&pricesexcludingtax=false","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"customertype","value":"consumer"},{"key":"electricitysupplyhigh","value":"0"},{"key":"electricitysupplylow","value":"0"},{"key":"gasusage","value":"1000"},{"key":"smartmeter","value":"0"},{"disabled":true,"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2000"},{"key":"electricityusagelow","value":"0"},{"key":"postcode","value":"{{postcode}}"},{"key":"housenumber","value":"{{housenumber}}"},{"key":"housenumberaddition","value":"{{housenumberaddition}}"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"pricesexcludingtax","value":"false"},{"disabled":true,"key":"hideunavailableproducts","value":"false"},{"disabled":true,"key":"electricitycapacity","value":"325"},{"disabled":true,"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"}],"variable":[]}},"response":[],"_postman_id":"ec5f9d72-5bb0-4a35-be10-867ae5be0bd1"},{"name":"/energy/comparisons Combi with Supply","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"05d7c276-01e9-482b-ad2d-aaadc76ae1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&tariff&sustainable&customertype=consumer&gasusage=1000&electricitysupplyhigh=1000&electricitysupplylow=300&smartmeter=0&supplytype=supply&electricityusagehigh=2500&electricityusagelow=0&postcode={{postcode}}&housenumber={{housenumber}}&housenumberaddition={{housenumberaddition}}&limit=100&withsavings=1&includedproviders&excludedproviders&pricesexcludingtax=false&hideunavailableproducts=false","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"1000"},{"key":"electricitysupplyhigh","value":"1000"},{"key":"electricitysupplylow","value":"300"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2500"},{"key":"electricityusagelow","value":"0"},{"key":"postcode","value":"{{postcode}}"},{"key":"housenumber","value":"{{housenumber}}"},{"key":"housenumberaddition","value":"{{housenumberaddition}}"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"disabled":true,"key":"electricitycapacity","value":"325"},{"disabled":true,"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"}],"variable":[]}},"response":[],"_postman_id":"05d7c276-01e9-482b-ad2d-aaadc76ae1a1"},{"name":"/energy/comparisons Combi with Double Meter","event":[{"listen":"test","script":{"id":"4323f9a6-5a45-49fa-a9f3-766136c3425c","exec":["var jsonData = pm.response.json();","var id = jsonData.data[0].id","","pm.environment.set(\"energyProductId\", id);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});","","pm.test(\"Count objects (\"+jsonData.meta.count+\") equals Meta count \", function () {","    pm.response.to.have.jsonBody(\"data\");","    pm.response.to.have.jsonBody(\"meta\");","    pm.expect(jsonData.meta.count).to.equal(jsonData.data.length);","});"],"type":"text/javascript"}}],"id":"71fc9301-cd51-4524-a79c-83d1c22346a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/energy/comparisons?currentprovider=-1&tariff&sustainable&customertype=consumer&gasusage=1000&electricitysupplyhigh=0&electricitysupplylow=0&smartmeter=0&supplytype=supply&electricityusagehigh=2500&electricityusagelow=600&postcode={{postcode}}&housenumber={{housenumber}}&housenumberaddition={{housenumberaddition}}&limit=100&withsavings=1&includedproviders&excludedproviders&pricesexcludingtax=false&hideunavailableproducts=false&electricitycapacity=325&gascapacity=1","description":"<p>Create a new Comparison</p>\n","urlObject":{"path":["energy","comparisons"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, Needs to match regular expression: ^[a-zA-Z0-9 -]{0,25}$</p>\n","type":"text/plain"},"key":"currentprovider","value":"-1"},{"disabled":true,"key":"duration","value":"12"},{"key":"tariff","value":null},{"key":"sustainable","value":null},{"key":"customertype","value":"consumer"},{"key":"gasusage","value":"1000"},{"key":"electricitysupplyhigh","value":"0"},{"key":"electricitysupplylow","value":"0"},{"key":"smartmeter","value":"0"},{"key":"supplytype","value":"supply"},{"key":"electricityusagehigh","value":"2500"},{"key":"electricityusagelow","value":"600"},{"key":"postcode","value":"{{postcode}}"},{"key":"housenumber","value":"{{housenumber}}"},{"key":"housenumberaddition","value":"{{housenumberaddition}}"},{"key":"limit","value":"100"},{"key":"withsavings","value":"1"},{"key":"includedproviders","value":null},{"key":"excludedproviders","value":null},{"key":"pricesexcludingtax","value":"false"},{"key":"hideunavailableproducts","value":"false"},{"key":"electricitycapacity","value":"325"},{"key":"gascapacity","value":"1"},{"disabled":true,"key":"comparisondate","value":"1982-01-01"}],"variable":[]}},"response":[],"_postman_id":"71fc9301-cd51-4524-a79c-83d1c22346a7"}],"id":"7e828cef-e1ae-4946-aa89-a3b24eb0cc6b","_postman_id":"7e828cef-e1ae-4946-aa89-a3b24eb0cc6b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}}}],"id":"01e5f2c8-1056-45c1-a605-fe9c8670f465","_postman_id":"01e5f2c8-1056-45c1-a605-fe9c8670f465","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}}},{"name":"/authentication/token","event":[{"listen":"test","script":{"id":"be6db9c4-5d6e-49e4-afe5-cb15ed10bec8","exec":["var body = pm.response.json();","pm.environment.set(\"token\", body.token);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b3fdd0e6-a24c-4c9e-80d4-53b2ae3d3499","exec":[""],"type":"text/javascript"}}],"id":"1343ed02-5852-49c3-a4e8-c72f6d503889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/authentication/token","description":"<p>Authenticate using a token.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}},"urlObject":{"path":["authentication","token"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e1dddf08-df31-4e53-a097-65e81319e378","name":"Get token","originalRequest":{"method":"GET","header":[],"url":"{{url}}/authentication/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 04 Mar 2019 15:03:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjI0Zjg3OTc2NDRhNGNjODJkOGRiMjQwYmZmYmY0NTNmYzc3YmIzNTcifQ.eyJpc3MiOiJodHRwczpcL1wvYXBpLm92ZXJzdGFwcGVuLm5sIiwianRpIjoiMjRmODc5NzY0NGE0Y2M4MmQ4ZGIyNDBiZmZiZjQ1M2ZjNzdiYjM1NyIsImlhdCI6MTU1MTcxMTc5OCwibmJmIjoxNTUxNzExNzk4LCJleHAiOjE1NTE3MTUzOTgsInVpZCI6Imd1ZXN0In0.g6ipsU89IBL_kolN8pk5X138hpaeV3xe1R3HwWEdeDw\"\n}"}],"_postman_id":"1343ed02-5852-49c3-a4e8-c72f6d503889"},{"name":"/energy/providers/list","event":[{"listen":"test","script":{"id":"be6db9c4-5d6e-49e4-afe5-cb15ed10bec8","exec":["var body = pm.response.json();","pm.environment.set(\"token\", body.token);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b3fdd0e6-a24c-4c9e-80d4-53b2ae3d3499","exec":[""],"type":"text/javascript"}}],"id":"af99e6ed-9d2f-4a7c-949e-901cf4cbaa6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/energy/providers/list","description":"<p>Show a list of input values for the order apply page.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}},"urlObject":{"path":["energy","providers","list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9e445d1e-b5fd-4212-8d50-f030b1dc7287","name":"Get token","originalRequest":{"method":"GET","header":[],"url":"{{url}}/authentication/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 04 Mar 2019 15:03:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjI0Zjg3OTc2NDRhNGNjODJkOGRiMjQwYmZmYmY0NTNmYzc3YmIzNTcifQ.eyJpc3MiOiJodHRwczpcL1wvYXBpLm92ZXJzdGFwcGVuLm5sIiwianRpIjoiMjRmODc5NzY0NGE0Y2M4MmQ4ZGIyNDBiZmZiZjQ1M2ZjNzdiYjM1NyIsImlhdCI6MTU1MTcxMTc5OCwibmJmIjoxNTUxNzExNzk4LCJleHAiOjE1NTE3MTUzOTgsInVpZCI6Imd1ZXN0In0.g6ipsU89IBL_kolN8pk5X138hpaeV3xe1R3HwWEdeDw\"\n}"}],"_postman_id":"af99e6ed-9d2f-4a7c-949e-901cf4cbaa6d"},{"name":"/energy/connections/list","event":[{"listen":"test","script":{"id":"be6db9c4-5d6e-49e4-afe5-cb15ed10bec8","exec":["var body = pm.response.json();","pm.environment.set(\"token\", body.token);","","pm.test(\"Status code is 200 and JSON check\", function () {","    // assert that the status code is 200","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants","     pm.response.to.be.withBody;  // assert that the response has a valid JSON body","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b3fdd0e6-a24c-4c9e-80d4-53b2ae3d3499","exec":[""],"type":"text/javascript"}}],"id":"5004aef9-f8b9-4055-97a8-7382e3c2eb30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/energy/connections/list","description":"<p>Show a list of input values for the order apply page.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"651fae1a-01aa-426b-809b-be886401699f","id":"651fae1a-01aa-426b-809b-be886401699f","name":"Overstappen.nl API Energy","type":"collection"}},"urlObject":{"path":["energy","connections","list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e4062937-0eb1-48cd-ab50-4d75dbf20f56","name":"Get token","originalRequest":{"method":"GET","header":[],"url":"{{url}}/authentication/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.8"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 04 Mar 2019 15:03:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjI0Zjg3OTc2NDRhNGNjODJkOGRiMjQwYmZmYmY0NTNmYzc3YmIzNTcifQ.eyJpc3MiOiJodHRwczpcL1wvYXBpLm92ZXJzdGFwcGVuLm5sIiwianRpIjoiMjRmODc5NzY0NGE0Y2M4MmQ4ZGIyNDBiZmZiZjQ1M2ZjNzdiYjM1NyIsImlhdCI6MTU1MTcxMTc5OCwibmJmIjoxNTUxNzExNzk4LCJleHAiOjE1NTE3MTUzOTgsInVpZCI6Imd1ZXN0In0.g6ipsU89IBL_kolN8pk5X138hpaeV3xe1R3HwWEdeDw\"\n}"}],"_postman_id":"5004aef9-f8b9-4055-97a8-7382e3c2eb30"},{"name":"/energy/products/:id/order","id":"38110a2b-9d5f-4fbd-8ab3-fc2f6a9dec95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/energy/products/{{energyProductId}}/order","description":"<p>Get an order form.</p>\n","urlObject":{"path":["energy","products","{{energyProductId}}","order"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"38110a2b-9d5f-4fbd-8ab3-fc2f6a9dec95"},{"name":"/energy/products/:id/order","id":"10fe065f-283d-483e-91fd-e6a4a3044193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ismove","value":"false","type":"text"},{"key":"currentprovider","value":"22","type":"text"},{"key":"doublemeter","value":"false","type":"text"},{"key":"electricityusagehigh","value":"2500","type":"text"},{"key":"electricityusagelow","value":"0","type":"text"},{"key":"gasusage","value":"1100","type":"text"},{"key":"customertype","value":"consumer","type":"text"},{"key":"opbrengst_zonnepanelen","value":"","type":"text"},{"key":"electricitysupplylow","value":"","type":"text"},{"key":"electricitysupplyhigh","value":"2500","type":"text"},{"key":"postcode","value":"{{postcode}}","type":"text"},{"key":"housenumber","value":"{{housenumber}}","type":"text"},{"key":"id","value":"{{energyProductId}}","type":"text"},{"key":"providerid","value":"13","type":"text"},{"key":"initials","value":"F.A.","type":"text"},{"key":"firstname","value":"Tester","type":"text"},{"key":"middlename","value":"van der","type":"text"},{"key":"surname","value":"Test","type":"text"},{"key":"salutation","value":"m","type":"text","description":"<p>expects: m or f</p>\n"},{"key":"phone","value":"0123456789","type":"text"},{"key":"street","value":"Herengracht","type":"text"},{"key":"housenumberaddition","value":"{{housenumberaddition}}","type":"text"},{"key":"city","value":"AMSTERDAM","type":"text"},{"key":"differentmailaddress","value":"0","type":"text"},{"key":"iban","value":"NL13TEST0123456789","type":"text"},{"key":"accountholder","value":"O van der Test","type":"text"},{"key":"paymentmethod","value":"0","type":"text"},{"key":"isresidential","value":"1","type":"text"},{"key":"domain","value":"test.nl","type":"text"},{"key":"birthdate","value":"01-01-1980","type":"text"},{"key":"startdate","value":"2019-03-29","type":"text"},{"key":"realuseripaddress","value":"95.97.254.58","type":"text"},{"key":"contracttype","value":"switch","description":"<p>switch / move</p>\n","type":"text"},{"key":"confirmation","value":"true","type":"text"},{"key":"asap","value":"1","type":"text"}]},"url":"{{url}}/energy/products/{{energyProductId}}/order","description":"<p>Post a new contract to the energy API.</p>\n","urlObject":{"path":["energy","products","{{energyProductId}}","order"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"10fe065f-283d-483e-91fd-e6a4a3044193"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"id":"0f0505d6-f8ff-4d64-ad3d-cb46dbbe990c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"997263ac-b3aa-4562-a71e-a0b484ae603d","type":"text/javascript","exec":[""]}}]}