{"info":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","description":"<html><head></head><body><h3>Endpoint</h3>\n\n<p>De API is te bereiken op&nbsp;<code>https://[subdomein].inserve.nl/api/</code>. Alle responses zijn in het JSON formaat.</p>\n\n<h3>Authenticatie</h3>\n\n<p>Maak als ingelogde gebruiker een API-key aan via het profielmenu -&gt; API instellingen &gt; API sleutels. Gebruik deze bij elke request. Je kunt de authenticatie testen met het&nbsp;<code>/auth/me</code>&nbsp;endpoint, vervang hieronder&nbsp;<code>[apikey]</code>&nbsp;met een API sleutel:<br><br><b>GET</b>&nbsp;<code>https://[subdomein].inserve.nl/api/auth/me</code></p>\n\n<table><tbody><tr><th><br>Headers<br></th><td><div><code>X-Api-Key: [apikey]</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Parameters<br></th><td><div><br>(leeg)<br></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Response<br></th><td><div><code>{ \"id\": 1, \"email\": \"test@example.com\", \"...\": \"...\" }</code></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h3>Voorbeeld</h3>\n\n<p>Gebruik de inspector in de browser om alle calls te bekijken. Alle calls in de front-end kunnen ook gebruikt worden met een API-key.</p>\n\n<h3>Tickets</h3>\n\n<p><b>GET</b><code>https://[subdomein].inserve.nl/api/tickets</code></p>\n\n<table><tbody><tr><th><br>Query (JSON-encoded)<br></th><td><div><br>(Zie querybuilder)<br><br><br><code>{ \"builder\": [ { \"orderByDesc\": \"created_at\" }, { \"paginate\": 15 } ], \"page\": 1 }</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Response<br></th><td><div><code>{ \"current_page\": 1, \"data\": [ { \"id\": 9, \"reference\": \"ZYL7R\", \"description\": \"test\", \"client_id\": 9, \"operator_id\": 1, \"status_id\": 0, \"created_at\": \"2019-06-25T16:29:00+0200\", \"updated_at\": \"2019-06-27T13:35:02+0200\", \"priority\": 1, \"ticket_time_registrations_sum\": null, \"operator\": { \"id\": 1, \"email\": \"admin@innovaat.nl\", \"email_verified_at\": null, \"first_name\": \"abc\", \"last_name\": \"abc\", \"telephone_cell\": null, \"telephone\": null, \"companies\": [], \"remember_token\": null, \"created_at\": \"2019-06-07T17:19:56+0200\", \"updated_at\": \"2019-06-07T17:19:56+0200\", \"deleted_at\": null, \"roles_ids\": [ 1 ], \"roles\": [ { \"id\": 1, \"name\": \"operator\", \"display_name\": \"Behandelaar\", \"description\": null, \"created_at\": \"2019-06-07 13:56:48\", \"updated_at\": \"2019-06-07 13:56:48\", \"pivot\": { \"user_id\": 1, \"role_id\": 1 } } ] }, \"client\": { \"id\": 9, \"email\": \"hans@hanos.nl\", \"email_verified_at\": null, \"first_name\": \"Hans\", \"last_name\": null, \"telephone_cell\": \"06-2348912304\", \"telephone\": \"0487-623489\", \"company_id\": 1, \"remember_token\": null, \"created_at\": \"2019-06-25T16:28:56+0200\", \"updated_at\": \"2019-06-25T17:05:46+0200\", \"deleted_at\": null, \"roles_ids\": [ 2 ], \"company\": { \"id\": 1, \"name\": \"Xenos BV\", \"debtor_code\": null, \"address_1\": \"Weg\", \"address_2\": \"2\", \"postal_code\": \"5881 AM\", \"telephone\": \"0412\", \"logo\": null, \"city\": \"Boxmeer\", \"country\": \"Nederland\", \"created_at\": \"2019-06-20T16:53:46+0200\", \"updated_at\": \"2019-06-25T14:34:14+0200\" }, \"roles\": [ { \"id\": 2, \"name\": \"client\", \"display_name\": \"Contactpersoon\", \"description\": null, \"created_at\": \"2019-06-07 13:56:48\", \"updated_at\": \"2019-06-07 13:56:48\", \"pivot\": { \"user_id\": 9, \"role_id\": 2 } } ] } } ], \"first_page_url\": \"http://test.myapp.com/tickets?page=1\", \"from\": 1, \"last_page\": 1, \"last_page_url\": \"http://test.myapp.com/tickets?page=1\", \"next_page_url\": null, \"path\": \"http://test.myapp.com/tickets\", \"per_page\": \"15\", \"prev_page_url\": null, \"to\": 1, \"total\": 1 }</code></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h3>Query builder</h3>\n\n<p>De API gebruikt de<a href=\"https://laravel.com/docs/master/queries\">Query Builder</a>van Laravel om objecten op te halen. Hier een aantal voorbeelden:</p>\n\n<table><tbody><tr><th><br>Query filtering<br></th><td><div><code>{\"builder\":[{\"where\":[\"status_id\",4]},{\"where\":[\"created_at\",\"&gt;\",\"2019-06-30 15:00:00\"]},{\"whereIn\":[\"status_id\",[2,3,4]]},{\"s\":\"John Doe\"}]}</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Query ordering<br></th><td><div><code>{\"builder\":[{\"orderBy\":\"created_at\"},{\"orderByDesc\":\"created_at\"}]}</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Query relations<br></th><td><div><code>{\"builder\":[{\"with\":[\"client\",\"client.company\"]},{\"withCount\":\"ticketMessages\"}]}</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Modifiers (leave empty for all results)<br></th><td><div><code>{\"builder\":[{\"count\":[\"\\\\\\\\\\\\\\\\\\\\*\"]},{\"paginate\":15}]}</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>&nbsp;<br></th><td><div><br>&nbsp;<br></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>Example 1<br></th><td><div><code>{\"builder\":[{\"whereIn\":[\"status_id\",[2,3,4]]},{\"paginate\":15}]}</code></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><th><br>&nbsp;<br></th><td><div><br>&nbsp;<br></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14835414","collectionId":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","publishedId":"2s935kQ6UW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2025-04-17T13:10:20.000Z"},"item":[{"name":"Authentication","item":[{"name":"me","event":[{"listen":"test","script":{"id":"1c6d2d1f-750f-4f82-8596-f482d99d9f37","exec":[""],"type":"text/javascript"}}],"id":"8dfccc76-1224-4405-9c0b-b20098d84df8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://cloudbv.inserve.nl/api/auth/me","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["auth","me"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dfccc76-1224-4405-9c0b-b20098d84df8"}],"id":"47a06f7a-a5f5-422d-9ebd-b9d20917ba38","_postman_id":"47a06f7a-a5f5-422d-9ebd-b9d20917ba38","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Client","item":[{"name":"index","id":"bc78ea27-df6a-4680-96a6-71f23249d2aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/clients?builder[1][with]=companies&builder[1][customField][0]=custom_field&builder[1][customField][1]=custom_value&builder[2][whereHas][0]=companies&builder[2][whereHas][1]=morphable_id&builder[2][whereHas][2][0]=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["clients"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"disabled":true,"key":"builder[0][where][0]","value":"email"},{"disabled":true,"key":"builder[0][where][1]","value":"test@inserve.nl"},{"key":"builder[1][with]","value":"companies"},{"key":"builder[1][customField][0]","value":"custom_field"},{"key":"builder[1][customField][1]","value":"custom_value"},{"key":"builder[2][whereHas][0]","value":"companies"},{"key":"builder[2][whereHas][1]","value":"morphable_id"},{"key":"builder[2][whereHas][2][0]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bc78ea27-df6a-4680-96a6-71f23249d2aa"},{"name":"store","id":"1f76578f-69a4-4a87-b882-b82b54d5084f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"First\",\n    \"prefix\": \"the\",\n    \"last_name\": \"Last\",\n    \"email\": \"test2@inserve.nl\",\n    \"telephone\": \"0123456789\",\n    \"telephone_cell\": \"9876543210\",\n    \"language\": \"en\",\n    \"relationships\": {\n        \"companies\" : {\n            \"sync\": [1]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/clients","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["clients"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f76578f-69a4-4a87-b882-b82b54d5084f"},{"name":"show","id":"9bd3380f-b40f-4685-a04a-d5d78638c626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/clients/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["clients",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"30","key":"id"}]}},"response":[],"_postman_id":"9bd3380f-b40f-4685-a04a-d5d78638c626"},{"name":"update","id":"fd4c384e-ae9a-4cb1-8c55-1574aa4665ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\":\"Voornaam\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/clients/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["clients",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"21","key":"id"}]}},"response":[],"_postman_id":"fd4c384e-ae9a-4cb1-8c55-1574aa4665ba"},{"name":"delete","id":"d9f0330c-5a5b-4309-979f-1afd3256a0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/clients/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["clients",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"1a8b8c47-d08d-435f-953f-2034225b61be","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"d9f0330c-5a5b-4309-979f-1afd3256a0a9"}],"id":"82ee5f96-d44c-4cec-a4bc-ced3574073bf","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"82ee5f96-d44c-4cec-a4bc-ced3574073bf","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Subscription","item":[{"name":"index","id":"aca590d0-b97d-48f0-b775-d7d1c273fde6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/subscriptions?builder[0][where][0]=description&builder[0][where][1]=test","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["subscriptions"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"builder[0][where][0]","value":"description"},{"key":"builder[0][where][1]","value":"test"},{"disabled":true,"key":"builder[1][limit]","value":"1"},{"disabled":true,"key":"builder[2][with]","value":"companies"}],"variable":[]}},"response":[],"_postman_id":"aca590d0-b97d-48f0-b775-d7d1c273fde6"},{"name":"store","id":"978189b9-0063-4e66-a172-026c2514b491","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Frank3\",\n    \"company_id\": 595,\n    \"periods\": 1,\n    \"period\": \"month\",\n    \"start_period\": \"2023-03-13\",\n    \"direct_debit\": 1,\n    \"next_billing_date\": \"2023-03-13\",\n    \"billing_start_date\": \"2025-02-01\",\n    \"invoice_periods\": 1,\n    \"invoice_setting_on_change\": \"system\",\n    \"relationships\": {\n        \"lines\": [\n            {\n                \"quantity\": 1,\n                \"product_code\": \"P0001\",\n                \"price\": 85,\n                \"description\": \"Support\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/subscriptions","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["subscriptions"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"978189b9-0063-4e66-a172-026c2514b491"},{"name":"show","id":"f0a28560-5f60-44d4-9435-30f9cd5446a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/subscriptions/:id?load[0]=CustomValues&load[1]=Configs&load[2]=Messages","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"load[0]","value":"CustomValues"},{"key":"load[1]","value":"Configs"},{"key":"load[2]","value":"Messages"}],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"f0a28560-5f60-44d4-9435-30f9cd5446a4"},{"name":"update","id":"f158cf7a-4e6f-4484-b48f-6a42170d1e6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Frank33\",\n    \"company_id\": 595,\n    \"periods\": 1,\n    \"period\": \"month\",\n    \"start_period\": \"2023-04-13\",\n    \"direct_debit\": 1,\n    \"next_billing_date\": \"2023-04-13\",\n    \"relationships\": {\n        \"lines\": [\n            {\n                \"id\": 24,\n                \"subscription_id\": 10,\n                \"product_code\": \"P0001\",\n                \"description\": \"Support\",\n                \"quantity\": 1,\n                \"price\": 85,\n                \"total\": \"85.00\",\n                \"mrr\": \"85.00\",\n                \"created_at\": \"2023-03-13T12:23:22.000000Z\",\n                \"updated_at\": \"2023-03-13T12:23:22.000000Z\",\n                \"_label\": \"Support\"\n            },\n            {\n                \"quantity\": \"4\",\n                \"product_code\": \"P0002\",\n                \"price\": 100,\n                \"description\": \"Hardware\",\n                \"invoice_difference_date\" : \"2023-10-01\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/subscriptions/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"f158cf7a-4e6f-4484-b48f-6a42170d1e6e"},{"name":"delete","id":"72389a1b-933f-4d32-8557-bbc579120a76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/subscriptions/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"72389a1b-933f-4d32-8557-bbc579120a76"}],"id":"e17fc021-e944-4f5a-be0b-c56b28675885","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"e17fc021-e944-4f5a-be0b-c56b28675885","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Company","item":[{"name":"index","id":"c1f9ef4a-2897-4202-8d72-105e943c58a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/companies?builder[1][with]=customValues&builder[2][limit]=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["companies"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"disabled":true,"key":"builder[0][where][0]","value":"name"},{"disabled":true,"key":"builder[0][where][1]","value":"Company BV"},{"key":"builder[1][with]","value":"customValues"},{"key":"builder[2][limit]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"c1f9ef4a-2897-4202-8d72-105e943c58a3"},{"name":"store","id":"4c57751d-ac9e-422f-b752-0f7ad9a4fe51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Company BV\",\n    \"debtor_code\": \"DB123\",\n    \"attn\": \"Attn.\",\n    \"address_1\": \"Street 1\",\n    \"address_2\": \"Lane 2\",\n    \"postal_code\": \"1111 AA\",\n    \"city\": \"City\",\n    \"country_id\": 3,\n    \"telephone\": \"0123456789\",\n    \"invoice_email\": \"invoice@inserve.nl\",\n    \"payment_term_days\": 30,\n    \"direct_debit_hours\": 0,\n    \"direct_debit_subscriptions\": 0,\n    \"direct_debit_imported_invoice_lines\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/companies","description":"<p>To store new values, add the content required by the model to the body.</p>\n<p>Voorbeeld:</p>\n<p><code>{</code><br /><code>\"name\":\"{{ Hier de bedrijfsnaam }}\",</code> <br /><code>\"badge_text\":\"{{ Hier kan de opmerking }}\",</code><br /><code>\"badge_color\":\"{{ Kleur van de badge vb: danger }}\",</code><br /><code>\"debtor_code\":\"{{ Hier het debiteurnummer }}\",</code><br /><code>\"address_1\":\"{{ Adresregel 1 }}\",</code><br /><code>\"address_2\":\"{{ Adresregel 2 }}\",</code><br /><code>\"postal_code\":\"{{ Postcode }}\",</code><br /><code>\"telephone\":\"{{ Telefoonnummer }}\",</code><br /><code>\"city\":\"{{ Woonlaats }}\",</code><br /><code>\"country_id\":{{ land id }}, // NL = 1, BE = 4, DE = 7</code><br /><code>\"invoice_email\":\"{{ Factuur mailadres }}\",</code><br /><code>\"direct_debit\":{{ 0 }}, //Automatisch afschrijven = 1, niet automatisch afschrijven = 0</code><br /><code>\"invoice_to\": {{ ID van bedrijf waar de factuur naartoe moet }},</code><br /><code>\"email_domains\":\"{{ emaildomein }}\",//Domeinen worden standaard gekoppeld aan bedrijf</code><br /><code>\"operator_id\":{{ standaard behandelaar id }},</code><br /><code>}</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["companies"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c57751d-ac9e-422f-b752-0f7ad9a4fe51"},{"name":"show","id":"1a0a1b3f-8fa7-4273-8a10-dbcc0d16a1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/companies/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["companies",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"aabc6f86-6d30-49e7-9023-e4320daa3c56","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"30","key":"id"}]}},"response":[],"_postman_id":"1a0a1b3f-8fa7-4273-8a10-dbcc0d16a1fc"},{"name":"update","id":"0a88b510-db38-43a7-9444-f0171d84d8eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Cloud BV\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/companies/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["companies",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"0a88b510-db38-43a7-9444-f0171d84d8eb"},{"name":"delete","id":"dc1ee640-01fe-429a-9abc-0d6b440bd01a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/companies/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["companies",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"1a8b8c47-d08d-435f-953f-2034225b61be","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"dc1ee640-01fe-429a-9abc-0d6b440bd01a"}],"id":"1689856c-5bb9-483d-903f-160f7848b79e","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"1689856c-5bb9-483d-903f-160f7848b79e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Custom cloud distributor","item":[{"name":"Get cloud distributor","id":"1d2b87b7-d521-4fca-a352-ba61204522a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of Cloud Distributor</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[],"_postman_id":"1d2b87b7-d521-4fca-a352-ba61204522a1"},{"name":"Add cloud distributor","id":"790500b4-fc4b-4cc7-8e3c-9f253304e308","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors","description":"<p><strong>Body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>User friendly name of cloud distributor</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[{"id":"7dd7bb82-497a-4c5e-b2d1-3a1b053d870a","name":"Add cloud distributor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"inserve-api-distributor\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"inserve-api-distributor\",\n    \"identifier\": \"inserve-api-distributor\",\n    \"updated_at\": \"2024-11-13T08:40:35.000000Z\",\n    \"created_at\": \"2024-11-13T08:40:35.000000Z\",\n    \"id\": 10,\n    \"_label\": \"inserve-api-distributor\"\n}"}],"_postman_id":"790500b4-fc4b-4cc7-8e3c-9f253304e308"},{"name":"List cloud distributors","id":"bb7d41b5-0968-4a9e-a37e-1f24893dddfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[{"id":"6d6c7501-1dc3-485a-ba5e-40573266b098","name":"List cloud distributors","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"pax8\",\n        \"name\": \"Pax8\",\n        \"is_custom\": false\n    },\n    {\n        \"id\": \"routit\",\n        \"name\": \"RoutIT\",\n        \"is_custom\": false\n    },\n    {\n        \"id\": \"alsocloud\",\n        \"name\": \"Also Cloud\",\n        \"is_custom\": false\n    },\n    {\n        \"id\": \"ingram\",\n        \"name\": \"Ingram Micro Cloud Marketplace\",\n        \"is_custom\": false\n    },\n    {\n        \"id\": \"tdsynnex\",\n        \"name\": \"TD Synnex\",\n        \"is_custom\": false\n    },\n    {\n        \"id\": \"inserve-api-distributor\",\n        \"name\": \"inserve-api-distributor\",\n        \"is_custom\": true\n    }\n]"}],"_postman_id":"bb7d41b5-0968-4a9e-a37e-1f24893dddfb"},{"name":"Delete cloud distributor","id":"49fb9d31-ec20-4683-9bf3-66acd8f82c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors/:id","description":"<p>By deleting the cloud distributor the subscriptions will also be deleted.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of cloud distributor</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[],"_postman_id":"49fb9d31-ec20-4683-9bf3-66acd8f82c58"},{"name":"Link companies","id":"aea67cd3-9906-4f8a-91df-1981477ed55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"cloud_distribution_id\": \"<string>\",\n        \"company_id\": \"<int>\"\n    },\n    {\n        \"cloud_distribution_id\": \"<string>\",\n        \"company_id\": \"<int>\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors/:id/companies","description":"<p><strong>Body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cloud_distribution_id</td>\n<td>string</td>\n<td>true</td>\n<td>Identifier of company from cloud distributor</td>\n</tr>\n<tr>\n<td>company_id</td>\n<td>int</td>\n<td>true</td>\n<td>Identifier of company in Inserve</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors",":id","companies"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of cloud distributor</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"0c691515-0b37-43eb-8994-12ad6f9b7199","name":"Link companies","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"cloud_distribution_id\": \"company.x\",\n        \"company_id\": 1\n    },\n    {\n        \"cloud_distribution_id\": \"company.y\",\n        \"company_id\": 2\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://cloudbv.inserve.nl/api/cloud-distributors/:id/companies","host":["https://cloudbv.inserve.nl/api"],"path":["cloud-distributors",":id","companies"],"variable":[{"key":"id","value":"inserve-api-distributor","description":"Identifier of cloud distributor"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"cloud_distribution_id\": \"company.x\",\n        \"cloud_distributor\": \"inserve-api-distributor\",\n        \"company_id\": 1,\n        \"updated_at\": \"2024-11-13T08:38:49.000000Z\",\n        \"created_at\": \"2024-11-13T08:38:49.000000Z\",\n        \"id\": 26,\n        \"_label\": null\n    },\n    {\n        \"cloud_distribution_id\": \"company.y\",\n        \"cloud_distributor\": \"inserve-api-distributor\",\n        \"company_id\": 2,\n        \"updated_at\": \"2024-11-13T08:38:49.000000Z\",\n        \"created_at\": \"2024-11-13T08:38:49.000000Z\",\n        \"id\": 27,\n        \"_label\": null\n    }\n]"}],"_postman_id":"aea67cd3-9906-4f8a-91df-1981477ed55e"},{"name":"Get linked companies","id":"2802740c-fed4-433c-b59c-7bcfda55c4ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors/:id/companies","description":"<p>The result is a list of Inserve company id's and their related company id's from the cloud distributor. The id of this relation can be used to add a subscription.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors",":id","companies"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of cloud distributor</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[],"_postman_id":"2802740c-fed4-433c-b59c-7bcfda55c4ba"},{"name":"Sync subscriptions","id":"28db97a7-67a2-47ed-8d49-c5cf8cd4c07e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distributors/:id/sync","description":"<p>This will trigger a synchronisation between cloud distributor subscriptions and Inserve subscriptions, only when they are linked. Linking these subscriptions can be done via Inserve on https://.inserve.nl/cloud-subscriptions, see also <a href=\"https://docs.inserve.nl/nl/article/cloud-distributeur-integratie\">https://docs.inserve.nl/nl/article/cloud-distributeur-integratie</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distributors",":id","sync"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of cloud distributor</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[],"_postman_id":"28db97a7-67a2-47ed-8d49-c5cf8cd4c07e"}],"id":"49d375e5-fca5-43b1-aaff-3c81a9ba6882","_postman_id":"49d375e5-fca5-43b1-aaff-3c81a9ba6882","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"License subscriptions (Cloud distributor)","item":[{"name":"Create subscription","id":"f4e44e74-5507-4e97-8046-d364ad20d7f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cloud_distribution_id\": \"<string>\",\n    \"cloud_subscription_id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"quantity\": \"<int>\",\n    \"cloud_distribution_company_id\": \"<int>\",\n    \"sales_price\": \"<decimal>\",\n    \"suggested_sales_price\": \"<decimal>\",\n    \"purchase_price\": \"<decimal>\",\n    \"status\": \"<subscription_status>\",\n    \"periods\": \"<int>\",\n    \"period_type\": \"<period_type>\",\n    \"ignore\": \"<int>\",\n    \"start_date\": \"<string>\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions","description":"<p><strong>Body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cloud_distribution_id</td>\n<td>string</td>\n<td>yes</td>\n<td>Specific id from cloud distributor</td>\n</tr>\n<tr>\n<td>cloud_subscription_id</td>\n<td>string</td>\n<td>no</td>\n<td>Optional extra subscription id from cloud distributor</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>Descriptive name of subscription</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td>cloud_distribution_company_id</td>\n<td>integer</td>\n<td>yes</td>\n<td>Related to created linked company</td>\n</tr>\n<tr>\n<td>sales_price</td>\n<td>decimal</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td>suggested_sales_price</td>\n<td>decimal</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td>purchase_price</td>\n<td>decimal</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>integer</td>\n<td>yes</td>\n<td>See ‘Subscription statuses’</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>integer</td>\n<td>no</td>\n<td>Number of periods per type</td>\n</tr>\n<tr>\n<td>period_type</td>\n<td>integer</td>\n<td>no</td>\n<td>See ‘Subscription period types’</td>\n</tr>\n<tr>\n<td>Ignore</td>\n<td>integer</td>\n<td>no</td>\n<td>1 = Yes / 0 = No</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>no</td>\n<td>“YYYY-MM-DD”</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distribution-subscriptions"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[{"id":"1789f206-56ba-435a-acd0-6106920c3083","name":"Create subscription","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cloud_distribution_id\": \"123-456-789\",\n    \"cloud_subscription_id\": \"333-333-333\",\n    \"name\": \"Microsoft 365 Business Standard\",\n    \"quantity\": 4,\n    \"cloud_distribution_company_id\": 26,\n    \"sales_price\": 11.70,\n    \"suggested_sales_price\": 11.70,\n    \"purchase_price\": 10.20,\n    \"status\": 0,\n    \"periods\": 1,\n    \"period_type\": 1,\n    \"ignore\": 0,\n    \"start_date\": \"2024-11-11\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"cloud_distribution_id\": \"123-456-789\",\n    \"cloud_subscription_id\": \"333-333-333\",\n    \"name\": \"Microsoft 365 Business Standard\",\n    \"quantity\": 4,\n    \"cloud_distribution_company_id\": 26,\n    \"sales_price\": \"11.70000000\",\n    \"suggested_sales_price\": \"11.70000000\",\n    \"purchase_price\": \"10.20000000\",\n    \"start_date\": \"2024-11-10T23:00:00.000000Z\",\n    \"status\": 0,\n    \"periods\": 1,\n    \"period_type\": 1,\n    \"ignore\": 0,\n    \"created_at\": \"2024-11-13T08:34:24.000000Z\",\n    \"updated_at\": \"2024-11-13T08:34:24.000000Z\",\n    \"_label\": \"Microsoft 365 Business Standard\"\n}"}],"_postman_id":"f4e44e74-5507-4e97-8046-d364ad20d7f0"},{"name":"Update subscription","id":"f7fc3b7c-2aa1-459c-ba13-dc85ec74f4b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"<int>\",\n    \"sales_price\": \"<decimal>\",\n    \"ignore\": \"<int>\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions/:id","description":"<p>Update fields for an existing subscription; for e.g. to update the quantity or status.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distribution-subscriptions",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of subscription</p>\n","type":"text/plain"},"type":"any","value":"<int>","key":"id"}]}},"response":[{"id":"68d67e60-2172-4343-aee3-15c5d58531d2","name":"Update subscription","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": 10\n}\n","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions/5"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"cloud_distribution_id\": \"123-456-789\",\n    \"cloud_subscription_id\": \"333-333-333\",\n    \"name\": \"Microsoft 365 Business Standard\",\n    \"quantity\": 10,\n    \"cloud_distribution_company_id\": 26,\n    \"sales_price\": \"11.70000000\",\n    \"suggested_sales_price\": \"11.70000000\",\n    \"purchase_price\": \"10.20000000\",\n    \"start_date\": \"2024-11-10T23:00:00.000000Z\",\n    \"status\": 0,\n    \"periods\": 1,\n    \"period_type\": 1,\n    \"ignore\": 0,\n    \"created_at\": \"2024-11-13T08:34:24.000000Z\",\n    \"updated_at\": \"2024-11-13T08:36:02.000000Z\",\n    \"_label\": \"Microsoft 365 Business Standard\"\n}"}],"_postman_id":"f7fc3b7c-2aa1-459c-ba13-dc85ec74f4b6"},{"name":"Link subscription","id":"c2e3ac7b-ef36-41ac-8f3e-f050e658d776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"relationships\": {\n        \"relations\": [\n            {\n                \"morphable_id\": \"<int>\",\n                \"morphable_type\": \"App\\\\Models\\\\Tenant\\\\SubscriptionLine\",\n                \"update_quantity\": 0\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions/:id","description":"<p>Link license to a subscription_line</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distribution-subscriptions",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Identifier of subscription</p>\n","type":"text/plain"},"type":"any","value":"<int>","key":"id"}]}},"response":[{"id":"c8c2bace-4ad0-471a-8d9c-79cb7ba5dbc0","name":"Link subscription","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"relationships\": {\n        \"relations\": [\n            {\n                \"morphable_id\": \"77\",\n                \"morphable_type\": \"App\\\\Models\\\\Tenant\\\\SubscriptionLine\",\n                \"update_quantity\": 0\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions/5"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 153,\n    \"cloud_distribution_id\": \"5576570\",\n    \"cloud_subscription_id\": \"86335\",\n    \"name\": \"(NCE) Microsoft 365 Copilot with Billing Type Prepaid (with 1-year commitment) - P1Y per unit of Quantity\",\n    \"quantity\": 1,\n    \"cloud_distribution_company_id\": 9,\n    \"sales_price\": \"337.20000000\",\n    \"suggested_sales_price\": \"312.00000000\",\n    \"purchase_price\": \"333.82800000\",\n    \"start_date\": null,\n    \"end_date\": \"2027-01-14T23:00:00.000000Z\",\n    \"status\": 0,\n    \"periods\": 1,\n    \"period_type\": 1,\n    \"ignore\": 0,\n    \"created_at\": \"2026-01-15T23:32:21.000000Z\",\n    \"updated_at\": \"2026-02-01T23:33:20.000000Z\",\n    \"_label\": \"(NCE) Microsoft 365 Copilot with Billing Type Prepaid (with 1-year commitment) - P1Y per unit of Quantity\"\n}"}],"_postman_id":"c2e3ac7b-ef36-41ac-8f3e-f050e658d776"},{"name":"List subscriptions","id":"d8ce6940-6c90-4e8c-929b-29d4518c1a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distribution-subscriptions"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[{"id":"fbd5e26e-17ad-4a5e-9eaf-6a941f99cf89","name":"List subscriptions","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 5,\n        \"cloud_distribution_id\": \"123-456-789\",\n        \"cloud_subscription_id\": \"333-333-333\",\n        \"name\": \"Microsoft 365 Business Standard\",\n        \"quantity\": 10,\n        \"cloud_distribution_company_id\": 26,\n        \"sales_price\": \"11.70000000\",\n        \"suggested_sales_price\": \"11.70000000\",\n        \"purchase_price\": \"10.20000000\",\n        \"start_date\": \"2024-11-10T23:00:00.000000Z\",\n        \"status\": 0,\n        \"periods\": 1,\n        \"period_type\": 1,\n        \"ignore\": 0,\n        \"created_at\": \"2024-11-13T08:34:24.000000Z\",\n        \"updated_at\": \"2024-11-13T08:36:02.000000Z\",\n        \"license_difference\": null,\n        \"total_price\": \"117.00\",\n        \"_label\": \"Microsoft 365 Business Standard\"\n    }\n]"}],"_postman_id":"d8ce6940-6c90-4e8c-929b-29d4518c1a28"},{"name":"List subscriptions with difference","id":"ceccba1c-06ea-4472-88c0-0bb2d5e72929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/cloud-distribution-subscriptions?b[0][orderBy][0]=license_difference&b[0][orderBy][1]=DESC&b[1][with][0]=cloudDistributionCompany.company&b[1][with][1]=relations.morphable&b[2][paginate]=15&page=1&b[1][having][0]=license_difference&b[1][having][1]=>&b[1][having][2]=0","description":"<p>This API with query parameters is an example of retrieving all cloud distributor subscriptions that are linked to Inserve subscription lines where there is a difference in quantity</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["cloud-distribution-subscriptions"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"b[0][orderBy][0]","value":"license_difference"},{"key":"b[0][orderBy][1]","value":"DESC"},{"key":"b[1][with][0]","value":"cloudDistributionCompany.company"},{"key":"b[1][with][1]","value":"relations.morphable"},{"key":"b[2][paginate]","value":"15"},{"key":"page","value":"1"},{"key":"b[1][having][0]","value":"license_difference"},{"key":"b[1][having][1]","value":">"},{"key":"b[1][having][2]","value":"0"}],"variable":[]}},"response":[],"_postman_id":"ceccba1c-06ea-4472-88c0-0bb2d5e72929"}],"id":"c23ccf5a-7490-45c6-85a8-8c5708b570f2","description":"<h2 id=\"subscription-statuses\">Subscription statuses</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Active</td>\n<td>0</td>\n</tr>\n<tr>\n<td>Cancelled</td>\n<td>1</td>\n</tr>\n<tr>\n<td>Pending</td>\n<td>2</td>\n</tr>\n<tr>\n<td>Trial</td>\n<td>3</td>\n</tr>\n<tr>\n<td>On hold</td>\n<td>4</td>\n</tr>\n<tr>\n<td>Removed</td>\n<td>5</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"subscription-period-types\">Subscription period types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Period</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Monthly</td>\n<td>0</td>\n</tr>\n<tr>\n<td>Annual</td>\n<td>1</td>\n</tr>\n<tr>\n<td>One time costs</td>\n<td>2</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c23ccf5a-7490-45c6-85a8-8c5708b570f2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"SLA","item":[{"name":"update","id":"fa8fcce2-6064-47da-bde2-e288f1deb8d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"relationships\": {\n        \"companies\": {\n            \"attach\": [\n                405, 5\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/slas/:id","description":"<h2 id=\"update-sla-relationship\">Update SLA Relationship</h2>\n<p>This endpoint allows you to update the relationships of a specific Service Level Agreement (SLA) identified by its unique ID.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>PUT</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://cloudbv.inserve.nl/api/slas/:id</code></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request requires a JSON body containing the following structure:</p>\n<ul>\n<li><p><strong>relationships</strong>: An object that defines the relationships to be updated.</p>\n<ul>\n<li><p><strong>companies</strong>: An object representing the companies associated with the SLA.</p>\n<ul>\n<li><strong>syncWithoutDetaching</strong>: An array of integers representing the IDs of companies to be synchronized with the SLA without detaching existing relationships.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"relationships\": {\n    \"companies\": {\n      \"attach\": [405, 5]\n    }\n  }\n}\n\n</code></pre>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>Upon a successful update, the API will return a response indicating the status of the operation. The response typically includes details about the updated SLA and its relationships, confirming that the specified companies have been synchronized.</p>\n<p>Ensure that you replace <code>:id</code> in the endpoint with the actual SLA ID you wish to update.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["slas",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"fa8fcce2-6064-47da-bde2-e288f1deb8d6"}],"id":"713f82da-a5e8-43be-b5d9-d7023ff6edf3","_postman_id":"713f82da-a5e8-43be-b5d9-d7023ff6edf3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Ticket","item":[{"name":"index","id":"827290c7-c3d9-41bf-a7fa-9338186dabac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/tickets?builder[0][where][0]=company_id&builder[0][where][1]=3&builder[1][limit]=50&builder[2][whereNotIn][0]=status_id&builder[2][whereNotIn][1][0]=3&builder[2][whereNotIn][1][1]=6","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["tickets"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"builder[0][where][0]","value":"company_id"},{"key":"builder[0][where][1]","value":"3"},{"key":"builder[1][limit]","value":"50"},{"key":"builder[2][whereNotIn][0]","value":"status_id"},{"key":"builder[2][whereNotIn][1][0]","value":"3"},{"key":"builder[2][whereNotIn][1][1]","value":"6"}],"variable":[]}},"response":[],"_postman_id":"827290c7-c3d9-41bf-a7fa-9338186dabac"},{"name":"store","id":"6f446699-0d80-4891-bbf4-ec3052a9fbe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"Description\",\n    \"client_id\": 3,\n    \"company_id\": 3,\n    \"status_id\": 3,\n    \"message\": \"Private note.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/tickets","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["tickets"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f446699-0d80-4891-bbf4-ec3052a9fbe4"},{"name":"show","id":"f98e46e8-374c-4057-90c7-46631de6fb9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/tickets/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["tickets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"aabc6f86-6d30-49e7-9023-e4320daa3c56","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"30","key":"id"}]}},"response":[],"_postman_id":"f98e46e8-374c-4057-90c7-46631de6fb9f"},{"name":"update","id":"adaace26-0c42-43d0-a868-9f8c9fcc94b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://cloudbv.inserve.nl/api/tickets/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["tickets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"42813cfd-8c56-4882-8e69-f3f8aaad0fe2","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"adaace26-0c42-43d0-a868-9f8c9fcc94b9"},{"name":"delete","id":"73221cb5-0897-4ef2-b798-9355cc3d86ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/tickets/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["tickets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"1a8b8c47-d08d-435f-953f-2034225b61be","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"73221cb5-0897-4ef2-b798-9355cc3d86ed"}],"id":"1edd14f0-74b6-4662-9920-9737cb146532","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"1edd14f0-74b6-4662-9920-9737cb146532","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Product","item":[{"name":"index","id":"f2144914-72f3-400d-8efc-4f89823ad82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/products?builder[0][where][0]=product_code&builder[0][where][1]=P0008","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["products"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"builder[0][where][0]","value":"product_code"},{"key":"builder[0][where][1]","value":"P0008"},{"disabled":true,"key":"builder[1][limit]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f2144914-72f3-400d-8efc-4f89823ad82c"},{"name":"store","id":"3633edb2-047a-46ec-88d6-13db0da7eb02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"8\",\n    \"product_code\": \"P0008\",\n    \"product_name\": \"Voorrijkosten\",\n    \"description\": \"Voorrijkosten\",\n    \"price_excl\": 25,\n    \"ledger_code\": null,\n    \"cost_placement_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["products"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3633edb2-047a-46ec-88d6-13db0da7eb02"},{"name":"show","id":"9b4cd963-344e-41dd-aaf0-eda0872e45f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/products/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"type":"any","value":"24","key":"id"}]}},"response":[],"_postman_id":"9b4cd963-344e-41dd-aaf0-eda0872e45f5"},{"name":"update","id":"10d8fb2a-2893-4f64-9b7c-4d2e1ef990ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"8\",\n    \"product_code\": \"P0008\",\n    \"product_name\": \"Voorrijkosten\",\n    \"description\": \"Voorrijkosten\",\n    \"price_excl\": 25,\n    \"ledger_code\": null,\n    \"cost_placement_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/products/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"type":"any","value":"24","key":"id"}]}},"response":[],"_postman_id":"10d8fb2a-2893-4f64-9b7c-4d2e1ef990ed"},{"name":"delete","id":"76acd1a3-7b24-4c61-9ab9-87ffb050cae0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/products/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"type":"any","value":"118","key":"id"}]}},"response":[],"_postman_id":"76acd1a3-7b24-4c61-9ab9-87ffb050cae0"}],"id":"c18bf451-df55-4a60-abab-74cc5a77079b","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"c18bf451-df55-4a60-abab-74cc5a77079b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Asset","item":[{"name":"index","id":"81828e98-94ac-4f0b-8d85-128fafb8c1e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/assets?builder[0][orderBy][0]=warranty_until&builder[0][orderBy][1]=ASC&builder[1][whereNotNull][0]=warranty_until&builder[2][with][0]=company&builder[2][with][1]=client&builder[2][with][2]=location&builder[2][with][3]=location&builder[2][with][4]=categories&builder[2][with][5]=operator&builder[2][with][6]=customValues&builder[3][paginate]=25&page=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["assets"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"builder[0][orderBy][0]","value":"warranty_until"},{"key":"builder[0][orderBy][1]","value":"ASC"},{"key":"builder[1][whereNotNull][0]","value":"warranty_until"},{"key":"builder[2][with][0]","value":"company"},{"key":"builder[2][with][1]","value":"client"},{"key":"builder[2][with][2]","value":"location"},{"key":"builder[2][with][3]","value":"location"},{"key":"builder[2][with][4]","value":"categories"},{"key":"builder[2][with][5]","value":"operator"},{"key":"builder[2][with][6]","value":"customValues"},{"key":"builder[3][paginate]","value":"25"},{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"81828e98-94ac-4f0b-8d85-128fafb8c1e6"},{"name":"store","id":"f694eee5-85ba-4fe2-8554-41ba25abf24a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"HP EliteBook x360\",\n    \"description\": \"HP laptop\",\n    \"tracking_number\": \"LPT-0011\",\n    \"serial_number\": \"123\",\n    \"operator_id\": 9,\n    \"client_id\": 27,\n    \"company_id\": 3,\n    \"warranty_until\": \"2022-10-29\",\n    \"relationships\": {\n        \"categories\": {\n            \"sync\": [\n                12\n            ]\n        },\n        \"custom_values\": [\n\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/assets","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["assets"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f694eee5-85ba-4fe2-8554-41ba25abf24a"},{"name":"show","id":"dbf17fae-41e9-43a6-92f8-ba35523744bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/assets/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["assets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"dbf17fae-41e9-43a6-92f8-ba35523744bb"},{"name":"update","id":"a726c81f-bed6-41ca-b25b-e92187ff97db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"HP\",\n}"},"url":"https://cloudbv.inserve.nl/api/assets/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["assets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"a726c81f-bed6-41ca-b25b-e92187ff97db"},{"name":"delete","id":"0b778388-d1af-4f34-a0a3-34663ebdbb64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/assets/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["assets",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"0b778388-d1af-4f34-a0a3-34663ebdbb64"}],"id":"9914e152-19a3-4e84-aef6-44a93c00e7d5","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"9914e152-19a3-4e84-aef6-44a93c00e7d5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Invoice","item":[{"name":"get concept invoices","id":"9857f19e-ce75-43d8-be3f-23b7f2f8b9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/invoices?builder[0][whereNotNull][0]=exported_at&builder[1][limit]=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"builder[0][whereNotNull][0]","value":"exported_at"},{"key":"builder[1][limit]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9857f19e-ce75-43d8-be3f-23b7f2f8b9a6"},{"name":"store","id":"99915beb-3746-40a3-afcc-0c1e548fc646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 62,\n    \"invoice_to\": null,\n    \"period_start\": \"2022-08-01\",\n    \"period_end\": null,\n    \"subject\": \"Werkzaamheden\",\n    \"ticket_id\": null,\n    \"relationships\": {\n        \"invoice_lines\": [\n            {\n                \"date\": \"2022-08-29\",\n                \"description\": \"2208020: Ticket\",\n                \"quantity\": 1.25,\n                \"product_code\": \"P0012\",\n                \"price\": 85,\n                \"is_locked\": 1\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/invoices","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"99915beb-3746-40a3-afcc-0c1e548fc646"},{"name":"show","id":"ccbc1d5c-f3fb-49d1-99d0-6a506621d08b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/invoices/:id?load[0]=invoiceLines&load[1]=company","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[{"key":"load[0]","value":"invoiceLines"},{"key":"load[1]","value":"company"}],"variable":[{"id":"aabc6f86-6d30-49e7-9023-e4320daa3c56","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"30","key":"id"}]}},"response":[],"_postman_id":"ccbc1d5c-f3fb-49d1-99d0-6a506621d08b"},{"name":"update","id":"c70921a4-a971-4a99-b111-8938285e3a89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"exported_at\": \"2022-07-26 16:03:48\"\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/invoices/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"c70921a4-a971-4a99-b111-8938285e3a89"},{"name":"export","id":"bc460f95-644e-402f-a182-19efe0031ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reExport\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/invoices/export/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices","export",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"bc460f95-644e-402f-a182-19efe0031ca9"},{"name":"delete","id":"cab3678c-99e9-42c5-b8c3-072a60b260df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/invoices/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["invoices",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"id":"1a8b8c47-d08d-435f-953f-2034225b61be","description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"cab3678c-99e9-42c5-b8c3-072a60b260df"}],"id":"dc965d62-f7d3-422d-9635-600714e7a1ad","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"dc965d62-f7d3-422d-9635-600714e7a1ad","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Time Registrations","item":[{"name":"index","id":"9c94b10c-6094-491f-92dc-ce878d625b63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/time-registrations","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["time-registrations"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c94b10c-6094-491f-92dc-ce878d625b63"},{"name":"store","id":"59d54c2a-da17-4b68-bf5a-e647fb37c2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"description\": \"beschrijving\",\n    \"activity_id\": 3,\n    \"time_spent\": \"30\",\n    \"executed_at\": \"2024-07-11T16:35\",\n    \"actor_id\": 6,\n    \"morphable_type\": \"tickets\",\n    \"morphable_id\": 230\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/time-registrations","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["time-registrations"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"59d54c2a-da17-4b68-bf5a-e647fb37c2ef"},{"name":"show","id":"572777f2-cdd5-4acd-8eee-c7d5aa01ee49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/time-registrations/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["time-registrations",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"572777f2-cdd5-4acd-8eee-c7d5aa01ee49"},{"name":"update","id":"b696db36-bbe8-4a1b-b339-7461ff710ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://cloudbv.inserve.nl/api/time-registrations/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["time-registrations",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"b696db36-bbe8-4a1b-b339-7461ff710ac0"},{"name":"delete","id":"dc5f9a31-cb9a-47cb-b891-8b7a86081bb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/time-registrations/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["time-registrations",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"dc5f9a31-cb9a-47cb-b891-8b7a86081bb5"}],"id":"f559c585-784a-4f0a-bce4-866d5937ca15","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"f559c585-784a-4f0a-bce4-866d5937ca15","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Used Products","item":[{"name":"index","id":"cf53a638-ca14-465e-83a0-26757254774c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/used-products","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["used-products"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf53a638-ca14-465e-83a0-26757254774c"},{"name":"store","id":"e0e7731e-71bf-4450-9beb-24edf48f233b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"executed_at\": \"2024-07-11\",\n    \"description\": \"Beschrijving\",\n    \"product_code\": \"P001\",\n    \"price\": 49,\n    \"quantity\": 1,\n    \"morphable_type\": \"tickets\",\n    \"morphable_id\": 230\n}","options":{"raw":{"language":"json"}}},"url":"https://cloudbv.inserve.nl/api/used-products","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["used-products"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0e7731e-71bf-4450-9beb-24edf48f233b"},{"name":"show","id":"fef21d69-4a60-4a00-9ab1-6e801e989f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/used-products/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["used-products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"fef21d69-4a60-4a00-9ab1-6e801e989f72"},{"name":"update","id":"11c46bfe-30c5-45cb-8a66-a1cea1be1e61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://cloudbv.inserve.nl/api/used-products/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["used-products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"11c46bfe-30c5-45cb-8a66-a1cea1be1e61"},{"name":"delete","id":"5dafb3f8-96e1-4825-b6ee-8e91908e1a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/used-products/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":["used-products",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"5dafb3f8-96e1-4825-b6ee-8e91908e1a0e"}],"id":"e5321633-2625-4d6b-a973-7694b8a6118f","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"e5321633-2625-4d6b-a973-7694b8a6118f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}},{"name":"Other models","item":[{"name":"index","id":"12419e93-5805-4b5c-a322-ef07d083feb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/:model","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"}]}},"response":[],"_postman_id":"12419e93-5805-4b5c-a322-ef07d083feb6"},{"name":"store","id":"21c5ba33-908c-4550-8d1a-9c4692e4e0c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://cloudbv.inserve.nl/api/:model","description":"<p>To store new values, add the content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model.</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"}]}},"response":[],"_postman_id":"21c5ba33-908c-4550-8d1a-9c4692e4e0c9"},{"name":"show","id":"ab88db98-c3e9-485b-96b4-aa12220a9df1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://cloudbv.inserve.nl/api/:model/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"},{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ab88db98-c3e9-485b-96b4-aa12220a9df1"},{"name":"update","id":"6221bdb8-623c-42a8-9861-38ebca5fba96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://cloudbv.inserve.nl/api/:model/:id","description":"<p>To update values, add the new content required by the model to the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"},{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"6221bdb8-623c-42a8-9861-38ebca5fba96"},{"name":"updateOrder","id":"65bec57c-87e1-4585-8baf-9a099e12a1bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"order","value":"","description":"<p>New order for the model</p>\n","type":"text"}]},"url":"https://cloudbv.inserve.nl/api/:model/:id","description":"<p>To update the order value, set the new <code>order</code> value inside the body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"},{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"65bec57c-87e1-4585-8baf-9a099e12a1bb"},{"name":"delete","id":"ebd93cfc-7482-4f84-bc5c-c3a9709ceaf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://cloudbv.inserve.nl/api/:model/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}},"urlObject":{"path":[":model",":id"],"host":["https://cloudbv.inserve.nl/api"],"query":[],"variable":[{"description":{"content":"<p>Plural name of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"model"},{"description":{"content":"<p>ID of the model</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ebd93cfc-7482-4f84-bc5c-c3a9709ceaf8"}],"id":"4ccd121b-350d-4417-b745-f32f509455d7","event":[{"listen":"prerequest","script":{"id":"f1053f2c-1b9f-4e22-8221-ed0075343202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3565c87-cc7e-44a4-b45a-3ad917f86b30","type":"text/javascript","exec":[""]}}],"_postman_id":"4ccd121b-350d-4417-b745-f32f509455d7","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","id":"3ee5c2b4-81ea-4b7f-b452-9d27631d4e40","name":"Inserve API (online docs)","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"15e8abe1-2d84-4918-8842-e8108adfc093","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"14e08d2d-5c2e-45ba-ad84-8467559bf1f1","type":"text/javascript","exec":[""]}}],"variable":[{"key":"subdomain","value":"cloudbv","type":"string"},{"key":"api_token","value":"","type":"string"},{"key":"api_url","value":"https://cloudbv.inserve.nl/api","type":"string"}]}