{"info":{"_postman_id":"0d4a201c-2892-4efd-bda4-bbfdf67b9b8e","name":"Baxi - connected devices","description":"<html><head></head><body><p>Baxi web services which provide features associated to Baxi connected devices.</p>\n<p>The <code>access_token</code> will be provided by our services.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2261315","collectionId":"0d4a201c-2892-4efd-bda4-bbfdf67b9b8e","publishedId":"TW6xnncP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-29T10:05:01.000Z"},"item":[{"name":"Alert an installer","id":"8014eaa1-8eb9-4d3c-a664-265ef694b4de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}],"advancedConfig":[{"key":"password","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serial_number","value":"FOO12345678BAR","contentType":"string","description":"<p>The serial number of the connected device.</p>\n","type":"text"}]},"url":"{{hostname}}/api/connected-devices/alert","description":"<p>This web service requires a valid serial number.</p>\n<p><strong>Response code:</strong></p>\n<ul>\n<li><code>200</code>: the serial number matchs with a warranty registered and available on BaxiWorks</li>\n<li><code>400</code>: the serial number provide is invalid</li>\n<li><code>404</code>: the serial number doesn't match with an existing or available warranty</li>\n<li><code>500</code>: an error occurred ; IT teams will be automatically alerted</li>\n<li><code>503</code>: the web service is temporary unavailable</li>\n</ul>\n<p>If the warranty has been found and is valid, the installer of this one will receive a notification.</p>\n","urlObject":{"path":["api","connected-devices","alert"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8014eaa1-8eb9-4d3c-a664-265ef694b4de"}],"event":[{"listen":"prerequest","script":{"id":"6312389c-c37e-4191-83c8-ac4ecd025ecc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a5ef2193-b1f5-4ddd-821c-64d3f156168a","type":"text/javascript","exec":[""]}}]}