{"info":{"_postman_id":"091f32bf-c36c-4c8c-bbe1-e0efa9f8bba4","name":"TimeWave API v2.2.5","description":"<html><head></head><body><h1 id=\"authentication\">Authentication</h1>\n<p>Authentication is made with every request and is supplied via the HTTP Headers. </p>\n<h2 id=\"headers\">Headers</h2>\n<p>Api-Version: {api_version}</p>\n<p>Api-Domain: {subdomain name}</p>\n<p>Api-Key: {api-key}</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Rate limit is set to 1500 request / 5 minutes.\nRequest count is reset every 5 minutes.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"6996413","collectionId":"091f32bf-c36c-4c8c-bbe1-e0efa9f8bba4","publishedId":"S1LvVULD","public":true,"customColor":{"top-bar":"000000","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-05-08T04:26:58.000Z"},"item":[{"name":"ClientAddresses","item":[{"name":"ClientAddress by ID","event":[{"listen":"test","script":{"id":"7a28d75f-96bd-4a0c-a726-bf7331e1182d","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6ea89853-a659-414c-848c-c6152e4fa74e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clientaddresses/1","urlObject":{"path":["clientaddresses","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ea89853-a659-414c-848c-c6152e4fa74e"},{"name":"Add a ClientAddress","event":[{"listen":"test","script":{"id":"7587f464-9398-4176-911e-26706e17fa1a","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"fe1f8a2c-c99e-4018-bd79-5aa10107b773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\":1,\n    \"address_type\":\"delivery\",\n    \"address\":\"New Adress\",\n    \"postal_code\":\"123 45\",\n    \"city\":\"MyCity\",\n    \"co_address\":\"coa\",\n    \"port_code\":\"1122\",\n    \"alarm_code\":\"none\",\n    \"housing_association\":\"-\",\n    \"property_name\":\"-\",\n    \"workarea_id\":5\n}"},"url":"{{Api-Url}}/clientaddresses","urlObject":{"path":["clientaddresses"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe1f8a2c-c99e-4018-bd79-5aa10107b773"},{"name":"ClientAddress Update","event":[{"listen":"test","script":{"id":"4beb8d9c-aaa8-48df-8e49-c96c548f9b5a","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"1b61fc00-4b37-4b74-a43b-a1528762ed03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"postal_code\":\"123 45\",\"city\":\"MyCity\",\"address\":\"Default address\",\"address_type\":\"delivery\"}"},"url":"{{Api-Url}}/clientaddresses/1","urlObject":{"path":["clientaddresses","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b61fc00-4b37-4b74-a43b-a1528762ed03"}],"id":"70461205-44c6-44d0-be72-54bde5ce3917","_postman_id":"70461205-44c6-44d0-be72-54bde5ce3917","description":""},{"name":"Materials","item":[{"name":"Material by ID","event":[{"listen":"test","script":{"id":"33dfa924-a6d2-44c6-8a3c-721e17c91525","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"3b8d9e77-bd37-4482-a985-a064129e9744","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/materials/18","urlObject":{"path":["materials","18"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b8d9e77-bd37-4482-a985-a064129e9744"},{"name":"All Materials","event":[{"listen":"test","script":{"id":"d9b8fdb2-69f7-459a-802f-f623c456d6fb","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"5706e64f-56f5-433d-85e6-e99da9bc132a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/materials/all","urlObject":{"path":["materials","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5706e64f-56f5-433d-85e6-e99da9bc132a"},{"name":"Add Material","event":[{"listen":"test","script":{"id":"37a7d3f2-5126-47bd-9f43-5fa0c7c69b85","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"e311ca62-d07b-469f-8c45-af9011b62b41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Material 1\",\n    \"description\": \"Material 1 description\",\n    \"price\": \"101\",\n    \"unit_id\": 1,\n    \"account_id\": 1,\n    \"category_id\": 1\n}"},"url":"{{Api-Url}}/materials","urlObject":{"path":["materials"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"b07c80f8-a0a1-42f1-be05-81084990bd21","name":"Add Material","originalRequest":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","type":"text","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Material 1\",\n    \"description\": \"Material 1 description\",\n    \"price\": \"101\",\n    \"unit_id\": 1,\n    \"account_id\": 1,\n    \"category_id\": 1\n}"},"url":"http://api.timewave/materials"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"10","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 14:48:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1493","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"99","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":4}]"}],"_postman_id":"e311ca62-d07b-469f-8c45-af9011b62b41"},{"name":"Change material","event":[{"listen":"test","script":{"id":"81c186eb-e0ac-4427-91b3-0ff2a2d5518b","exec":["tests[\"Successful PUT request\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"fe0b1708-1f6d-4dff-b9e9-8b002ee14c40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"Material 1 new description\"\n}"},"url":"{{Api-Url}}/materials/4","urlObject":{"path":["materials","4"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe0b1708-1f6d-4dff-b9e9-8b002ee14c40"},{"name":"Delete material","event":[{"listen":"test","script":{"id":"28b7583e-712c-4c6f-a7c0-f58214011e67","exec":["tests[\"Successful DELETE request\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c4d36c31-43c9-41d4-9d2d-33dc8f263df3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{Api-Url}}/materials/4","urlObject":{"path":["materials","4"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4d36c31-43c9-41d4-9d2d-33dc8f263df3"}],"id":"7c90d7b3-8419-43b7-b63d-d58fb8436a9a","_postman_id":"7c90d7b3-8419-43b7-b63d-d58fb8436a9a","description":""},{"name":"Categories","item":[{"name":"Category by ID","event":[{"listen":"test","script":{"id":"93067808-9e64-48a4-8163-e63c55d10d5e","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"bb0d2784-dcce-4a3c-a7b5-06be4f611578","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/categories/1","urlObject":{"path":["categories","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"97a11c9e-8429-4858-936e-1b4fb9e20035","name":"Category by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/categories/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"55","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 09:37:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1495","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"213","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"name\":\"Kat1\",\"description\":\"\",\"deleted\":\"N\"}]"}],"_postman_id":"bb0d2784-dcce-4a3c-a7b5-06be4f611578"},{"name":"All Categories","event":[{"listen":"test","script":{"id":"3193b96b-5cc6-435a-8f23-e7fd8bc75195","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a840b8ef-b026-4d2f-a9f3-92b184c89698","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/categories/all","urlObject":{"path":["categories","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a840b8ef-b026-4d2f-a9f3-92b184c89698"}],"id":"3951f1b5-a274-40a1-9178-e9ac5d844144","event":[{"listen":"prerequest","script":{"id":"1ca794ab-4ef2-440c-a9c9-bb3a43811a94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90012c5a-aa37-4313-b911-72631e02716a","type":"text/javascript","exec":[""]}}],"_postman_id":"3951f1b5-a274-40a1-9178-e9ac5d844144","description":""},{"name":"Addresslookup","item":[{"name":"Addresslookup - Private Customer","event":[{"listen":"test","script":{"id":"d3287471-c0d9-43a5-842b-dfb3925c4599","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"cb657ae1-d8b5-421e-ad40-52d0372e82e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/addresslookup/191212121212","urlObject":{"path":["addresslookup","191212121212"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb657ae1-d8b5-421e-ad40-52d0372e82e5"}],"id":"d1a96309-6ca3-4347-941d-dd80f508e1b0","event":[{"listen":"prerequest","script":{"id":"1ca794ab-4ef2-440c-a9c9-bb3a43811a94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90012c5a-aa37-4313-b911-72631e02716a","type":"text/javascript","exec":[""]}}],"_postman_id":"d1a96309-6ca3-4347-941d-dd80f508e1b0","description":""},{"name":"Accounts","item":[{"name":"Account by ID","event":[{"listen":"test","script":{"id":"6a56b826-a560-48cc-8b03-7a23e0dbf5f6","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"4afc578f-2023-40f3-8851-0f1440bf9651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/accounts/1","urlObject":{"path":["accounts","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"ae72ef64-ebfb-4033-8965-af5faae61d73","name":"Account by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/accounts/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"86","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 11:44:26 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1494","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"88","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"name\":\"Konto1\",\"number\":1,\"description\":\"Konto1 beskrivning\",\"deleted\":\"N\"}]"}],"_postman_id":"4afc578f-2023-40f3-8851-0f1440bf9651"},{"name":"All Accounts","event":[{"listen":"test","script":{"id":"088966f0-233a-4522-882d-4d2ef866a9c7","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"dc60f8b7-4bee-4022-b0ac-48c85e35a895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/accounts/all","urlObject":{"path":["accounts","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"fad702bf-1c63-4b0c-a8e1-d915052ce32f","name":"All Accounts","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/accounts/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"153","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 11:44:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1492","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"58","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"name\":\"Konto1\",\"number\":1,\"description\":\"Konto1 beskrivning\",\"deleted\":\"N\"},{\"id\":2,\"name\":\"Konto2\",\"number\":2,\"description\":\"\",\"deleted\":\"N\"}]"}],"_postman_id":"dc60f8b7-4bee-4022-b0ac-48c85e35a895"}],"id":"700f5fdc-40c4-4a3b-b438-258b5c843d15","event":[{"listen":"prerequest","script":{"id":"1ca794ab-4ef2-440c-a9c9-bb3a43811a94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90012c5a-aa37-4313-b911-72631e02716a","type":"text/javascript","exec":[""]}}],"_postman_id":"700f5fdc-40c4-4a3b-b438-258b5c843d15","description":""},{"name":"Units","item":[{"name":"Unit by ID","event":[{"listen":"test","script":{"id":"56e4f934-2905-43d8-87e3-1fc3dcd23a08","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0e68569a-356c-4f3f-8498-44cfe651e6bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/units/1","urlObject":{"path":["units","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"90806914-07ac-4878-b382-f439743aa185","name":"Unit by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/units/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"92","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 11:49:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1499","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"300","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"name\":\"kr\\/styck\",\"description\":\"kr\\/styck\",\"suffix\":\"st\",\"type\":1,\"deleted\":\"N\"}]"}],"_postman_id":"0e68569a-356c-4f3f-8498-44cfe651e6bb"},{"name":"All Units","event":[{"listen":"test","script":{"id":"a7263a29-ba2f-4503-94f5-d3dbc863d06b","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0020847c-5eaa-4720-91a2-0eb28af56b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/units/all","urlObject":{"path":["units","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"2450af6b-84c7-43c4-b085-93ca208a1e30","name":"All Units","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/units/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"492","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 11:50:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1498","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"287","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"name\":\"kr\\/styck\",\"description\":\"kr\\/styck\",\"suffix\":\"st\",\"type\":1,\"deleted\":\"N\"},{\"id\":2,\"name\":\"kr\\/kilometer\",\"description\":\"kr\\/kilometer\",\"suffix\":\"km\",\"type\":1,\"deleted\":\"N\"},{\"id\":3,\"name\":\"kr\\/tim\",\"description\":\"kr\\/tim\",\"suffix\":\"tim\",\"type\":2,\"deleted\":\"N\"},{\"id\":4,\"name\":\"kr\\/kvm\",\"description\":\"kr\\/kvm\",\"suffix\":\"kvm\",\"type\":1,\"deleted\":\"N\"},{\"id\":5,\"name\":\"kr\\/m\\u00e5n\",\"description\":\"M\\u00e5nad (fakturatillf\\u00e4lle)\",\"suffix\":\"m\\u00e5n\",\"type\":3,\"deleted\":\"N\"}]"}],"_postman_id":"0020847c-5eaa-4720-91a2-0eb28af56b61"}],"id":"464a7072-418a-4c13-824f-a0f9c27870e5","event":[{"listen":"prerequest","script":{"id":"1ca794ab-4ef2-440c-a9c9-bb3a43811a94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90012c5a-aa37-4313-b911-72631e02716a","type":"text/javascript","exec":[""]}}],"_postman_id":"464a7072-418a-4c13-824f-a0f9c27870e5","description":""},{"name":"Roles","item":[{"name":"Role by ID","event":[{"listen":"test","script":{"id":"47e9fa2c-ef94-4e8d-917e-59fe2a80b6bf","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2c6ac8ac-18ed-445c-b2e9-a8f959b8afbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/roles/1","urlObject":{"path":["roles","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c6ac8ac-18ed-445c-b2e9-a8f959b8afbd"},{"name":"All Roles","event":[{"listen":"test","script":{"id":"d36f28e9-5e61-45ce-87f2-a356a95cb3d8","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6a1eefbb-4ebe-43d4-a6bd-b8690219ba59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/roles/all","urlObject":{"path":["roles","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a1eefbb-4ebe-43d4-a6bd-b8690219ba59"}],"id":"780d0675-0ad3-40ec-ad4d-7aa284d94492","event":[{"listen":"prerequest","script":{"id":"1ca794ab-4ef2-440c-a9c9-bb3a43811a94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90012c5a-aa37-4313-b911-72631e02716a","type":"text/javascript","exec":[""]}}],"_postman_id":"780d0675-0ad3-40ec-ad4d-7aa284d94492","description":""},{"name":"Clients","item":[{"name":"Client by ID","event":[{"listen":"test","script":{"id":"09fe5af6-cc3d-4ff1-af07-7a62f3e34483","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"8d5dae8c-8bca-4d1d-8bab-47077a35ea9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/1","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clients","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d5dae8c-8bca-4d1d-8bab-47077a35ea9d"},{"name":"Add a Client","event":[{"listen":"test","script":{"id":"15714ea4-3be5-42f4-b3f1-d42723cc2eb4","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"1989fb41-4977-4a15-bcea-be53e7c7dbb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\":\"First\",\n    \"last_name\":\"Last\",\n    \"personal_number\":\"19121212-1212\",\n    \"payment_terms\": 15,\n    \"invoice_fee_id\": 4,\n    \"invoicetemplate_id\": 1,\n    \"delivery_address\":{\n        \"postal_code\":\"112 21\",\n        \"city\":\"Stockholm\",\n        \"address\":\"Hantverkargatan 5\",\n        \"workarea_id\":\"2\"\n        \n    },\n    \"invoice_address\":{\n        \"postal_code\":\"112 21\",\n        \"city\":\"Stockholm\",\n        \"address\":\"Hantverkargatan 5\",\n        \"workarea_id\":\"2\"\n    }\n}"},"url":"{{Api-Url}}/clients","description":"<p>Add a client</p>\n","urlObject":{"path":["clients"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1989fb41-4977-4a15-bcea-be53e7c7dbb6"},{"name":"Add a Client (Company)","event":[{"listen":"test","script":{"id":"e2eb1b96-033b-4221-b7ee-b32783be5213","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"90498280-881c-4269-b3e9-24767f78cd1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"company_name\":\"My Company\",\n    \"personal_number\":\"556916-1234\",\n    \"clienttype_id\": 2,\n    \"payment_terms\": 15,\n    \"invoice_fee_id\": 4,\n    \"delivery_address\":{\n        \"postal_code\":\"112 21\",\n        \"city\":\"Stockholm\",\n        \"address\":\"Hantverkargatan 5\",\n        \"workarea_id\":\"2\"\n        \n    },\n    \"invoice_address\":{\n        \"postal_code\":\"112 21\",\n        \"city\":\"Stockholm\",\n        \"address\":\"Hantverkargatan 5\",\n        \"workarea_id\":\"2\"\n    }\n}"},"url":"{{Api-Url}}/clients","description":"<p>Add a client</p>\n","urlObject":{"path":["clients"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"90498280-881c-4269-b3e9-24767f78cd1e"},{"name":"Client by Email","event":[{"listen":"test","script":{"id":"71774e9a-6d7d-4c0a-b915-f6524eb474b5","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"71fd87aa-4b19-4482-8896-641cfdd83b03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/email/test@test.se","description":"<p>Get a client by its email</p>\n","urlObject":{"path":["clients","email","test@test.se"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"71fd87aa-4b19-4482-8896-641cfdd83b03"},{"name":"All active Clients","event":[{"listen":"test","script":{"id":"c3db44cc-51ae-404c-81c0-03e72453775e","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c85c879c-d364-40e4-addf-3346deabea57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/all/active","description":"<p>Get a client by its email</p>\n","urlObject":{"path":["clients","all","active"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c85c879c-d364-40e4-addf-3346deabea57"},{"name":"Client by SSN","event":[{"listen":"test","script":{"id":"bebf186d-2357-43cc-80dc-1a401e99626a","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"58b7ade5-db88-4982-b8a8-e2ca7c0c7bfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/personalnumber/19121212-1212","description":"<p>Get a client by its social security number</p>\n","urlObject":{"path":["clients","personalnumber","19121212-1212"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"58b7ade5-db88-4982-b8a8-e2ca7c0c7bfe"},{"name":"Client by SSN with extended info","event":[{"listen":"test","script":{"id":"49ef59af-b837-4fe8-8539-ccfe7f14b071","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"dfe28961-b32c-489e-9e36-34b9dc2a8afe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/personalnumber/19121212-1212?extendedInfo=Y","description":"<p>Get a client by its social security number</p>\n","urlObject":{"path":["clients","personalnumber","19121212-1212"],"host":["{{Api-Url}}"],"query":[{"key":"extendedInfo","value":"Y"}],"variable":[]}},"response":[],"_postman_id":"dfe28961-b32c-489e-9e36-34b9dc2a8afe"},{"name":"Client by Number","event":[{"listen":"test","script":{"id":"81858be0-f55e-4b52-9419-68e558b23333","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0d84c15d-73e5-418f-a71a-e7c8eb544338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/number/1","description":"<p>Get a client by its number</p>\n","urlObject":{"path":["clients","number","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d84c15d-73e5-418f-a71a-e7c8eb544338"},{"name":"Client by Number with extended info","event":[{"listen":"test","script":{"id":"c9878d56-4b5c-40aa-b8e2-1579218f6542","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"4305844b-fe66-4bf1-852b-f05cfd96ab94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clients/number/1?extendedInfo=Y","description":"<p>Get a client by its number</p>\n","urlObject":{"path":["clients","number","1"],"host":["{{Api-Url}}"],"query":[{"key":"extendedInfo","value":"Y"}],"variable":[]}},"response":[],"_postman_id":"4305844b-fe66-4bf1-852b-f05cfd96ab94"},{"name":"Client Update","event":[{"listen":"test","script":{"id":"84c7ad9c-2916-45eb-9aa9-86457806793c","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e4f288e1-e92f-449e-89c5-15f3539cb81a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\":\"Testmas\",\n    \"last_name\":\"Testsson\",\n    \"bank_id\":\"2\",\n    \"invoicetemplate_id\":\"2\"\n}"},"url":"{{Api-Url}}/clients/1","description":"<p>Update a client</p>\n","urlObject":{"path":["clients","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4f288e1-e92f-449e-89c5-15f3539cb81a"},{"name":"Add Contact","event":[{"listen":"test","script":{"id":"f255ff21-8690-4301-a3a3-19633c91b832","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"892d11ea-0960-4d1a-b81b-55e567b75821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\":\"Kontakt2\",\n    \"last_name\":\"Kontaktsson2\",\n    \"personal_number\":\"19121212-1212\",\n    \"parent_id\": 1\n}"},"url":"{{Api-Url}}/clients","description":"<p>Add a contact to a client</p>\n","urlObject":{"path":["clients"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"892d11ea-0960-4d1a-b81b-55e567b75821"}],"id":"051ff2e5-8141-4abf-8134-0f206eafa545","description":"<p>The Clients Resource</p>\n","_postman_id":"051ff2e5-8141-4abf-8134-0f206eafa545"},{"name":"Clienttypes","item":[{"name":"Clienttype by ID","event":[{"listen":"test","script":{"id":"400d1354-4036-46aa-b344-7c587e63d189","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"ec830681-e654-4f39-bdb3-75b684b856f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clienttypes/3","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clienttypes","3"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec830681-e654-4f39-bdb3-75b684b856f1"},{"name":"New Clienttype","id":"a192987a-d0d5-417b-8a5b-0e06aa9634eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Senaste typen\"\n}"},"url":"{{Api-Url}}/clienttypes","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clienttypes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a192987a-d0d5-417b-8a5b-0e06aa9634eb"},{"name":"All Clienttypes","event":[{"listen":"test","script":{"id":"023260ce-045b-47c2-8c61-64ad3e66a353","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"4ea3828b-bfc2-4036-8f80-e2bd15fc7214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/clienttypes/all","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clienttypes","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ea3828b-bfc2-4036-8f80-e2bd15fc7214"},{"name":"Update Clienttype","event":[{"listen":"test","script":{"id":"552fa560-20ac-4f25-ab1c-847422f3df50","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"20199fcc-58ee-4ce6-a1e5-3228d8d6e144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Gamla Kunder\"\n}"},"url":"{{Api-Url}}/clienttypes/3","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clienttypes","3"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"20199fcc-58ee-4ce6-a1e5-3228d8d6e144"},{"name":"Delete A Clienttype","event":[{"listen":"test","script":{"id":"1124e828-3d43-4ba3-bf03-f684c83888c5","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"3ca021e7-040f-4af8-b051-ac8f79dfbfc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"new name","type":"text","disabled":true}]},"url":"{{Api-Url}}/clienttypes/4","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["clienttypes","4"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ca021e7-040f-4af8-b051-ac8f79dfbfc7"}],"id":"dbf390a4-9022-4ac9-9e27-d896e82ba208","_postman_id":"dbf390a4-9022-4ac9-9e27-d896e82ba208","description":""},{"name":"TagGroups","item":[{"name":"TagGroup by ID","event":[{"listen":"test","script":{"id":"1823d2c5-0650-4baa-ac88-16918fc74d6f","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e8a61906-b25b-4c6f-8497-0128fa85c982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/taggroups/6","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["taggroups","6"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8a61906-b25b-4c6f-8497-0128fa85c982"},{"name":"New TagGroup","id":"fc3b1968-8501-41bc-aa74-79174cf9dfde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New TagGroup\"\n}"},"url":"{{Api-Url}}/taggroups","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["taggroups"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc3b1968-8501-41bc-aa74-79174cf9dfde"},{"name":"All TagGroups","event":[{"listen":"test","script":{"id":"e4090e02-2fad-45f2-8d84-35094468eb26","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6fa3a1ef-b9a7-409a-a7a4-6489e762c2bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/taggroups/all","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["taggroups","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fa3a1ef-b9a7-409a-a7a4-6489e762c2bd"},{"name":"Update TagGroup","event":[{"listen":"test","script":{"id":"089cf3c4-c6e0-4adb-a0db-10a6778fd4bb","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"5b7c8ff6-ea42-4852-b1e5-9f5e0e5594e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Old TagGroup\"\n}"},"url":"{{Api-Url}}/taggroups/6","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["taggroups","6"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b7c8ff6-ea42-4852-b1e5-9f5e0e5594e7"},{"name":"Delete a TagGroup","event":[{"listen":"test","script":{"id":"88685eff-25b5-46f2-b655-74198db09e2e","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"32b0cd1a-f565-4e81-aeb1-04c79770deba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"new name","type":"text"}]},"url":"{{Api-Url}}/taggroups/6","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["taggroups","6"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32b0cd1a-f565-4e81-aeb1-04c79770deba"}],"id":"ec286a14-a37b-4c01-b86d-fc5a6e5e979c","_postman_id":"ec286a14-a37b-4c01-b86d-fc5a6e5e979c","description":""},{"name":"Tags","item":[{"name":"Tag by ID","event":[{"listen":"test","script":{"id":"cafcb40b-3a04-449c-83b8-14e2d2564d67","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"128e9a72-8fd8-44b7-896a-0bebf96292ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/tags/1","urlObject":{"path":["tags","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"128e9a72-8fd8-44b7-896a-0bebf96292ce"},{"name":"All Tags","event":[{"listen":"test","script":{"id":"57eec3a6-8f86-4a63-bbcf-5811b8c541e3","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"f8044770-7a11-433b-98cd-c8d8a8f3524d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/tags/all","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["tags","all"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8044770-7a11-433b-98cd-c8d8a8f3524d"},{"name":"All Tags by TagGroup","event":[{"listen":"test","script":{"id":"f47e3d95-76fa-48e2-84a5-5f9b43ce9835","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2f022577-9fd8-4e61-bcfa-251f40acb0cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/tags/taggroup/3","description":"<p>Get a client by its ID</p>\n","urlObject":{"path":["tags","taggroup","3"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f022577-9fd8-4e61-bcfa-251f40acb0cd"},{"name":"All Tags related to resource","event":[{"listen":"test","script":{"id":"03eee680-3fdc-4f30-9f2c-26b629a22985","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"b8b88905-494a-428d-96f0-fd24f1472d1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/tags/resource/employees/820","urlObject":{"path":["tags","resource","employees","820"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8b88905-494a-428d-96f0-fd24f1472d1e"},{"name":"Relate tag to resource","event":[{"listen":"test","script":{"id":"d291ebe0-7464-4c0a-8665-e0cd7df2ff4c","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"1bc3d731-2a36-4173-8fc7-01bd8257c540","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{Api-Url}}/tags/relate/2/employees/3","description":"<p>Create a relation between a tag and a resource.</p>\n<p>Usage: /tags/relate/{tag_id}/{resource_name}/{resource_id}</p>\n","urlObject":{"path":["tags","relate","2","employees","3"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1bc3d731-2a36-4173-8fc7-01bd8257c540"},{"name":"Remove relation","event":[{"listen":"test","script":{"id":"f2ce29bb-65e3-4486-84ae-a07561a7c4ff","exec":["// tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"46d0cb51-71b1-4c53-996f-b81ba0028f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{Api-Url}}/tags/removerelation/2/employees/3","description":"<p>Remove a relation between a tag and resource.</p>\n<p>Usage: /tags/removerelation/{tag_id}/{resource_name}/{resource_id}</p>\n","urlObject":{"path":["tags","removerelation","2","employees","3"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"46d0cb51-71b1-4c53-996f-b81ba0028f0d"}],"id":"e824fdb5-fb56-4dea-8978-45dc40781849","_postman_id":"e824fdb5-fb56-4dea-8978-45dc40781849","description":""},{"name":"Employees","item":[{"name":"Employee by ID","event":[{"listen":"test","script":{"id":"c1204796-0c74-42d9-9bde-97e4fc3f8418","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e88a74c5-1692-432d-9d38-0ceb19ff2436","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/1","description":"<p>Get an employee by ID.</p>\n<p><em>Notes</em></p>\n<ul>\n<li>´base_contract´ is not changeable.</li>\n</ul>\n","urlObject":{"path":["employees","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"ddfb7c7f-96e9-4b36-84df-d3e25f05e973","name":"Employee by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/employees/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"490","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 09:01:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1493","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"61","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"number\":1040,\"first_name\":\"Anders\",\"last_name\":\"Andersson\",\"personal_number\":\"19121212-1212\",\"email\":\"\",\"deleted\":\"N\",\"status\":1,\"phone\":\"\",\"mobile\":\"\",\"workphone\":\"\",\"experience\":\"\",\"car\":\"CAR\",\"address\":\"V\\u00e4gen 3\",\"co_address\":\"\",\"postal_code\":11221,\"city\":\"Stockholm\",\"employeecontract_id\":1,\"driver_licenses\":\"C,D\",\"base_contract\":{\"name\":\"\",\"occupation\":100,\"salary_hourlyrate\":100,\"salary_monthlyrate\":0,\"experience\":10,\"extra\":2,\"overtime\":13,\"amf\":\"k\",\"deleted\":\"N\"}}]"}],"_postman_id":"e88a74c5-1692-432d-9d38-0ceb19ff2436"},{"name":"New Employee","event":[{"listen":"test","script":{"id":"3e9647c9-022b-4113-8de8-fc25c67f0542","exec":[""],"type":"text/javascript"}}],"id":"82492a7f-63c3-4059-9b1f-622555c24156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Test2\",\n\t\"last_name\": \"Testsson2\",\n\t\"email\": \"test2@gmail.com\",\n\t\"type_of_employment\": \"hour\",\n\t\"drivers_licenses\": \"A,B,C\",\n\t\"salary_taxrate\": \"32\",\n\t\"primary_workarea_id\": 1\n}"},"url":"{{Api-Url}}/employees","description":"<p>Get an employee by ID.</p>\n<p><em>Notes</em></p>\n<ul>\n<li>´base_contract´ is not changeable.</li>\n</ul>\n","urlObject":{"path":["employees"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"82492a7f-63c3-4059-9b1f-622555c24156"},{"name":"Employee Update","event":[{"listen":"test","script":{"id":"8bc72b68-eff2-41d0-9e48-6ae1c1b6777f","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"caa9dd06-d105-4470-bd63-08aa2dd5f86f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"New Firstname\",\n    \"last_name\": \"New Lastname\",\n    \"type_of_employment\": \"hour\",\n    \"criminal_records\": \"applied\",\n    \"salary_taxrate\": \"31\"\n}"},"url":"{{Api-Url}}/employees/1","urlObject":{"path":["employees","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"caa9dd06-d105-4470-bd63-08aa2dd5f86f"},{"name":"Employee - Get related workareas","event":[{"listen":"test","script":{"id":"adb0c9c7-6073-4315-9638-67fc4c2d9098","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c2e8bcd3-1778-4382-8e97-b3016f9c194b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{Api-Url}}/employees/relatedworkareas/1","urlObject":{"path":["employees","relatedworkareas","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"3e1c1c52-699e-4680-ba50-865fa5d32aa7","name":"Employee - Get related workareas","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"}],"url":"http://api.timewave/employees/relatedworkareas/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"373","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 14 May 2018 09:53:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1491","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"78","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":2,\"name\":\"Omr\\u00e5de 2\",\"description\":null,\"number\":\"\",\"address\":\"\",\"postal_code\":\"\",\"city\":\"\",\"phone\":\"\",\"www\":\"\",\"email\":\"\",\"workareagroup_id\":0,\"responsible_employee_id\":null},{\"id\":3,\"name\":\"Omr\\u00e5de 3\",\"description\":null,\"number\":\"\",\"address\":\"\",\"postal_code\":\"\",\"city\":\"\",\"phone\":\"\",\"www\":\"\",\"email\":\"\",\"workareagroup_id\":0,\"responsible_employee_id\":null}]"}],"_postman_id":"c2e8bcd3-1778-4382-8e97-b3016f9c194b"},{"name":"Employee Workarea managers Client","event":[{"listen":"test","script":{"id":"97e70adc-18ec-4cec-86aa-7e2f9b6bb869","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"68e97c38-f2cb-43f0-a9fa-78e68a9f7ec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{Api-Url}}/employees/workareamanagers/client/1","urlObject":{"path":["employees","workareamanagers","client","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"68e97c38-f2cb-43f0-a9fa-78e68a9f7ec4"},{"name":"Employee Workarea managers Workarea","event":[{"listen":"test","script":{"id":"fedb5893-067e-4d15-a4c4-edaab98edfa9","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"f8f63810-9bd8-4d41-a056-b721abd6a509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/workareamanagers/workarea/2","urlObject":{"path":["employees","workareamanagers","workarea","2"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8f63810-9bd8-4d41-a056-b721abd6a509"},{"name":"Employee Picture","event":[{"listen":"test","script":{"id":"79fb404e-0103-4a10-bd10-6e062a16fa24","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"7f978294-9c6d-4bf6-8208-b246ef4df39d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/26/picture","urlObject":{"path":["employees","26","picture"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f978294-9c6d-4bf6-8208-b246ef4df39d"},{"name":"Relate workarea to employee","event":[{"listen":"test","script":{"id":"db525464-505c-47b7-a257-10a2956291d3","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;"],"type":"text/javascript"}}],"id":"3a778e6c-73ee-49b0-95ba-9a347d10acb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"employee_id\":1,\"workarea_id\":[2,3]}"},"url":"{{Api-Url}}/employees/relatedworkareas","description":"<p>Create a relation between an and a workarea.</p>\n<p>Usage: POST /employees/relatedworkarea\nJson payload: {\n    'employee_id': 1,\n    'workarea_id': [1,2,3]\n    // OR for a single workarea\n    'workarea_id': 3\n}</p>\n","urlObject":{"path":["employees","relatedworkareas"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a778e6c-73ee-49b0-95ba-9a347d10acb6"},{"name":"Remove related workarea","event":[{"listen":"test","script":{"id":"f2ce29bb-65e3-4486-84ae-a07561a7c4ff","exec":["// tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"71b74624-e002-43e0-b7bb-4f0539d12041","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"employee_id\": 1, \"workarea_id\": 3}"},"url":"{{Api-Url}}/employees/relatedworkareas","description":"<p>Remove a relation between an and a workarea.</p>\n<p>Usage: DELETE /employees/relatedworkarea\nJson payload: {\n    'employee_id': 1,\n    'workarea_id': [1,2,3]\n    // OR for a single workarea\n    'workarea_id': 3\n}</p>\n","urlObject":{"path":["employees","relatedworkareas"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"71b74624-e002-43e0-b7bb-4f0539d12041"},{"name":"Relate service to employee","event":[{"listen":"test","script":{"id":"aa4abc11-05c6-45ad-b62c-44be219735a3","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;"],"type":"text/javascript"}}],"id":"18fc7a2c-fdb8-4c58-896e-8a455887a59f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"employee_id\":3,\"service_id\":[1,2]}"},"url":"{{Api-Url}}/employees/relatedservices","description":"<p>Create a relation between an and a workarea.</p>\n<p>Usage: POST /employees/relatedworkarea\nJson payload: {\n    'employee_id': 1,\n    'workarea_id': [1,2,3]\n    // OR for a single workarea\n    'workarea_id': 3\n}</p>\n","urlObject":{"path":["employees","relatedservices"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18fc7a2c-fdb8-4c58-896e-8a455887a59f"},{"name":"Remove related service","event":[{"listen":"test","script":{"id":"f2ce29bb-65e3-4486-84ae-a07561a7c4ff","exec":["// tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"eba1100c-7830-4de1-bd52-8c78d414908c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"employee_id\": 820, \"service_id\": 72}"},"url":"{{Api-Url}}/employees/relatedservices","description":"<p>Remove a relation between an and a workarea.</p>\n<p>Usage: DELETE /employees/relatedworkarea\nJson payload: {\n    'employee_id': 1,\n    'workarea_id': [1,2,3]\n    // OR for a single workarea\n    'workarea_id': 3\n}</p>\n","urlObject":{"path":["employees","relatedservices"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eba1100c-7830-4de1-bd52-8c78d414908c"},{"name":"Get all related services on employee","event":[{"listen":"test","script":{"id":"3d6d0d99-c1de-49aa-8dce-138aa3eed6da","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2587a5cc-9f0a-43d9-8299-80f649bcf6c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/relatedservices/820","description":"<p>Create a relation between an and a workarea.</p>\n<p>Usage: POST /employees/relatedworkarea\nJson payload: {\n    'employee_id': 1,\n    'workarea_id': [1,2,3]\n    // OR for a single workarea\n    'workarea_id': 3\n}</p>\n","urlObject":{"path":["employees","relatedservices","820"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"d565a320-3c6e-4aee-b459-24cf1853aeb6","name":"Get all related services on employee","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/services/employees/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"1016","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 08 May 2018 15:46:44 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1495","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"62","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":3,\"name\":\"Enkel hemst\\u00e4d\",\"description\":\"\",\"deleted\":\"N\",\"price\":125,\"min_price\":0,\"vat\":25,\"hourpot\":\"N\",\"hourpot_value\":0,\"show_in_invoice\":\"Y\",\"type\":{\"id\":1,\"name\":\"Invoice And Payroll\"},\"category\":{\"id\":1,\"name\":\"Kat1\",\"description\":\"\",\"color\":\"chocolate\",\"deleted\":\"N\"},\"account\":[],\"unit\":{\"id\":3,\"name\":\"kr\\/tim\"}},{\"id\":2,\"name\":\"Hemst\\u00e4d\",\"description\":\"\",\"deleted\":\"N\",\"price\":100,\"min_price\":0,\"vat\":25,\"hourpot\":\"N\",\"hourpot_value\":0,\"show_in_invoice\":\"Y\",\"type\":{\"id\":1,\"name\":\"Invoice And Payroll\"},\"category\":{\"id\":1,\"name\":\"Kat1\",\"description\":\"\",\"color\":\"chocolate\",\"deleted\":\"N\"},\"account\":[],\"unit\":{\"id\":3,\"name\":\"kr\\/tim\"}},{\"id\":1,\"name\":\"Tj\\u00e4nst1\",\"description\":\"Material 1 new description\",\"deleted\":\"N\",\"price\":100,\"min_price\":0,\"vat\":25,\"hourpot\":\"N\",\"hourpot_value\":0,\"show_in_invoice\":\"Y\",\"type\":{\"id\":1,\"name\":\"Invoice And Payroll\"},\"category\":{\"id\":1,\"name\":\"Kat1\",\"description\":\"\",\"color\":\"chocolate\",\"deleted\":\"N\"},\"account\":[],\"unit\":{\"id\":1,\"name\":\"kr\\/styck\"}}]"}],"_postman_id":"2587a5cc-9f0a-43d9-8299-80f649bcf6c5"},{"name":"Employees without tags in taggroup","event":[{"listen":"test","script":{"id":"c1204796-0c74-42d9-9bde-97e4fc3f8418","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"72c6d0dd-f9dd-4d3e-8b45-700b7c7724e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/withouttags/1","description":"<p>Get all employees that don't have tags related in supplied taggroup.</p>\n","urlObject":{"path":["employees","withouttags","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72c6d0dd-f9dd-4d3e-8b45-700b7c7724e7"},{"name":"Employees with multiple tags in taggroup","event":[{"listen":"test","script":{"id":"c1204796-0c74-42d9-9bde-97e4fc3f8418","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"989fd3ca-1ea3-40ca-bb74-9daab2360d35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/employees/withmultipletags/1","description":"<p>Get all employees that have multiple tags in taggroup.</p>\n","urlObject":{"path":["employees","withmultipletags","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"989fd3ca-1ea3-40ca-bb74-9daab2360d35"}],"id":"a31e383d-d023-4e06-b7b2-a9ef3703c06c","_postman_id":"a31e383d-d023-4e06-b7b2-a9ef3703c06c","description":""},{"name":"Holidays","item":[{"name":"2015","event":[{"listen":"test","script":{"id":"81c322b2-c8be-4038-bf96-538d4b4f04db","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"b54cea01-1089-47ba-87c8-f66c3ebc7954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/holidays/2019","urlObject":{"path":["holidays","2019"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b54cea01-1089-47ba-87c8-f66c3ebc7954"}],"id":"14db8873-faaa-4a4f-8919-53674ed8029f","_postman_id":"14db8873-faaa-4a4f-8919-53674ed8029f","description":""},{"name":"Invoices","item":[{"name":"Invoices by clientID","event":[{"listen":"test","script":{"id":"f6b031be-7007-4376-be2d-da28f432362a","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"8fe3e1c7-4b73-41bc-989b-61b0107dcba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/invoices/client/1","urlObject":{"path":["invoices","client","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fe3e1c7-4b73-41bc-989b-61b0107dcba0"},{"name":"Invoice fees","event":[{"listen":"test","script":{"id":"afa213d6-33e5-470d-be39-f38e68fcc204","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"113c568b-a175-4d28-a144-28d41e8bbb8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/invoices/fees","urlObject":{"path":["invoices","fees"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"113c568b-a175-4d28-a144-28d41e8bbb8f"},{"name":"Invoices by ID","event":[{"listen":"test","script":{"id":"5b3a44bf-676f-448e-968d-158b81dd6579","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a6cdde25-95ed-4541-9178-af91dbbde75f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/invoices/1","urlObject":{"path":["invoices","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6cdde25-95ed-4541-9178-af91dbbde75f"}],"id":"ca5649c6-c135-4edf-baa7-4fe18e0b9289","_postman_id":"ca5649c6-c135-4edf-baa7-4fe18e0b9289","description":""},{"name":"Issues","item":[{"name":"Issues by ID","event":[{"listen":"test","script":{"id":"bf8b6bf2-ac07-480e-af44-aad50a7fd398","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a765dd2d-89a9-4bae-848c-f33f36ff9656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/issues/1","urlObject":{"path":["issues","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"6848a124-bc9d-4466-b83a-9879192c6aec","name":"Issues by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/issues/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"476","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 31 May 2018 06:47:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1499","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"300","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"number\":1,\"employee_id\":0,\"created_by_id\":-2,\"client_id\":0,\"followup_date\":\"0000-00-00\",\"created_at\":\"2018-05-03 14:49:49\",\"last_modified\":\"2018-05-03 14:49:49\",\"status_id\":1,\"priority_id\":1,\"type_id\":3,\"channel_id\":3,\"subject\":\"Test\",\"content\":\"Test\",\"deleted\":\"N\",\"status\":{\"id\":1,\"name\":\"Ny\",\"state\":\"N\"},\"priority\":{\"id\":1,\"name\":\"Ingen\",\"priority\":6},\"type\":{\"id\":3,\"name\":\"F\\u00f6rs\\u00e4kring\",\"deleted\":\"N\"},\"channel\":{\"id\":3,\"name\":\"E-post\"},\"comments\":[]}]"}],"_postman_id":"a765dd2d-89a9-4bae-848c-f33f36ff9656"},{"name":"Issue by number","event":[{"listen":"test","script":{"id":"bf8b6bf2-ac07-480e-af44-aad50a7fd398","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"bfade7bc-55b0-49a5-bd48-265bc063297f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/issues/1","urlObject":{"path":["issues","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"8973761c-1675-4508-befb-315e5b719874","name":"Issues by ID","originalRequest":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"url":"http://api.timewave/issues/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"476","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 31 May 2018 06:47:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"TimeWave API","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-RateLimit-Limit","value":"1500","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"1499","name":"X-RateLimit-Remaining","description":"Custom header"},{"key":"X-RateLimit-Reset","value":"300","name":"X-RateLimit-Reset","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"[{\"id\":1,\"number\":1,\"employee_id\":0,\"created_by_id\":-2,\"client_id\":0,\"followup_date\":\"0000-00-00\",\"created_at\":\"2018-05-03 14:49:49\",\"last_modified\":\"2018-05-03 14:49:49\",\"status_id\":1,\"priority_id\":1,\"type_id\":3,\"channel_id\":3,\"subject\":\"Test\",\"content\":\"Test\",\"deleted\":\"N\",\"status\":{\"id\":1,\"name\":\"Ny\",\"state\":\"N\"},\"priority\":{\"id\":1,\"name\":\"Ingen\",\"priority\":6},\"type\":{\"id\":3,\"name\":\"F\\u00f6rs\\u00e4kring\",\"deleted\":\"N\"},\"channel\":{\"id\":3,\"name\":\"E-post\"},\"comments\":[]}]"}],"_postman_id":"bfade7bc-55b0-49a5-bd48-265bc063297f"},{"name":"Issues by Type (client/employee/...) And Status","event":[{"listen":"test","script":{"id":"897f723e-1615-4098-afb6-4a6a623050f7","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"85e90ed5-9e10-43b7-afc3-ecb1e83bdcda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/issues/by/client/open/22","urlObject":{"path":["issues","by","client","open","22"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"85e90ed5-9e10-43b7-afc3-ecb1e83bdcda"},{"name":"Add Issues","event":[{"listen":"test","script":{"id":"eeae5f0e-7214-45ec-acd1-66624b472df5","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"a6e2839e-fe24-4793-b39c-d6acce3514d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\":1,\n    \"employee_id\":2,\n    \"created_by_id\":1,\n    \"type_id\": 4,\n    \"subject\":\"Test subject for new issue 4\",\n    \"content\":\"Content for test issue 4\",\n    \"time_tracking\":\"02:24\"\n}"},"url":"{{Api-Url}}/issues","urlObject":{"path":["issues"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6e2839e-fe24-4793-b39c-d6acce3514d2"},{"name":"Add Issues - No timetracking","event":[{"listen":"test","script":{"id":"021d70d8-2f86-4d6b-bd6a-d6b1e023ed28","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"819cdb5e-8585-45a0-ba25-839d01b6ba3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\":1,\n    \"employee_id\":2,\n    \"created_by_id\":1,\n    \"status_id\":1,\n    \"priority_id\":3,\n    \"type_id\":1,\n    \"channel_id\":1,\n    \"subject\":\"Test subject for new issue\",\n    \"content\":\"Content for test issue\"\n}"},"url":"{{Api-Url}}/issues","urlObject":{"path":["issues"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"819cdb5e-8585-45a0-ba25-839d01b6ba3a"},{"name":"Add Issues - Minimal info","event":[{"listen":"test","script":{"id":"82e82143-01df-46b4-be7b-b019706d7691","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"d8a4e94a-764c-4db0-8910-a53f3041f586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status_id\":1,\n    \"priority_id\":3,\n    \"type_id\":1,\n    \"channel_id\":1,\n    \"subject\":\"Test subject for new issue\",\n    \"content\":\"Content for test issue\"\n}"},"url":"{{Api-Url}}/issues","urlObject":{"path":["issues"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8a4e94a-764c-4db0-8910-a53f3041f586"},{"name":"Update Issue","event":[{"listen":"test","script":{"id":"6bc7dc2c-11ec-4e1f-a62b-bbc62dded9f3","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"aecb26cb-1a16-4faf-ac23-bb7a0da0fc01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"subject\":\"Test subject for new issue 4\",\n    \"content\":\"Content for test issue 4\"\n}"},"url":"{{Api-Url}}/issues/1","urlObject":{"path":["issues","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aecb26cb-1a16-4faf-ac23-bb7a0da0fc01"}],"id":"107e47f7-e358-4c49-bdcd-7379d69507d4","_postman_id":"107e47f7-e358-4c49-bdcd-7379d69507d4","description":""},{"name":"Missions","item":[{"name":"Missions by Period","event":[{"listen":"test","script":{"id":"0efdef45-1833-4b51-8558-1a0068da1317","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"271c69b6-b408-4cd8-8791-1a9e5f2b06b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/missions/period/2018-03-01/2018-04-10","urlObject":{"path":["missions","period","2018-03-01","2018-04-10"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"271c69b6-b408-4cd8-8791-1a9e5f2b06b3"},{"name":"Missions by ClientID and Period","event":[{"listen":"test","script":{"id":"d608ce25-7d85-47ee-884c-5556e8505da8","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a698038d-69ec-4150-9531-910b9a368a3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/missions/client/1/2015-09-20/2015-12-15","urlObject":{"path":["missions","client","1","2015-09-20","2015-12-15"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a698038d-69ec-4150-9531-910b9a368a3d"},{"name":"Missions by ClientID and Period (+cancelled)","event":[{"listen":"test","script":{"id":"7fdf4f14-68e3-4543-bc47-13ba487bbf41","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"d9f53812-a38d-4811-b1fb-d10862be91ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/missions/client/1/2015-12-02/2015-12-05?cancelled=Y","urlObject":{"path":["missions","client","1","2015-12-02","2015-12-05"],"host":["{{Api-Url}}"],"query":[{"key":"cancelled","value":"Y"}],"variable":[]}},"response":[],"_postman_id":"d9f53812-a38d-4811-b1fb-d10862be91ba"}],"id":"3239fb96-ab0c-481a-a6a7-b73941f246f7","_postman_id":"3239fb96-ab0c-481a-a6a7-b73941f246f7","description":""},{"name":"Notes","item":[{"name":"Get All Notes - Workorder","id":"661bf2d9-3fc1-43e5-a1bb-bbfdf1fc4d49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/notes/workorders/1","urlObject":{"path":["notes","workorders","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"661bf2d9-3fc1-43e5-a1bb-bbfdf1fc4d49"},{"name":"Add Note - Workorder (mission)","event":[{"listen":"test","script":{"id":"b2b55f92-39eb-405a-8285-d8132081170a","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"22472867-fa68-420b-9078-d3a08e407748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"resource_name\": \"workorders\",\n    \"resource_id\": 1,\n    \"employee_id\": 1,\n    \"employee_name\": \"Tomas Berglund\",\n    \"employee_number\": 10,\n    \"type\": \"MISSION\",\n    \"subject\": \"Testnote\",\n    \"content\": \"This is the content\"\n}"},"url":"{{Api-Url}}/notes","urlObject":{"path":["notes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22472867-fa68-420b-9078-d3a08e407748"},{"name":"Add Note - Workorder (mission) All fields","event":[{"listen":"test","script":{"id":"0c6a7d6e-9e06-4c38-a4b4-6ccf5d572238","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"6c06e4e3-c31d-4c3c-85b3-0d3079d9ee80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"resource_name\": \"workorders\",\n    \"resource_id\": 1,\n    \"employee_id\": 1,\n    \"employee_name\": \"Tomas Berglund\",\n    \"employee_number\": 10,\n    \"type\": \"MISSION\",\n    \"subject\": \"Testnote\",\n    \"content\": \"This is the content\",\n    \"important\": \"N\",\n    \"public\": \"N\",\n    \"deleted\": \"N\",\n    \"closed\": \"N\"\n}"},"url":"{{Api-Url}}/notes","urlObject":{"path":["notes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c06e4e3-c31d-4c3c-85b3-0d3079d9ee80"},{"name":"Add Note - Workorder (admin)","event":[{"listen":"test","script":{"id":"df69771b-668a-40cc-99dc-6da5672edf4b","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"da14a833-b91b-4763-84f6-ff949b24a0c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"resource_name\": \"workorders\",\n    \"resource_id\": 1,\n    \"employee_id\": 1,\n    \"employee_name\": \"Tomas Berglund\",\n    \"employee_number\": 10,\n    \"type\": \"ADMIN\",\n    \"subject\": \"Testnote\",\n    \"content\": \"This is the content\"\n}"},"url":"{{Api-Url}}/notes","urlObject":{"path":["notes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da14a833-b91b-4763-84f6-ff949b24a0c1"},{"name":"Add Note - Workorderline (mission)","event":[{"listen":"test","script":{"id":"c681ff12-f9fd-4e49-b62c-f36adf597c39","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"b76d8b3a-d8bb-4417-80fb-b428de202229","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"resource_name\": \"workorderlines\",\n    \"resource_id\": 58,\n    \"employee_id\": 1,\n    \"employee_name\": \"Tomas Berglund\",\n    \"employee_number\": 10,\n    \"type\": \"MISSION\",\n    \"subject\": \"Testnote\",\n    \"content\": \"This is the content\"\n}"},"url":"{{Api-Url}}/notes","urlObject":{"path":["notes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b76d8b3a-d8bb-4417-80fb-b428de202229"},{"name":"Add Note - Workorderline (mission) All Fields","event":[{"listen":"test","script":{"id":"f4a9c59c-1b7d-4620-88bf-ce707b33a273","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"e81a5210-d544-4e9d-a45e-71c88aa91d70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"resource_name\": \"workorderlines\",\n    \"resource_id\": 58,\n    \"employee_id\": 1,\n    \"employee_name\": \"Tomas Berglund\",\n    \"employee_number\": 10,\n    \"type\": \"MISSION\",\n    \"subject\": \"Testnote\",\n    \"content\": \"This is the content\",\n    \"important\": \"N\",\n    \"public\": \"N\",\n    \"deleted\": \"N\",\n    \"closed\": \"N\"\n}"},"url":"{{Api-Url}}/notes","urlObject":{"path":["notes"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e81a5210-d544-4e9d-a45e-71c88aa91d70"},{"name":"Get All Notes - Workorderline","id":"b8558e44-fcea-4c90-9091-4bed2717f74a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/notes/workorderlines/58","urlObject":{"path":["notes","workorderlines","58"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8558e44-fcea-4c90-9091-4bed2717f74a"},{"name":"Get Note By ID","id":"4f24a965-6eb2-443b-ad65-566b939a3d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/notes/28","urlObject":{"path":["notes","28"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f24a965-6eb2-443b-ad65-566b939a3d31"}],"id":"6cc3c0a7-1aac-4674-b874-444bc105e80e","_postman_id":"6cc3c0a7-1aac-4674-b874-444bc105e80e","description":""},{"name":"RateLimit","item":[{"name":"RateLimit","event":[{"listen":"test","script":{"id":"da69c2be-4571-4a69-bc78-fb1a388be6e3","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"898193b2-6837-4219-b045-3d89f103c79e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/ratelimit","urlObject":{"path":["ratelimit"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"898193b2-6837-4219-b045-3d89f103c79e"}],"id":"c546a8b6-b235-48b1-a7e9-ddffc9c93b18","_postman_id":"c546a8b6-b235-48b1-a7e9-ddffc9c93b18","description":""},{"name":"Services","item":[{"name":"Services by ID","event":[{"listen":"test","script":{"id":"6d148ed1-ce30-4943-84a2-f311f1fa1691","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"818f5d2f-3074-4f2a-a604-eedd8e3cbcfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/services/1","urlObject":{"path":["services","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"818f5d2f-3074-4f2a-a604-eedd8e3cbcfc"},{"name":"All Services","event":[{"listen":"test","script":{"id":"11c2039f-03c1-4994-ac28-85d524fc6c13","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"d1ea9c8c-0255-41d5-89bc-9ec9a07eb6a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/services","urlObject":{"path":["services"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1ea9c8c-0255-41d5-89bc-9ec9a07eb6a2"}],"id":"c27e80f5-e31b-4145-a21a-dc65198ad8b8","_postman_id":"c27e80f5-e31b-4145-a21a-dc65198ad8b8","description":""},{"name":"Workareas","item":[{"name":"Workarea by ID","event":[{"listen":"test","script":{"id":"040ce530-abc2-40d4-aae1-0bba3465912b","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"60c3375e-9655-453f-92d9-bb258ec12cb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workareas/1","urlObject":{"path":["workareas","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60c3375e-9655-453f-92d9-bb258ec12cb5"},{"name":"All Workareas","event":[{"listen":"test","script":{"id":"f12fcd14-bd08-4065-b9fb-fdd4b870eae8","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"08e72a5b-e56e-4861-a328-18b31daf9d53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workareas","urlObject":{"path":["workareas"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"08e72a5b-e56e-4861-a328-18b31daf9d53"}],"id":"cdac69fe-17c5-434c-9e87-80a8b67f4e47","_postman_id":"cdac69fe-17c5-434c-9e87-80a8b67f4e47","description":""},{"name":"WorkorderGroup","item":[{"name":"WorkorderGroup by ID","event":[{"listen":"test","script":{"id":"43059364-7416-4220-ba34-dbf5602a0d1e","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c3cb8d27-9745-4c05-86b1-051cdb5c0fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workordergroups/1","urlObject":{"path":["workordergroups","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3cb8d27-9745-4c05-86b1-051cdb5c0fe6"},{"name":"Add WorkorderGroup","event":[{"listen":"test","script":{"id":"6b2071ca-77aa-4aad-9f85-be887e46edcb","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"c7a106f5-4473-487b-b257-98ab3eca3864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"from api group\",\"number\":\"666\",\"description\":\"none\"}"},"url":"{{Api-Url}}/workordergroups","urlObject":{"path":["workordergroups"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7a106f5-4473-487b-b257-98ab3eca3864"},{"name":"WorkorderGroup Update","event":[{"listen":"test","script":{"id":"c8efa586-074e-4994-8cdd-9f9e1ad459b3","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a879cb4f-f95e-40b3-8673-60cfb44f478b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"description\":\"yay a description\"}"},"url":"{{Api-Url}}/workordergroups/1","urlObject":{"path":["workordergroups","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a879cb4f-f95e-40b3-8673-60cfb44f478b"}],"id":"36aa1184-25a1-4379-8da2-295ce7c795d8","_postman_id":"36aa1184-25a1-4379-8da2-295ce7c795d8","description":""},{"name":"Workorderlines","item":[{"name":"Workorderline by ID","event":[{"listen":"test","script":{"id":"0dba15b7-b261-4891-b19e-24dd1eb2ba84","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6e0d6d08-b06f-45c4-b70d-08d0ff1710b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorderlines/2","urlObject":{"path":["workorderlines","2"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e0d6d08-b06f-45c4-b70d-08d0ff1710b0"},{"name":"Add Workorderline - Single","event":[{"listen":"test","script":{"id":"f39f100d-fbf9-4d0b-8515-b33a276597b0","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"a08df49d-1b8a-41f7-83b2-6fa4617f0dba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"workorder_id\":\"662\",\r\n    \"start_date\":\"2018-06-01\",\r\n    \"start_time\":\"12:35\",\r\n    \"end_time\":\"15:00\",\r\n    \"price\":\"275\",\r\n    \"description\":\"additional line\",\r\n    \"service_id\":\"41\",\r\n    \"show_on_invoice\":\"N\"\r\n}"},"url":"{{Api-Url}}/workorderlines","urlObject":{"path":["workorderlines"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a08df49d-1b8a-41f7-83b2-6fa4617f0dba"},{"name":"Add Child Workorderline - Single","event":[{"listen":"test","script":{"id":"f39f100d-fbf9-4d0b-8515-b33a276597b0","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"d514199a-c949-491f-99aa-08c2d5af69cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"parent_id\":\"102\",\r\n    \"price\":\"275\",\r\n    \"description\":\"added childine\",\r\n    \"service_id\":\"48\",\r\n    \"show_on_invoice\":\"Y\"\r\n}"},"url":"{{Api-Url}}/workorderlines","urlObject":{"path":["workorderlines"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d514199a-c949-491f-99aa-08c2d5af69cb"},{"name":"Add Workorderline - Recurrent","event":[{"listen":"test","script":{"id":"8a22693f-9211-49d0-a0d0-4a7284925d38","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"9193ddef-f14d-49eb-a1b6-fb285715255f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"workorder_id\":\"1\",\r\n    \"recurrencyinterval_id\":\"3\",\r\n    \"start_date\":\"2018-06-01\",\r\n    \"end_date\":\"2018-07-01\",\r\n    \"start_time\":\"12:35\",\r\n    \"end_time\":\"15:00\",\r\n    \"price\":\"275\",\r\n    \"description\":\"additional line\",\r\n    \"service_id\":\"41\",\r\n    \"show_on_invoice\":\"N\"\r\n}"},"url":"{{Api-Url}}/workorderlines","description":"<p>Recurrent workorderline with end date.</p>\n","urlObject":{"path":["workorderlines"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[{"id":"24af1d37-78eb-4bc9-81eb-925e6fe41a73","name":"Add Workorderline - Recurrent with no end date","originalRequest":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"dev"},{"key":"Api-Key","value":"mykey"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"workorder_id\":\"1\",\r\n    \"recurrencyinterval_id\":\"3\",\r\n    \"start_date\":\"2017-11-01\",\r\n    \"infinite\": \"Y\",\r\n    \"start_time\":\"12:35\",\r\n    \"end_time\":\"15:00\",\r\n    \"price\":\"275\",\r\n    \"description\":\"additional line\",\r\n    \"service_id\":\"41\",\r\n    \"show_on_invoice\":\"N\"\r\n}"},"url":"http://api.timewave/workorderlines"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9193ddef-f14d-49eb-a1b6-fb285715255f"},{"name":"Add Workorderline - Recurrent Infinite","event":[{"listen":"test","script":{"id":"04fc4781-5257-485a-bffb-8a0286f61764","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"4599abbd-990d-4cd0-bf04-c553b829eabc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"workorder_id\":\"1\",\r\n    \"recurrencyinterval_id\":\"3\",\r\n    \"start_date\":\"2018-06-01\",\r\n    \"infinite\":\"Y\",\r\n    \"start_time\":\"12:35\",\r\n    \"end_time\":\"15:00\",\r\n    \"price\":\"275\",\r\n    \"description\":\"additional line\",\r\n    \"service_id\":\"41\",\r\n    \"show_on_invoice\":\"N\"\r\n}"},"url":"{{Api-Url}}/workorderlines","description":"<p>Recurrent workorderline without a end date.</p>\n","urlObject":{"path":["workorderlines"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4599abbd-990d-4cd0-bf04-c553b829eabc"}],"id":"d25df393-9207-4751-8ae7-792086eb3796","_postman_id":"d25df393-9207-4751-8ae7-792086eb3796","description":""},{"name":"Workorders","item":[{"name":"Workorder by ID","event":[{"listen":"test","script":{"id":"f14485e9-4bf8-43c8-81eb-77090e59c1b5","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"df5292b5-0713-441d-a45c-a4423b85db29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorders/1","urlObject":{"path":["workorders","1"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df5292b5-0713-441d-a45c-a4423b85db29"},{"name":"Workorder by ClientID","event":[{"listen":"test","script":{"id":"b372bb3f-4249-4f02-b6fd-772640eeb9b6","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c1e5c382-e799-495b-b3d1-67eadf54c964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorders/clientid/2","urlObject":{"path":["workorders","clientid","2"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1e5c382-e799-495b-b3d1-67eadf54c964"},{"name":"Workorder by ClientID with extended info","event":[{"listen":"test","script":{"id":"cd27f73e-6261-4de6-a6d5-6ceef57a2f8f","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"86e5a8d9-2a21-47b6-9f9d-6337b64b31a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorders/clientid/2?extendedInfo=Y","urlObject":{"path":["workorders","clientid","2"],"host":["{{Api-Url}}"],"query":[{"key":"extendedInfo","value":"Y"}],"variable":[]}},"response":[],"_postman_id":"86e5a8d9-2a21-47b6-9f9d-6337b64b31a0"},{"name":"Workorder by Number","event":[{"listen":"test","script":{"id":"0492bcec-8d73-40c7-b62b-53925c136fdc","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"62e34310-617f-4b9e-916c-a66f62244990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorders/number/17-000068","urlObject":{"path":["workorders","number","17-000068"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"62e34310-617f-4b9e-916c-a66f62244990"},{"name":"Workorder by Number with extended info","event":[{"listen":"test","script":{"id":"ac66f3e2-a4d2-47ad-b653-07d7d484fb33","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a81ca3c3-6e9e-411e-9067-1caff7e3e9d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/workorders/number/17-000068?extendedInfo=Y","urlObject":{"path":["workorders","number","17-000068"],"host":["{{Api-Url}}"],"query":[{"key":"extendedInfo","value":"Y"}],"variable":[]}},"response":[],"_postman_id":"a81ca3c3-6e9e-411e-9067-1caff7e3e9d6"},{"name":"Add Workorder","event":[{"listen":"test","script":{"id":"7cbd4156-916b-452b-a070-ccdc469b2941","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"67a8632c-e2db-4199-b151-545c4df9feef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\":\"1\",\n    \"delivery_clientaddress_id\":\"1\",\n    \"invoice_clientaddress_id\":\"1\",\n    \"status\":\"3\",\n    \"workorderlines\":[\n        {\n            \"recurrencyinterval_id \":\"1\",\n            \"start_date\":\"2018-12-01\",\n            \"start_time\":\"11:00\",\n            \"end_time\":\"12:35\",\n            \"price\":\"100\",\n            \"description\":\"first line\",\n            \"service_id\":\"2\"\n        },\n        {\n            \"recurrencyinterval_id \":\"1\",\n            \"start_date\":\"2018-12-01\",\n            \"start_time\":\"09:30\",\n            \"end_time\":\"11:00\",\n            \"price\":\"50\",\n            \"description\":\"second line\",\n            \"service_id\":\"2\"\n            \n        }\n        ]\n    \n}"},"url":"{{Api-Url}}/workorders","urlObject":{"path":["workorders"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"67a8632c-e2db-4199-b151-545c4df9feef"},{"name":"Add Workorder (no invoice-adr)","event":[{"listen":"test","script":{"id":"4de87eeb-7baa-430d-b2a2-11449f7496ca","exec":["tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;"],"type":"text/javascript"}}],"id":"ce220f8b-1a28-4252-bdbd-77fa65fe68c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\":\"1\",\n    \"delivery_clientaddress_id\":\"1\",\n    \"status\":\"3\",\n    \"workorderlines\":[\n        {\n            \"recurrencyinterval_id \":\"1\",\n            \"start_date\":\"2015-12-01\",\n            \"start_time\":\"11:00\",\n            \"end_time\":\"12:35\",\n            \"price\":\"100\",\n            \"description\":\"first line\",\n            \"service_id\":\"2\"\n        },\n        {\n            \"recurrencyinterval_id \":\"1\",\n            \"start_date\":\"2015-12-01\",\n            \"start_time\":\"09:30\",\n            \"end_time\":\"11:00\",\n            \"price\":\"50\",\n            \"description\":\"second line\",\n            \"service_id\":\"2\"\n            \n        }\n        ]\n    \n}"},"url":"{{Api-Url}}/workorders","urlObject":{"path":["workorders"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce220f8b-1a28-4252-bdbd-77fa65fe68c8"}],"id":"989d7ef3-4f33-42b5-b0b1-257108db1275","_postman_id":"989d7ef3-4f33-42b5-b0b1-257108db1275","description":""},{"name":"Banks","item":[{"name":"All banks","event":[{"listen":"test","script":{"id":"5454786b-11d9-4aea-b219-5215677b66c1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"77b7b13a-d387-4a64-b87a-3533df46d2e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/banks","description":"<p>Get all available banks</p>\n","urlObject":{"path":["banks"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77b7b13a-d387-4a64-b87a-3533df46d2e7"}],"id":"cbf9cc33-10c5-4b53-b967-a4f59bca1c68","_postman_id":"cbf9cc33-10c5-4b53-b967-a4f59bca1c68","description":""},{"name":"Recurrencyintervals","item":[{"name":"All recurrencyintervals","event":[{"listen":"test","script":{"id":"5454786b-11d9-4aea-b219-5215677b66c1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"f452beb5-7f28-4b74-b004-045e27b68682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/recurrencyintervals","description":"<p>Get all available banks</p>\n","urlObject":{"path":["recurrencyintervals"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f452beb5-7f28-4b74-b004-045e27b68682"},{"name":"All recurrencyintervals Copy","event":[{"listen":"test","script":{"id":"5454786b-11d9-4aea-b219-5215677b66c1","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"ea6f9f6c-d8c1-494c-a65b-1cae8f301124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Api-Version","value":"2"},{"key":"Api-Domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Content-Type","value":"application/json"}],"url":"{{Api-Url}}/recurrencyintervals","description":"<p>Get all available banks</p>\n","urlObject":{"path":["recurrencyintervals"],"host":["{{Api-Url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea6f9f6c-d8c1-494c-a65b-1cae8f301124"}],"id":"9df78f40-1daf-493c-833a-2cf0f491f04f","_postman_id":"9df78f40-1daf-493c-833a-2cf0f491f04f","description":""},{"name":"Risks","item":[],"id":"d13e63e1-4614-49b5-ae8d-5bf4b32c5de4","_postman_id":"d13e63e1-4614-49b5-ae8d-5bf4b32c5de4","description":""}],"event":[{"listen":"prerequest","script":{"id":"e135ecd2-0346-40e4-8255-5e412eeeac53","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3ddbcac6-7568-4e61-9db2-f80d0c44bd40","type":"text/javascript","exec":[""]}}],"variable":[{"key":"stagingpath","value":"https://api.twtest.se"},{"key":"Api-Version","value":"2"},{"key":"api-domain","value":"staging"},{"key":"Api-Key","value":"df4es1bjhk avsgsd43+2mnjb786fvgcfmnj3d"},{"key":"Api-Domain","value":"staging"}]}