{"info":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","description":"<html><head></head><body><p>akenza provides a REST API for programmatic access to its features. If you have any questions or want to request new API features, please submit a feature in our <a href=\"https://akenza.canny.io/\">canny board</a>.</p>\n<p>See the navigation sidebar for the list of available endpoints. For some requests multiple examples exists, use the dropdown on the right to navigate different example request/responses.</p>\n<h1 id=\"authorization\">Authorization</h1>\n<p>Request authentication is done using API Keys. The API Key must be specified in the header <code>x-api-key</code>. Since postman doesn't pick up header info in the example requests, please make sure to add it yourselves.</p>\n<p>For authenticating client applications (i.e. authenticating users and access the akenza APIs on their behalf), akenza provides an OIDC endpoint to access the akenza API. Please contact <a href=\"https://mailto:support@akenza.io\">support@akenza.io</a> to get started.</p>\n<h1 id=\"rate-limiting\">Rate limiting</h1>\n<p>Rate Limiting is setup as follows (per second):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>replenish-rate: 10\nburst-capacity: 25\n\n</code></pre><p>Information about how many requests can still be made in the next second can be found in the <code>X-RateLimit-Remaining</code> header of the response.</p>\n<h1 id=\"pagination\">Pagination</h1>\n<p>Most of the endpoints that return lists of objects support pagination. A client may pass the following query parameters to control pagination on supported endpoints:</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>Description</strong></th>\n<th><strong>Default</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Optional. The index of the page.</td>\n<td>0</td>\n</tr>\n<tr>\n<td>size</td>\n<td>Optional. The number of elements per page.</td>\n<td>20</td>\n</tr>\n</tbody>\n</table>\n</div><p>Paginated endpoints return the following response structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"content\": [...],\n    \"pageable\": {\n        \"sort\": {\n            \"empty\": true,\n            \"sorted\": false,\n            \"unsorted\": true\n        },\n        \"offset\": 0,\n        \"pageSize\": 20,\n        \"pageNumber\": 0,\n        \"unpaged\": false,\n        \"paged\": true\n    },\n    \"totalPages\": 2,\n    \"totalElements\": 31,\n    \"last\": false,\n    \"size\": 20,\n    \"number\": 0,\n    \"sort\": {\n        \"empty\": true,\n        \"sorted\": false,\n        \"unsorted\": true\n    },\n    \"numberOfElements\": 20,\n    \"first\": true,\n    \"empty\": false\n}\n\n</code></pre></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authorization","slug":"authorization"},{"content":"Rate limiting","slug":"rate-limiting"},{"content":"Pagination","slug":"pagination"}],"owner":"6536646","collectionId":"d2b7c876-df53-40e6-8774-dbd972e41fb6","publishedId":"Tz5iBMRQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"437df7"},"publishDate":"2024-01-15T10:48:56.000Z"},"item":[{"name":"Organizations","item":[{"name":"get organization by id","id":"b1718650-bb44-4c23-a783-1d8f95dd71db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/organizations/{{organizationId}}","description":"<p>Returns the Organization details</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","organizations","{{organizationId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"60335ed6-ca02-4d66-ba4b-dd8cdc41684c","name":"get organization by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/organizations/{{organizationId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"orgId\",\n    \"name\": \"Org Name\",\n    \"description\": \"Org description\",\n    \"logo\": \"data:image/png;base64,someImage==\",\n    \"owner\": {\n        \"id\": \"ownerId\",\n        \"name\": \"Owner Name\",\n        \"email\": \"owner@akenza.io\"\n    },\n    \"created\": \"2021-10-05T14:50:15.000+00:00\",\n    \"updated\": null\n}"},{"id":"f4e0b3ba-3aa9-429e-905f-61de97e98bc7","name":"get organization by id 400","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/organizations/{{organizationId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": \"2022-07-28T09:55:06.095+00:00\",\n    \"path\": \"/v3/organizations/1\",\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"getOrganizationById.organizationId: must match \\\"^([A-Fa-f0-9]{16})$\\\"\",\n    \"requestId\": \"cd129f1f-1\",\n    \"errorId\": \"ada82e07-4236-4d2f-9ce3-5dcfa27003e4\",\n    \"traceId\": \"75b05188d845cd54\",\n    \"validationErrors\": [\n        {\n            \"message\": \"must match \\\"^([A-Fa-f0-9]{16})$\\\"\",\n            \"property\": \"getOrganizationById.organizationId\"\n        }\n    ]\n}"}],"_postman_id":"b1718650-bb44-4c23-a783-1d8f95dd71db"}],"id":"a667f71a-e4d5-414b-86b0-b34e51de1349","event":[{"listen":"prerequest","script":{"id":"e4e23932-f06c-47a6-9b32-d09fd5327d57","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8606fa25-ea73-47b4-9f3e-a46183f2aea9","type":"text/javascript","exec":[""]}}],"_postman_id":"a667f71a-e4d5-414b-86b0-b34e51de1349","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Workspaces","item":[{"name":"create workspace","id":"f88f3618-008d-4327-a4fe-a8c12fbaec24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"organizationId\": \"<organizationId>\",\n    \"properties\": {},\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": [],\n        \"dataRetentionPeriodDays\": \"<number>\", //default -1 == INFINITE\n        \"workingHours\": {\n            \"MONDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": \"<number>\",\n                        \"minutes\": \"<number>\"\n                    },\n                    \"to\": {\n                        \"hours\": \"<number>\",\n                        \"minutes\": \"<number>\"\n                    }\n                }\n            ]\n        },\n        \"country\": \"GB_ENG\",\n        \"excludePublicHolidays\": false,\n        \"additionalExcludedDates\": [\n            {\n                \"recurringHoliday\": \"<dd.mm>\",\n                \"specificHoliday\": \"yyyy-mm-dd\",\n                \"holidayName\": \"<string>\"\n            }\n        ],\n        \"includedDates\":[\n            {\n                \"recurringHoliday\": \"<dd.mm>\",\n                \"specificHoliday\": \"yyyy-mm-dd\",\n                \"holidayName\": \"<string>\"\n            }\n        ],\n        \"enableAdditionalExcludeDates\": false,\n        \"enableAdditionalIncludeDates\": false,\n        \"location\": {\n            \"latitude\": \"<number>\",\n            \"longitude\": \"<number>\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/workspaces","description":"<p>Creates a Workspace</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","workspaces"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"647e02c4-89b6-4bce-a5c3-07f3017f2d4c","name":"create workspace","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"organizationId\": \"<organizationId>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/workspaces"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Thu, 28 Jul 2022 10:00:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"314"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":"29a9a1ab27de9164"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"workspaceId\",\n    \"name\": \"Workspace Name\",\n    \"description\": \"Workspace Description\",\n    \"version\": 0,\n    \"properties\": {},\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": [],\n        \"dataRetentionPeriodDays\": 90,\n        \"workingHours\": {\n            \"SUNDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"THURSDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"TUESDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"FRIDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"SATURDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"WEDNESDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"MONDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ]\n        },\n        \"country\": null,\n        \"excludePublicHolidays\": false,\n        \"additionalExcludedDates\": [\n            {\n                \"recurringHoliday\": null,\n                \"specificHoliday\": \"2024-03-06\",\n                \"holidayName\": null\n            }\n        ],\n        \"includedDates\": [],\n        \"location\": null,\n        \"enableAdditionalExcludeDates\": true,\n        \"enableAdditionalIncludeDates\": false\n    },\n    \"organizationId\": \"organizationId\",\n    \"updated\": null,\n    \"created\": \"2022-07-28T10:00:04.000+00:00\"\n}"}],"_postman_id":"f88f3618-008d-4327-a4fe-a8c12fbaec24"},{"name":"find all workspaces","id":"14f93f5c-8f75-4e92-8072-8ab6b4d4aee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/workspaces?organizationId={{organizationId}}","description":"<p>Finds all workpsaces in the provided organization</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","workspaces"],"host":["{{baseUrl}}"],"query":[{"key":"organizationId","value":"{{organizationId}}"}],"variable":[]}},"response":[{"id":"9391fda9-fc4d-47e0-9eb2-3e99d86dd49c","name":"find all workspaces","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/workspaces?organizationId={{organizationId}}","host":["{{baseUrl}}"],"path":["v3","workspaces"],"query":[{"key":"organizationId","value":"{{organizationId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Thu, 28 Jul 2022 10:01:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"715"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"workspaceId\",\n            \"name\": \"Workspace Name\",\n            \"description\": \"Workspace Description\",\n            \"version\": 12,\n            \"properties\": {},\n            \"settings\": {\n                \"lifecycleMessages\": false,\n                \"lifecycleMessageInterval\": \"WEEKLY\",\n                \"lifecycleMessageRecipients\": [\n                    \"mail@akenza.io\"\n                ],\n                \"dataRetentionPeriodDays\": -1\n            },\n            \"organizationId\": \"organizationId\",\n            \"updated\": \"2022-07-26T12:27:22.000+00:00\",\n            \"created\": \"2021-10-05T14:50:18.000+00:00\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"sorted\": false,\n            \"unsorted\": true,\n            \"empty\": true\n        },\n        \"offset\": 0,\n        \"pageSize\": 20,\n        \"pageNumber\": 0,\n        \"unpaged\": false,\n        \"paged\": true\n    },\n    \"totalElements\": 1,\n    \"totalPages\": 1,\n    \"last\": true,\n    \"number\": 0,\n    \"sort\": {\n        \"sorted\": false,\n        \"unsorted\": true,\n        \"empty\": true\n    },\n    \"size\": 20,\n    \"numberOfElements\": 1,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"14f93f5c-8f75-4e92-8072-8ab6b4d4aee1"},{"name":"get workspace by id","id":"ff79f877-c9e7-4e5c-a585-3b8169c1c052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}","description":"<p>Returns Workspace details</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","workspaces","{{workspaceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"7c35fac8-8915-40ee-a10c-67f1f055836a","name":"get workspace by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Thu, 28 Jul 2022 10:05:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"399"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"workspaceId\",\n    \"name\": \"Workspace Name\",\n    \"description\": \"Workspace Description\",\n    \"version\": 12,\n    \"properties\": {},\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": [\n            \"mail@akenza.io\"\n        ],\n        \"dataRetentionPeriodDays\": -1\n    },\n    \"organizationId\": \"organizationId\",\n    \"updated\": \"2022-07-26T12:27:22.000+00:00\",\n    \"created\": \"2021-10-05T14:50:18.000+00:00\"\n}"}],"_postman_id":"ff79f877-c9e7-4e5c-a585-3b8169c1c052"},{"name":"update workspace","id":"7ee92350-ba3a-4bab-a503-3ce3770c223c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{workspaceId}}\",\n    \"name\": \"Workspace Name\",\n    \"description\": \"Workspace Description\",\n    \"version\": 0,\n    \"properties\": {\n        \"metaInfo\": {}\n    },\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": [],\n        \"dataRetentionPeriodDays\": \"<number>\",\n        \"workingHours\": {\n            \"MONDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": \"<number>\",\n                        \"minutes\": \"<number>\"\n                    },\n                    \"to\": {\n                        \"hours\": \"<number>\",\n                        \"minutes\": \"<number>\"\n                    }\n                }\n            ]\n        },\n        \"country\": \"GB_ENG\",\n        \"excludePublicHolidays\": false,\n        \"additionalExcludedDates\": [\n            {\n                \"recurringHoliday\": \"<dd.mm>\",\n                \"specificHoliday\": \"yyyy-mm-dd\",\n                \"holidayName\": \"<string>\"\n            }\n        ],\n        \"includedDates\":[\n            {\n                \"recurringHoliday\": \"<dd.mm>\",\n                \"specificHoliday\": \"yyyy-mm-dd\",\n                \"holidayName\": \"<string>\"\n            }\n        ],\n        \"enableAdditionalExcludeDates\": false,\n        \"enableAdditionalIncludeDates\": false,\n        \"location\": {\n            \"latitude\": \"<number>\",\n            \"longitude\": \"<number>\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}","description":"<p>Update a workspace</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","workspaces","{{workspaceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"212f8ffd-cc6f-43a7-9202-e167e2bfd82d","name":"update workspace","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{workspaceId}}\",\n    \"name\": \"Workspace Name\",\n    \"description\": \"Workspace Description\",\n    \"version\": 0,\n    \"properties\": {\n        \"metaInfo\": {}\n    },\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Thu, 28 Jul 2022 13:58:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"355"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"workspaceId\",\n    \"name\": \"Workspace Name\",\n    \"description\": \"Workspace Description\",\n    \"version\": 1,\n    \"properties\": {\n        \"metaInfo\": {}\n    },\n    \"settings\": {\n        \"lifecycleMessages\": false,\n        \"lifecycleMessageInterval\": \"WEEKLY\",\n        \"lifecycleMessageRecipients\": [],\n        \"dataRetentionPeriodDays\": 30,\n        \"workingHours\": {\n            \"SUNDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"THURSDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"TUESDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"FRIDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"SATURDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"WEDNESDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ],\n            \"MONDAY\": [\n                {\n                    \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 12,\n                        \"minutes\": 0\n                    }\n                },\n                {\n                    \"from\": {\n                        \"hours\": 13,\n                        \"minutes\": 0\n                    },\n                    \"to\": {\n                        \"hours\": 24,\n                        \"minutes\": 0\n                    }\n                }\n            ]\n        },\n        \"country\": null,\n        \"excludePublicHolidays\": false,\n        \"additionalExcludedDates\": [\n            {\n                \"recurringHoliday\": null,\n                \"specificHoliday\": \"2024-03-06\",\n                \"holidayName\": null\n            }\n        ],\n        \"includedDates\": [],\n        \"location\": null,\n        \"enableAdditionalExcludeDates\": true,\n        \"enableAdditionalIncludeDates\": false\n    },\n    \"organizationId\": \"organizationId\",\n    \"updated\": \"2022-07-28T13:58:47.000+00:00\",\n    \"created\": \"2022-07-28T10:13:44.000+00:00\"\n}"}],"_postman_id":"7ee92350-ba3a-4bab-a503-3ce3770c223c"},{"name":"delete Workspace","id":"382a8d9c-85ea-4daf-9394-d6bd8877557f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}","description":"<p>Deletes the Workspace.</p>\n<p>If the contained Assets should be deleted on the remote systems as well, set the query param <code>deregisterAssets</code> to true.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","workspaces","{{workspaceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"49203c67-aae7-485c-b87e-d195dfe0a8b6","name":"delete Workspace","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/workspaces/{{workspaceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Thu, 28 Jul 2022 13:59:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"45"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Workspace successfully deleted.\"\n}"}],"_postman_id":"382a8d9c-85ea-4daf-9394-d6bd8877557f"}],"id":"e23054a0-34ee-4248-be19-dcb53e45a5f4","_postman_id":"e23054a0-34ee-4248-be19-dcb53e45a5f4","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Device Types","item":[{"name":"create device type","id":"c02a3315-1149-4f1a-95aa-20ee4acb9275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"organizationId\": \"<organizationId>\",\n    \"meta\": {\n        \"version\": \"<string>\",\n        \"manufacturer\": \"<string>\",\n        \"url\": \"<string>\",\n        \"author\": \"<string>\",\n        \"firmwareVersion\": \"<string>\",\n        \"loraDeviceClass\": \"<string>\",\n        \"availableSensors\": \"<array>\",\n        \"outputTopics\": \"<array>\",\n        \"encoding\": \"<string>\",\n        \"connectivity\": \"<string>\"\n    },\n    \"schemas\": \"<object>\",\n    \"uplinkScript\":\"<string>\",\n    \"downlinkScript\":\"<string>\",\n    \"pictureUrl\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-types","description":"<p>Create a Device Type</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0bec5dc2-cc05-430e-89cb-6efeb26c86d9","name":"create device type","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Doc Device Type\",\n    \"description\": null,\n    \"organizationId\": \"organizationId\",\n    \"meta\": {\n        \"manufacturer\": \"Akenza\",\n        \"url\": null,\n        \"author\": null,\n        \"firmwareVersion\": null,\n        \"connectivity\": \"LORA\",\n        \"availableSensors\": [\n            \"Humidity\",\n            \"Temperature\",\n            \"PIR\"\n        ],\n        \"encoding\": \"JSON\"\n    },\n    \"schemas\": null,\n    \"uplinkScript\": \"function consume(event) {\\n    var decoded = {}; //TODO implement decoding\\n    emit('sample', { data: decoded, topic: \\\"default\\\" });\\n}\",\n    \"downlinkScript\": null,\n    \"pictureUrl\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"deviceTypeId\",\n    \"name\": \"Doc Device Type\",\n    \"description\": null,\n    \"type\": \"manual\",\n    \"organizationId\": \"organizationId\",\n    \"version\": 1,\n    \"meta\": {\n        \"manufacturer\": \"Akenza\",\n        \"url\": null,\n        \"author\": null,\n        \"properties\": null,\n        \"firmwareVersion\": null,\n        \"encoding\": \"JSON\",\n        \"connectivity\": \"LORA\",\n        \"availableSensors\": [\n            \"Humidity\",\n            \"Temperature\",\n            \"PIR\"\n        ],\n        \"outputTopics\": null\n    },\n    \"schemas\": null,\n    \"uplinkScript\": {\n        \"code\": \"function consume(event) {\\n    var decoded = {}; //TODO implement decoding\\n    emit('sample', { data: decoded, topic: \\\"default\\\" });\\n}\",\n        \"version\": 1\n    },\n    \"downlinkScript\": {\n        \"code\": \"\",\n        \"version\": 1\n    },\n    \"libraryPath\": null,\n    \"pictureUrl\": null\n}"}],"_postman_id":"c02a3315-1149-4f1a-95aa-20ee4acb9275"},{"name":"get all device types","id":"8571d07b-2748-4a11-af1f-fc3480ec571c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"organizationId\": \"<string>\",\n    \"search\": \"<string>\",\n    \"expression\": {\n        \"operator\": \"<string>\",\n        \"expressions\": [\n            {\n                \"field\": \"<enum>\",\n                \"predicate\": \"<enum>\",\n                \"values\": []\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-types/list?page={{pageNumber}}&sort={{field}},{{direction}}","description":"<p>Get a list of Device Types stored in database.</p>\n<p>organizationId has to be set.</p>\n<p>See get Device Types by id for object reference.</p>\n<p>Also refer to <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> in the akenza documentation.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types","list"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"{{pageNumber}}"},{"key":"sort","value":"{{field}},{{direction}}"}],"variable":[]}},"response":[{"id":"54e7e7e8-de52-468a-b3d2-af18694b5039","name":"get all device types","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"organizationId\": \"280000000000000\",\n    \"search\": \"test\",\n    \"expression\": {\n        \"operator\": \"AND\",\n        \"expressions\": [\n            {\n                \"field\": \"meta.manufacturer\",\n                \"predicate\": \"EQUALS\",\n                \"values\": [\n                    \"Akenza\"\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/device-types?organizationId={{organizationId}}&search={{search}}&details=false&types=manual","host":["{{baseUrl}}"],"path":["v3","device-types"],"query":[{"key":"organizationId","value":"{{organizationId}}","description":"The organization id (required)"},{"key":"search","value":"{{search}}","description":"Search term (optional)"},{"key":"details","value":"false","description":"Whether to include scripts (default true)"},{"key":"types","value":"manual","description":"Script type (manual or library)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"deviceTypeId\",\n            \"name\": \"Doc Device Type\",\n            \"description\": null,\n            \"type\": \"manual\",\n            \"organizationId\": \"organizationId\",\n            \"version\": 1,\n            \"meta\": {\n                \"manufacturer\": \"Akenza\",\n                \"url\": null,\n                \"author\": null,\n                \"properties\": null,\n                \"firmwareVersion\": null,\n                \"encoding\": \"JSON\",\n                \"connectivity\": \"LORA\",\n                \"availableSensors\": [\n                    \"Humidity\",\n                    \"Temperature\",\n                    \"PIR\"\n                ],\n                \"outputTopics\": null\n            }\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"sorted\": true,\n            \"unsorted\": false,\n            \"empty\": false\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 20,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 1,\n    \"totalElements\": 1,\n    \"last\": false,\n    \"size\": 20,\n    \"number\": 0,\n    \"sort\": {\n        \"sorted\": true,\n        \"unsorted\": false,\n        \"empty\": false\n    },\n    \"numberOfElements\": 1,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"8571d07b-2748-4a11-af1f-fc3480ec571c"},{"name":"get device type by id","id":"cdbc66d1-3d25-4181-bd86-21bde18cea23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}","description":"<p>Get Device Type details</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types","{{deviceTypeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d1cdb8f0-a560-474a-8bdc-dee917f5fdaf","name":"get device type by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"deviceTypeId\",\n    \"name\": \"Doc Device Type\",\n    \"description\": null,\n    \"type\": \"manual\",\n    \"organizationId\": \"organizationId\",\n    \"version\": 1,\n    \"meta\": {\n        \"manufacturer\": \"Akenza\",\n        \"url\": null,\n        \"author\": null,\n        \"properties\": null,\n        \"firmwareVersion\": null,\n        \"encoding\": \"JSON\",\n        \"connectivity\": \"LORA\",\n        \"availableSensors\": [\n            \"Humidity\",\n            \"Temperature\",\n            \"PIR\"\n        ],\n        \"outputTopics\": null\n    },\n    \"schemas\": null,\n    \"uplinkScript\": {\n        \"code\": \"function consume(event) {\\n    var decoded = {}; //TODO implement decoding\\n    emit('sample', { data: decoded, topic: \\\"default\\\" });\\n}\",\n        \"version\": 1\n    },\n    \"downlinkScript\": {\n        \"code\": \"\",\n        \"version\": 1\n    },\n    \"libraryPath\": null,\n    \"pictureUrl\": null\n}"}],"_postman_id":"cdbc66d1-3d25-4181-bd86-21bde18cea23"},{"name":"update device type","id":"e0b1b50c-9b2d-4b49-a0d4-318cfd38ee18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"organizationId\": \"<organizationId>\",\n    \"uplinkScript\":\"<string>\",\n    \"downlinkScript\":\"<string>\",\n    \"pictureUrl\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}","description":"<p>Update a Device Type</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types","{{deviceTypeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"948b8c79-f056-4972-9eb4-131e9aadeb13","name":"update device type","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{deviceTypeId}}\",\n    \"name\": \"Doc Device Type\",\n    \"description\": null,\n    \"organizationId\": \"organizationId\",\n    \"meta\": {\n        \"manufacturer\": \"Akenza\",\n        \"url\": null,\n        \"author\": null,\n        \"firmwareVersion\": null,\n        \"connectivity\": \"LORA\",\n        \"availableSensors\": [\n            \"Humidity\",\n            \"Temperature\",\n            \"PIR\"\n        ],\n        \"encoding\": \"JSON\"\n    },\n    \"schemas\": null,\n    \"uplinkScript\": \"function consume(event) {\\n    var decoded = {}; //TODO implement decoding\\n    emit('sample', { data: decoded, topic: \\\"default\\\" });\\n}\",\n    \"downlinkScript\": null,\n    \"pictureUrl\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"deviceTypeId\",\n    \"name\": \"Doc Device Type\",\n    \"description\": null,\n    \"type\": \"manual\",\n    \"organizationId\": \"organizationId\",\n    \"version\": 1,\n    \"meta\": {\n        \"manufacturer\": \"Akenza\",\n        \"url\": null,\n        \"author\": null,\n        \"properties\": null,\n        \"firmwareVersion\": null,\n        \"encoding\": \"JSON\",\n        \"connectivity\": \"LORA\",\n        \"availableSensors\": [\n            \"Humidity\",\n            \"Temperature\",\n            \"PIR\"\n        ],\n        \"outputTopics\": null\n    },\n    \"schemas\": null,\n    \"uplinkScript\": {\n        \"code\": \"function consume(event) {\\n    var decoded = {}; //TODO implement decoding\\n    emit('sample', { data: decoded, topic: \\\"default\\\" });\\n}\",\n        \"version\": 1\n    },\n    \"downlinkScript\": {\n        \"code\": \"\",\n        \"version\": 1\n    },\n    \"libraryPath\": null,\n    \"pictureUrl\": null\n}"}],"_postman_id":"e0b1b50c-9b2d-4b49-a0d4-318cfd38ee18"},{"name":"delete device type","id":"38069741-b3fc-40cc-a8ae-9e1d94d86a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}","description":"<p>Delete a Device Type</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types","{{deviceTypeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c3c559cb-f799-4536-9999-24c83756cf99","name":"delete device type","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-types/{{deviceTypeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully deleted\"\n}"}],"_postman_id":"38069741-b3fc-40cc-a8ae-9e1d94d86a85"},{"name":"get all device types (deprecated)","id":"a398a89e-fd7d-49e8-a7ed-5a7224b97dc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-types?organizationId={{organizationId}}&search={{search}}&details=false&types=manual","description":"<p>Get a list of Device Types stored in database. Only custom Device Types are returned.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-types"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The organization id (required)</p>\n","type":"text/plain"},"key":"organizationId","value":"{{organizationId}}"},{"description":{"content":"<p>Search term (optional)</p>\n","type":"text/plain"},"key":"search","value":"{{search}}"},{"description":{"content":"<p>Whether to include scripts (default true)</p>\n","type":"text/plain"},"key":"details","value":"false"},{"key":"types","value":"manual"}],"variable":[]}},"response":[{"id":"b31034bb-f527-4cc0-89eb-1df1ce85a1ac","name":"get all device types","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/device-types?organizationId={{organizationId}}&search={{search}}&details=false&types=manual","host":["{{baseUrl}}"],"path":["v3","device-types"],"query":[{"key":"organizationId","value":"{{organizationId}}","description":"The organization id (required)"},{"key":"search","value":"{{search}}","description":"Search term (optional)"},{"key":"details","value":"false","description":"Whether to include scripts (default true)"},{"key":"types","value":"manual","description":"Script type (manual or library)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"deviceTypeId\",\n            \"name\": \"Doc Device Type\",\n            \"description\": null,\n            \"type\": \"manual\",\n            \"organizationId\": \"organizationId\",\n            \"version\": 1,\n            \"meta\": {\n                \"manufacturer\": \"Akenza\",\n                \"url\": null,\n                \"author\": null,\n                \"properties\": null,\n                \"firmwareVersion\": null,\n                \"encoding\": \"JSON\",\n                \"connectivity\": \"LORA\",\n                \"availableSensors\": [\n                    \"Humidity\",\n                    \"Temperature\",\n                    \"PIR\"\n                ],\n                \"outputTopics\": null\n            }\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"sorted\": true,\n            \"unsorted\": false,\n            \"empty\": false\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 20,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 1,\n    \"totalElements\": 1,\n    \"last\": false,\n    \"size\": 20,\n    \"number\": 0,\n    \"sort\": {\n        \"sorted\": true,\n        \"unsorted\": false,\n        \"empty\": false\n    },\n    \"numberOfElements\": 1,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"a398a89e-fd7d-49e8-a7ed-5a7224b97dc5"},{"name":"get filter options (deprecated)","id":"91aea8c6-a0a1-4774-96b1-dff41d3de9ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/assets/filter-options?organizationId={{organizationId}}","description":"<p>Either set organizationId, workspaceId or workspaceIds.</p>\n<p>The explanation of the response can be found in the <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">akenza documentation</a>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets","filter-options"],"host":["{{baseUrl}}"],"query":[{"key":"organizationId","value":"{{organizationId}}"}],"variable":[]}},"response":[{"id":"5626039a-6afc-4499-8420-54fd38e36d60","name":"filter options","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets/filter-options-v2?organizationId=3300000000000000","host":["{{baseUrl}}"],"path":["v3","assets","filter-options-v2"],"query":[{"key":"organizationId","value":"3300000000000000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"definitions\" : {\n    \"supportedPredicates\" : [\n      {\n        \"filterType\" : \"ENUM\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"NUMBER\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"LESS_THAN\",\n          \"LESS_THAN_OR_EQUALS\",\n          \"GREATER_THAN\",\n          \"GREATER_THAN_OR_EQUALS\",\n          \"BETWEEN\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"BOOLEAN\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"RELATED_ENTITY\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"IN\",\n          \"NOT_EQUALS\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"STRING\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"CONTAINS\",\n          \"STARTS_WITH\",\n          \"ENDS_WITH\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"DATE\",\n        \"predicates\" : [\n          \"EQUALS\",\n          \"BETWEEN\",\n          \"BEFORE\",\n          \"AFTER\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\" : \"LIST_FIELDS\",\n        \"predicates\" : [\n          \"CONTAINS_ALL\",\n          \"CONTAINS_NONE\",\n          \"CONTAINS_ANY\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      }\n    ]\n  },\n  \"filterOptions\" : {\n    \"meta\" : {\n      \"manufacturer\" : {\n        \"filterType\" : \"STRING\",\n        \"values\" : [\n          \"Akenza AG\",\n          \"Some manufacturer0\",\n          \"Some manufacturer1\",\n          \"Some manufacturer2\"\n        ]\n      },\n      \"connectivity\" : {\n        \"filterType\" : \"STRING\",\n        \"values\" : [\n          \"LoRaWAN1\",\n          \"LoRaWAN2\",\n          \"MQTT\"\n        ]\n      },\n      \"encoding\" : {\n        \"filterType\" : \"STRING\",\n        \"values\" : [\n          \"HEX0\",\n          \"HEX1\",\n          \"HEX2\",\n          \"JSON\"\n        ]\n      },\n      \"availableSensors\" : {\n        \"filterType\" : \"STRING\",\n        \"values\" : [\n          \"CO2\",\n          \"Humidity\",\n          \"Humidity0\",\n          \"Humidity1\",\n          \"Humidity2\",\n          \"Light\",\n          \"Temperature\"\n        ]\n      },\n      \"firmwareVersion\" : {\n        \"filterType\" : \"STRING\"\n      }\n    },\n    \"type\" : {\n      \"filterType\" : \"STRING\",\n      \"values\" : [\n        \"library\",\n        \"manual\"\n      ]\n    },\n    \"created\" : {\n      \"filterType\" : \"DATE\"\n    },\n    \"updated\" : {\n      \"filterType\" : \"DATE\"\n    }\n  }\n}"}],"_postman_id":"91aea8c6-a0a1-4774-96b1-dff41d3de9ce"}],"id":"168ca3ca-abf9-4e83-8fc8-39bc1536331a","_postman_id":"168ca3ca-abf9-4e83-8fc8-39bc1536331a","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Device Connectors","item":[{"name":"create device connector","id":"237b064d-5813-451f-bc70-265bfbec75f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Device Connector Name\",\n    \"connectivity\": \"HTTP|MQTT\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"decodingType\": \"NONE\",\n    \"authType\": \"BASIC|DEVICE_CREDENTIALS\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-connectors","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-connectors"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c0f1034d-51e7-466d-9682-10fc578ab120","name":"create device connector","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Device Connector Name\",\n    \"connectivity\": \"HTTP\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"decodingType\": \"NONE\",\n    \"authType\": \"BASIC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-connectors"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:14:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":""},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"07fa2f11550dcc59\",\n    \"version\": 0,\n    \"created\": \"2022-08-30T15:14:11.000+00:00\",\n    \"updated\": null,\n    \"name\": \"HTTP Device Connector Name\",\n    \"uplinkSecret\": \"<uplinkSecret>\",\n    \"connectivity\": \"HTTP\",\n    \"carrier\": null,\n    \"provider\": null,\n    \"integrationId\": null,\n    \"description\": null,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"yanziProperties\": null,\n    \"global\": false,\n    \"integrationDeleted\": false,\n    \"decodingType\": \"NONE\",\n    \"authType\": \"BASIC\"\n}"}],"_postman_id":"237b064d-5813-451f-bc70-265bfbec75f2"},{"name":"get device connectors","id":"69792fb0-2612-476b-8abe-b754bcca846c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-connectors?size=50&workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-connectors"],"host":["{{baseUrl}}"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"8bb51ec2-af98-4edd-a95e-318054620b04","name":"get device connectors","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/device-connectors?size=50&workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","device-connectors"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:27:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"11712"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"07e3f54ecb3bbdf5\",\n            \"version\": 0,\n            \"created\": \"2022-06-14T13:33:32.000+00:00\",\n            \"updated\": null,\n            \"name\": \"akenza - everynet Connector\",\n            \"uplinkSecret\": null,\n            \"connectivity\": \"LORA\",\n            \"carrier\": \"EVERYNET\",\n            \"provider\": \"everynet\",\n            \"integrationId\": \"06bde9e92cf25902\",\n            \"description\": \"Automatically generated by integration (akenza - everynet)\",\n            \"workspaceId\": null,\n            \"yanziProperties\": null,\n            \"global\": true,\n            \"integrationDeleted\": false,\n            \"decodingType\": \"NONE\",\n            \"authType\": \"BASIC\"\n        },\n        {\n            \"id\": \"{{deviceConnectorId}}\",\n            \"version\": 0,\n            \"created\": \"2022-08-30T15:14:11.000+00:00\",\n            \"updated\": null,\n            \"name\": \"Device Connector Name\",\n            \"uplinkSecret\": \"<secret>\",\n            \"connectivity\": \"HTTP\",\n            \"carrier\": null,\n            \"provider\": null,\n            \"integrationId\": null,\n            \"description\": null,\n            \"workspaceId\": \"{{workspaceId}}\",\n            \"yanziProperties\": null,\n            \"global\": false,\n            \"integrationDeleted\": false,\n            \"decodingType\": \"NONE\",\n            \"authType\": \"BASIC\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"empty\": true,\n            \"sorted\": false,\n            \"unsorted\": true\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 50,\n        \"unpaged\": false,\n        \"paged\": true\n    },\n    \"totalElements\": 3,\n    \"totalPages\": 1,\n    \"last\": true,\n    \"size\": 50,\n    \"number\": 0,\n    \"sort\": {\n        \"empty\": true,\n        \"sorted\": false,\n        \"unsorted\": true\n    },\n    \"numberOfElements\": 28,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"69792fb0-2612-476b-8abe-b754bcca846c"},{"name":"get device connector by id","id":"83a92e35-9036-45fd-ab6e-9d052a92dc69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-connectors/{{deviceConnectorId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-connectors","{{deviceConnectorId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"33c1a858-f8ac-4c98-94b7-433b164da4e6","name":"get device connector by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-connectors/{{deviceConnectorId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:30:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"{{deviceConnectorId}}\",\n    \"version\": 0,\n    \"created\": \"2022-08-30T15:14:11.000+00:00\",\n    \"updated\": null,\n    \"name\": \"Device Connector Name\",\n    \"uplinkSecret\": \"<secret>\",\n    \"connectivity\": \"HTTP\",\n    \"carrier\": null,\n    \"provider\": null,\n    \"integrationId\": null,\n    \"description\": null,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"yanziProperties\": null,\n    \"global\": false,\n    \"integrationDeleted\": false,\n    \"decodingType\": \"NONE\",\n    \"authType\": \"BASIC\"\n}"}],"_postman_id":"83a92e35-9036-45fd-ab6e-9d052a92dc69"},{"name":"delete device connector by id Copy","id":"cff498f6-6402-440a-935d-2d23d91306d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-connectors/{{deviceConnectorId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-connectors","{{deviceConnectorId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"bf1349d2-8711-45c8-af6d-8111c56023d6","name":"delete device connector by id","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-connectors/{{deviceConnectorId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:30:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cff498f6-6402-440a-935d-2d23d91306d1"}],"id":"badf08f4-3a7e-4727-9c95-56a5b648dbd3","_postman_id":"badf08f4-3a7e-4727-9c95-56a5b648dbd3","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Output Connectors","item":[{"name":"create output connector","id":"d79450a0-9f92-45c5-900c-0dfc8f854fe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": 1,\n    \"name\": \"httpdump\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/output-connectors","description":"<h1 id=\"global-properties\">Global properties</h1>\n<p><code>name</code>: the name of the output connector</p>\n<p><code>workspaceId</code>: the workspace id</p>\n<p><code>useCustomPayload</code>: if set to true the custom payload will be generated</p>\n<p><code>customPayload</code>: custom payload, see <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a></p>\n<p><code>sendConsecutiveAlerts</code>:</p>\n<ul>\n<li>only used for Rule Actions</li>\n<li>If enabled, the output will be sent each time for consecutive alerts</li>\n<li>If disabled, an output will only be triggered the first time the logic of a condition is met and it will only be triggered again if the condition is not met in between (alert is reset)</li>\n</ul>\n<p>Output connector types:</p>\n<ul>\n<li>AKENZA_DATABASE</li>\n<li>CUSTOM_AKENZA_DATABASE</li>\n<li>WEBHOOK</li>\n<li>DOWNLINK</li>\n<li>MAIL</li>\n<li>SMS</li>\n<li>AZURE</li>\n<li>GCP</li>\n<li>INFLUX_DB</li>\n<li>AMAZON_KINESIS</li>\n<li>MS_TEAMS</li>\n<li>KAFKA</li>\n<li>SLACK</li>\n</ul>\n<h1 id=\"type-webhook\">type: <code>WEBHOOK</code></h1>\n<p>properties: <code>webhookProperties</code></p>\n<p>authType: BEARER, HEADER, BASIC, NONE</p>\n<p>method: GET, POST, PUT, PATCH, DELETE</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"authType\": \"NONE\",\n    \"contentType\": \"JSON\",\n    \"method\": \"POST\",\n    \"headers\": {},\n    \"authHeaders\": {},\n    \"uri\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-custom_akenza_database\">type: <code>CUSTOM_AKENZA_DATABASE</code></h1>\n<p>Only available as Rule Actions</p>\n<p>properties: <code>customAkenzaDbProperties</code></p>\n<p>topic: the used topic</p>\n<p>targetDeviceId: defines for which device the output is saved</p>\n<p>useCurrentDevice: defines the device triggering the Rule as target device</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"topic\": \"\",\n    \"targetDeviceId\": \"\",\n    \"useCurrentDevice\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-mail\">type: <code>MAIL</code></h1>\n<p>properties: <code>mailProperties</code></p>\n<p>messageTemplate: the template used to generate the Mail message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<p>subjectTemplate: the template used to generate the Mail subject, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<p>recipients: a list of all recipients</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"messageTemplate\": \"\",\n    \"subjectTemplate\": \"\",\n    \"recipients\": [\"\"]\n}\n\n</code></pre>\n<h1 id=\"type-downlink\">type: <code>DOWNLINK</code></h1>\n<p>Only available as Rule Action</p>\n<p>properties: <code>downlinkProperties</code></p>\n<p>targetDeviceIds: a list of all target devices</p>\n<p>downlinkType: LORA, MQTT, HTTP, COAP the connection type of the Data Flow</p>\n<p>topic: the used topic</p>\n<p>dataFlowId: the id of the data flow</p>\n<p>raw: skip data flow downlink code if set to true</p>\n<h3 id=\"lora-data-flow-properties\">LoRa Data Flow properties:</h3>\n<p>port: the LoRa downlink port, might be overridden by the data flow</p>\n<p>confirmed: the LoRa payload confirmed property, might be overridden by the data flow</p>\n<p>rawDownlinkPayload:</p>\n<ul>\n<li>Hex string payload</li>\n<li>use in case of raw = true or a Data Flow with no downlink script</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"downlinkType\": \"\",\n    \"topic\": \"\",\n    \"dataFlowId\": \"\",\n    \"raw\": \"\",\n    \"rawDownlinkPayload\": \"\",\n    \"targetDeviceIds\": [\"\"],\n    \"port\": \"\",\n    \"confirmed\": \"\",\n}\n\n</code></pre>\n<h1 id=\"type-azure\">type: <code>AZURE</code></h1>\n<p>Connector for the Azure IoT Hub.</p>\n<p>properties: <code>azureProperties</code></p>\n<p>connectionString: the Azure IoT Hub Connection string</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"connectionString\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-sms\">type: <code>SMS</code></h1>\n<p>properties: <code>smsProperties</code></p>\n<p>recipientPhones: the phone numbers of recipients</p>\n<p>messageText: the SMS text , <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"messageText\": \"\",\n    \"recipientPhones\": [\"\"]\n}\n\n</code></pre>\n<h1 id=\"type-gcp\">type: <code>GCP</code></h1>\n<p>properties: <code>gcpProperties</code></p>\n<p>pubSubTopic: the GCP subscription topic</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pubSubTopic\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-influx_db\">type: <code>INFLUX_DB</code></h1>\n<p>properties: <code>influxProperties</code></p>\n<p>uri: the uri of the database</p>\n<p>token: the authentication topic of the database</p>\n<p>orgId: the organization id of the database</p>\n<p>bucket: the bucket the sample should be saved to</p>\n<p>measurementName: the measurement name</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"uri\": \"\",\n    \"token\": \"\",\n    \"orgId\": \"\",\n    \"bucket\": \"\",\n    \"measurementName\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-amazon_kinesis\">type: <code>AMAZON_KINESIS</code></h1>\n<p>properties: <code>amazonKinesisProperties</code></p>\n<p>iamAccessKeyId: the iam access key id</p>\n<p>iamSecretAccessKey: the iam access key secret</p>\n<p>kinesisArn: the kinesis arn</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"iamAccessKeyId\": \"\",\n    \"iamSecretAccessKey\": \"\",\n    \"kinesisArn\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-ms_teams\">type: <code>MS_TEAMS</code></h1>\n<p>properties: <code>msTeamsProperties</code></p>\n<p>notificationUrl: the MS Teams notification URL</p>\n<p>message: the MS Teams message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"notificationUrl\": \"\",\n    \"message\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-kafka\">type: <code>KAFKA</code></h1>\n<p>properties: <code>kafkaProperties</code></p>\n<p>kafkaTopic: the topic used on kafka</p>\n<p>kafkaBootstrapServers: the kafka bootstrap server</p>\n<p>securityProtocol: SASL_SSL</p>\n<p>saslMechanism: PLAIN</p>\n<p>saslJaasUsername: the username</p>\n<p>saslJaasPassword: the password</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"kafkaTopic\": \"\",\n    \"kafkaBootstrapServers\": \"\",\n    \"kafkaBootstrapServers\": \"\",\n    \"securityProtocol\": \"\",\n    \"saslMechanism\": \"\",\n    \"saslJaasUsername\": \"\",\n    \"saslJaasPassword\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-slack\">type: <code>SLACK</code></h1>\n<p>properties: <code>slackProperties</code></p>\n<p>webhookUrl: the webhook url</p>\n<p>message: the message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"webhookUrl\": \"\",\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","output-connectors"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b2a06aa7-3ee9-40f2-bfa4-2ced1ed079bf","name":"create device connector","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": 1,\n    \"name\": \"httpdump\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-connectors"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:14:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":""},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"07fa2f11550dcc59\",\n    \"version\": 0,\n    \"created\": \"2022-08-30T15:14:11.000+00:00\",\n    \"updated\": null,\n    \"name\": \"HTTP Device Connector Name\",\n    \"uplinkSecret\": \"<uplinkSecret>\",\n    \"connectivity\": \"HTTP\",\n    \"carrier\": null,\n    \"provider\": null,\n    \"integrationId\": null,\n    \"description\": null,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"yanziProperties\": null,\n    \"global\": false,\n    \"integrationDeleted\": false,\n    \"decodingType\": \"NONE\",\n    \"authType\": \"BASIC\"\n}"}],"_postman_id":"d79450a0-9f92-45c5-900c-0dfc8f854fe7"},{"name":"update output connector","id":"46870ec5-dde2-4fbe-af5c-5483241b1106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": 1,\n    \"created\": \"2023-01-06T12:04:47.000+00:00\",\n    \"updated\": \"2023-01-23T12:52:11.000+00:00\",\n    \"name\": \"HTTP Device Connector Name\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"deleted\": false,\n    \"global\": false,\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/output-connectors/{{outputConnectorId}}","description":"<h1 id=\"global-properties\">Global properties</h1>\n<p><code>name</code>: the name of the output connector</p>\n<p><code>workspaceId</code>: the workspace id</p>\n<p><code>useCustomPayload</code>: if set to true the custom payload will be generated</p>\n<p><code>customPayload</code>: custom payload, see <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a></p>\n<p><code>sendConsecutiveAlerts</code>:</p>\n<ul>\n<li>only used for Rule Actions</li>\n<li>If enabled, the output will be sent each time for consecutive alerts</li>\n<li>If disabled, an output will only be triggered the first time the logic of a condition is met and it will only be triggered again if the condition is not met in between (alert is reset)</li>\n</ul>\n<p>Output connector types:</p>\n<ul>\n<li>AKENZA_DATABASE</li>\n<li>CUSTOM_AKENZA_DATABASE</li>\n<li>WEBHOOK</li>\n<li>DOWNLINK</li>\n<li>MAIL</li>\n<li>SMS</li>\n<li>AZURE</li>\n<li>GCP</li>\n<li>INFLUX_DB</li>\n<li>AMAZON_KINESIS</li>\n<li>MS_TEAMS</li>\n<li>KAFKA</li>\n<li>SLACK</li>\n</ul>\n<h1 id=\"type-webhook\">type: <code>WEBHOOK</code></h1>\n<p>properties: <code>webhookProperties</code></p>\n<p>authType: BEARER, HEADER, BASIC, NONE</p>\n<p>method: GET, POST, PUT, PATCH, DELETE</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"authType\": \"NONE\",\n    \"contentType\": \"JSON\",\n    \"method\": \"POST\",\n    \"headers\": {},\n    \"authHeaders\": {},\n    \"uri\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-custom_akenza_database\">type: <code>CUSTOM_AKENZA_DATABASE</code></h1>\n<p>Only available as Rule Actions</p>\n<p>properties: <code>customAkenzaDbProperties</code></p>\n<p>topic: the used topic</p>\n<p>targetDeviceId: defines for which device the output is saved</p>\n<p>useCurrentDevice: defines the device triggering the Rule as target device</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"topic\": \"\",\n    \"targetDeviceId\": \"\",\n    \"useCurrentDevice\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-mail\">type: <code>MAIL</code></h1>\n<p>properties: <code>mailProperties</code></p>\n<p>messageTemplate: the template used to generate the Mail message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<p>subjectTemplate: the template used to generate the Mail subject, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<p>recipients: a list of all recipients</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"messageTemplate\": \"\",\n    \"subjectTemplate\": \"\",\n    \"recipients\": [\"\"]\n}\n\n</code></pre>\n<h1 id=\"type-downlink\">type: <code>DOWNLINK</code></h1>\n<p>Only available as Rule Action</p>\n<p>properties: <code>downlinkProperties</code></p>\n<p>targetDeviceIds: a list of all target devices</p>\n<p>downlinkType: LORA, MQTT, HTTP, COAP the connection type of the Data Flow</p>\n<p>topic: the used topic</p>\n<p>dataFlowId: the id of the data flow</p>\n<p>raw: skip data flow downlink code if set to true</p>\n<h3 id=\"lora-data-flow-properties\">LoRa Data Flow properties:</h3>\n<p>port: the LoRa downlink port, might be overridden by the data flow</p>\n<p>confirmed: the LoRa payload confirmed property, might be overridden by the data flow</p>\n<p>rawDownlinkPayload:</p>\n<ul>\n<li>Hex string payload</li>\n<li>use in case of raw = true or a Data Flow with no downlink script</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"downlinkType\": \"\",\n    \"topic\": \"\",\n    \"dataFlowId\": \"\",\n    \"raw\": \"\",\n    \"rawDownlinkPayload\": \"\",\n    \"targetDeviceIds\": [\"\"],\n    \"port\": \"\",\n    \"confirmed\": \"\",\n}\n\n</code></pre>\n<h1 id=\"type-azure\">type: <code>AZURE</code></h1>\n<p>Connector for the Azure IoT Hub.</p>\n<p>properties: <code>azureProperties</code></p>\n<p>connectionString: the Azure IoT Hub Connection string</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"connectionString\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-sms\">type: <code>SMS</code></h1>\n<p>properties: <code>smsProperties</code></p>\n<p>recipientPhones: the phone numbers of recipients</p>\n<p>messageText: the SMS text , <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"messageText\": \"\",\n    \"recipientPhones\": [\"\"]\n}\n\n</code></pre>\n<h1 id=\"type-gcp\">type: <code>GCP</code></h1>\n<p>properties: <code>gcpProperties</code></p>\n<p>pubSubTopic: the GCP subscription topic</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pubSubTopic\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-influx_db\">type: <code>INFLUX_DB</code></h1>\n<p>properties: <code>influxProperties</code></p>\n<p>uri: the uri of the database</p>\n<p>token: the authentication topic of the database</p>\n<p>orgId: the organization id of the database</p>\n<p>bucket: the bucket the sample should be saved to</p>\n<p>measurementName: the measurement name</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"uri\": \"\",\n    \"token\": \"\",\n    \"orgId\": \"\",\n    \"bucket\": \"\",\n    \"measurementName\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-amazon_kinesis\">type: <code>AMAZON_KINESIS</code></h1>\n<p>properties: <code>amazonKinesisProperties</code></p>\n<p>iamAccessKeyId: the iam access key id</p>\n<p>iamSecretAccessKey: the iam access key secret</p>\n<p>kinesisArn: the kinesis arn</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"iamAccessKeyId\": \"\",\n    \"iamSecretAccessKey\": \"\",\n    \"kinesisArn\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-ms_teams\">type: <code>MS_TEAMS</code></h1>\n<p>properties: <code>msTeamsProperties</code></p>\n<p>notificationUrl: the MS Teams notification URL</p>\n<p>message: the MS Teams message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"notificationUrl\": \"\",\n    \"message\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-kafka\">type: <code>KAFKA</code></h1>\n<p>properties: <code>kafkaProperties</code></p>\n<p>kafkaTopic: the topic used on kafka</p>\n<p>kafkaBootstrapServers: the kafka bootstrap server</p>\n<p>securityProtocol: SASL_SSL</p>\n<p>saslMechanism: PLAIN</p>\n<p>saslJaasUsername: the username</p>\n<p>saslJaasPassword: the password</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"kafkaTopic\": \"\",\n    \"kafkaBootstrapServers\": \"\",\n    \"kafkaBootstrapServers\": \"\",\n    \"securityProtocol\": \"\",\n    \"saslMechanism\": \"\",\n    \"saslJaasUsername\": \"\",\n    \"saslJaasPassword\": \"\"\n}\n\n</code></pre>\n<h1 id=\"type-slack\">type: <code>SLACK</code></h1>\n<p>properties: <code>slackProperties</code></p>\n<p>webhookUrl: the webhook url</p>\n<p>message: the message, <a href=\"https://docs.akenza.io/akenza.io/api-reference/message-templating\">Payload Templating</a> can be used</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"webhookUrl\": \"\",\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","output-connectors","{{outputConnectorId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d5c2cfbc-a4e7-49a4-86fd-b9848f7b1124","name":"update http output connector","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{outputConnectorId}}\",\n    \"version\": 1,\n    \"name\": \"HTTP Device Connector Name\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-connectors"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:14:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":""},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"{{outputConnectorId}}\",\n    \"version\": 1,\n    \"created\": \"2023-01-06T12:04:47.000+00:00\",\n    \"updated\": \"2023-01-23T12:52:11.000+00:00\",\n    \"name\": \"HTTP Device Connector Name\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"deleted\": false,\n    \"global\": false,\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n    }\n}"}],"_postman_id":"46870ec5-dde2-4fbe-af5c-5483241b1106"},{"name":"get output connectors","id":"724f1ba7-705e-45bc-859e-062170ebcf42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/output-connectors?size=50&workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","output-connectors"],"host":["{{baseUrl}}"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"794b9a87-a843-452e-831a-4f250d0a0e33","name":"get output connectors","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/device-connectors?size=50&workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","device-connectors"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:27:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"11712"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"0900000000000000\",\n      \"version\": 0,\n      \"created\": \"2020-12-03T10:39:09.000+00:00\",\n      \"updated\": \"2020-12-03T10:39:09.000+00:00\",\n      \"name\": \"Akenza Database\",\n      \"deleted\": false,\n      \"global\": true,\n      \"sendConsecutiveAlerts\": true,\n      \"invokeRuleEngine\": false,\n      \"useCustomPayload\": false,\n      \"type\": \"AKENZA_DATABASE\",\n      \"scope\": \"DATA_FLOW\"\n    },\n    {\n      \"id\": \"{{outputConnectorId}}\",\n      \"version\": 1,\n      \"created\": \"2023-01-06T12:04:47.000+00:00\",\n      \"updated\": \"2023-01-23T12:52:11.000+00:00\",\n      \"name\": \"httpdump\",\n      \"workspaceId\": \"{{workspaceId}}\",\n      \"deleted\": false,\n      \"global\": false,\n      \"sendConsecutiveAlerts\": true,\n      \"invokeRuleEngine\": false,\n      \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n      \"useCustomPayload\": true,\n      \"type\": \"WEBHOOK\",\n      \"scope\": \"DATA_FLOW\",\n      \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n      }\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"empty\": true,\n      \"sorted\": false,\n      \"unsorted\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 25,\n    \"unpaged\": false,\n    \"paged\": true\n  },\n  \"totalElements\": 2,\n  \"totalPages\": 1,\n  \"last\": true,\n  \"size\": 25,\n  \"number\": 0,\n  \"sort\": {\n    \"empty\": true,\n    \"sorted\": false,\n    \"unsorted\": true\n  },\n  \"numberOfElements\": 2,\n  \"first\": true,\n  \"empty\": false\n}"}],"_postman_id":"724f1ba7-705e-45bc-859e-062170ebcf42"},{"name":"get output connector by id","id":"1af2adc9-9c01-4db9-a0b5-25c706f0e49e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/output-connectors/{{outputConnectorId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","output-connectors","{{outputConnectorId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a2853b2f-cb5a-4785-a6ba-dd573b7f61d9","name":"get output connector by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/output-connectors/{{deviceConnectorId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:30:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"{{outputConnectorId}}\",\n    \"version\": 1,\n    \"created\": \"2023-01-06T12:04:47.000+00:00\",\n    \"updated\": \"2023-01-23T12:52:11.000+00:00\",\n    \"name\": \"httpdump\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"deleted\": false,\n    \"global\": false,\n    \"sendConsecutiveAlerts\": true,\n    \"invokeRuleEngine\": false,\n    \"customPayload\": \"{\\n \\\"data\\\": {{data}},\\n \\\"meta\\\": {{meta}},\\n \\\"uplinkMeta\\\": {{uplinkMeta}},\\n \\\"topic\\\": {{topic}},\\n \\\"timestamp\\\": {{timestamp}},\\n \\\"deviceId\\\": {{deviceId}},\\n \\\"correlationId\\\": {{correlationId}},\\n \\\"device\\\": {{device}},\\n \\\"dataSources\\\": {{dataSources}}\\n}\",\n    \"useCustomPayload\": true,\n    \"type\": \"WEBHOOK\",\n    \"scope\": \"DATA_FLOW\",\n    \"webhookProperties\": {\n        \"authType\": \"NONE\",\n        \"contentType\": \"JSON\",\n        \"method\": \"POST\",\n        \"headers\": {},\n        \"authHeaders\": {},\n        \"uri\": \"{{uri}}\",\n        \"customPayload\": {},\n        \"useCustomPayload\": false\n    }\n}"}],"_postman_id":"1af2adc9-9c01-4db9-a0b5-25c706f0e49e"},{"name":"delete output connector by id","id":"218b2988-08ad-4853-807b-17362ed9148d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/output-connectors/{{outputConnectorId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","output-connectors","{{outputConnectorId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"41bc773e-5a42-4534-9004-0d6f21f4c2e4","name":"delte output connector by id","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/output-connectors/{{deviceConnectorId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.5"},{"key":"Date","value":"Tue, 30 Aug 2022 15:30:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"388"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"218b2988-08ad-4853-807b-17362ed9148d"}],"id":"021027d4-aca8-46bd-9fac-e30c8b033508","_postman_id":"021027d4-aca8-46bd-9fac-e30c8b033508","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Data Flow","item":[{"name":"create data flow","id":"8aace42d-adcb-4bbd-99eb-cbe730071877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"deviceConnector\": {\n    \"id\": \"<deviceConnectorId>\"\n  },\n  \"workspaceId\": \"<workspaceId>\",\n  \"deviceType\": {\n    \"id\": \"<deviceTypeId>\"\n  },\n  \"passThrough\": false,\n  \"outputConnectors\": [\n    {\n      \"id\": \"<outputConnectorId>\",\n      \"topic\": \"<string>\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/data-flows","description":"<p>Create a Data Flow.</p>\n<p>Make sure that the Device Connector, Device Type an Output Connectors exist and can be referenced by the id.</p>\n<p>For passthrough data flows, set the deviceType to null.</p>\n","urlObject":{"path":["v3","data-flows"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"16587eb9-2cff-4fc4-a7d8-58f424f0785b","name":"create passthrough data flow","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"HTTP Passthrough DF\",\n  \"description\": \"\",\n  \"deviceConnector\": { \"id\": \"<deviceConnectorId>\" },\n  \"deviceType\": null,\n  \"outputConnectors\": [\n    { \"id\": \"0900000000000000\", \"topic\": \"*\" }\n  ],\n  \"workspaceId\": \"<workspaceId>\",\n  \"passThrough\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/data-flows"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:00:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1204"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":""},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<dataFlowId>\",\n    \"name\": \"HTTP Passthrough DF\",\n    \"description\": \"\",\n    \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\",\n        \"version\": 0,\n        \"created\": \"2022-11-21T14:58:41.000+00:00\",\n        \"updated\": null,\n        \"name\": \"HTTP Device Connector\",\n        \"readOnly\": false,\n        \"pushConfigurationAutomatically\": false,\n        \"uplinkSecret\": \"<uplinkSecret>\",\n        \"connectivity\": \"HTTP\",\n        \"carrier\": null,\n        \"provider\": null,\n        \"integrationId\": null,\n        \"description\": null,\n        \"workspaceId\": \"<workspaceId>\",\n        \"authType\": \"BASIC\",\n        \"yanziProperties\": null,\n        \"spacetiProperties\": null,\n        \"global\": false,\n        \"integrationDeleted\": false,\n        \"decodingType\": \"NONE\"\n    },\n    \"deviceType\": null,\n    \"workspaceId\": \"<workspaceId>\",\n    \"organizationId\": \"<organizationId>\",\n    \"outputConnectors\": [\n        {\n            \"id\": \"0900000000000000\",\n            \"name\": \"Akenza Database\",\n            \"topic\": \"*\",\n            \"workspaceId\": null,\n            \"deleted\": false,\n            \"global\": true,\n            \"customPayload\": null,\n            \"useCustomPayload\": false,\n            \"type\": \"AKENZA_DATABASE\",\n            \"scope\": \"DATA_FLOW\",\n            \"webhookProperties\": null,\n            \"mailProperties\": null,\n            \"customAkenzaDbProperties\": null,\n            \"downlinkProperties\": null,\n            \"azureProperties\": null,\n            \"smsProperties\": null,\n            \"influxProperties\": null,\n            \"gcpProperties\": null,\n            \"amazonKinesisProperties\": null,\n            \"msTeamsProperties\": null,\n            \"kafkaProperties\": null,\n            \"slackProperties\": null\n        }\n    ],\n    \"passThrough\": true\n}"},{"id":"f8961257-f9bf-45a1-bba7-441949ca7aab","name":"create data flow with device connector","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"LPN Ranos DB 2 DF\",\n  \"description\": \"\",\n  \"deviceConnector\": { \"id\": \"<deviceConnectorId>\" },\n  \"deviceType\": { \"id\": \"<deviceTypeId>\" },\n  \"outputConnectors\": [\n    { \"id\": \"0900000000000000\", \"topic\": \"*\" },\n    {\n      \"id\": \"<outputConnectorId>\",\n      \"topic\": \"*\"\n    }\n  ],\n  \"workspaceId\": \"<workspaceId>\",\n  \"passThrough\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/data-flows"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:15:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"5818"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Location","value":""},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<dataFlowId>\",\n    \"name\": \"LPN Ranos DB 2 DF\",\n    \"description\": \"\",\n    \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\",\n        \"version\": 0,\n        \"created\": \"2022-08-29T09:47:00.000+00:00\",\n        \"updated\": null,\n        \"name\": \"Swisscom LPN Connector\",\n        \"readOnly\": false,\n        \"pushConfigurationAutomatically\": false,\n        \"uplinkSecret\": \"<uplinkSecret>\",\n        \"connectivity\": \"LORA\",\n        \"carrier\": \"SWISSCOM_ACTILITY\",\n        \"provider\": \"swisscom_lora\",\n        \"integrationId\": \"<integrationId>\",\n        \"description\": \"Automatically generated by integration (Swisscom LPN)\",\n        \"workspaceId\": \"<workspaceId>\",\n        \"authType\": \"BASIC\",\n        \"yanziProperties\": null,\n        \"spacetiProperties\": null,\n        \"global\": false,\n        \"integrationDeleted\": false,\n        \"decodingType\": \"NONE\"\n    },\n    \"deviceType\": {\n        \"id\": \"<deviceTypeId>\",\n        \"name\": \"Ranos dB 2\",\n        \"description\": \"Sound sensor powered by a solar panel. Measures dynamic range of 33 - 121dB and a DSP sample rate of 48 kHz. The use of GPS can be set in the DSS Connect App for geolocation and synchronizing the internal clock.\",\n        \"type\": \"library\",\n        \"organizationId\": null,\n        \"meta\": {\n            \"manufacturer\": \"DSS\",\n            \"url\": \"https://www.iotsoundsensor.com/product/ranos-db-2/\",\n            \"author\": \"Akenza AG\",\n            \"properties\": null,\n            \"firmwareVersion\": \"V3.0.2\",\n            \"encoding\": \"HEX\",\n            \"connectivity\": \"LORA\",\n            \"availableSensors\": [\n                \"Sound\",\n                \"GPS\"\n            ],\n            \"outputTopics\": [\n                \"default\",\n                \"lifecycle\"\n            ]\n        },\n        \"schemas\": {\n            \"lifecycle\": \"{\\n  \\\"$id\\\": \\\"https://akenza.io/dss/ranosDB2/lifecycle.schema.json\\\",\\n  \\\"$schema\\\": \\\"http://json-schema.org/draft-07/schema#\\\",\\n  \\\"title\\\": \\\"Lifecycle\\\",\\n  \\\"type\\\": \\\"object\\\",\\n  \\\"properties\\\": {\\n    \\\"voltage\\\": {\\n      \\\"type\\\": \\\"number\\\",\\n      \\\"minimum\\\": 0,\\n      \\\"maximum\\\": 24,\\n      \\\"title\\\": \\\"Battery voltage\\\",\\n      \\\"desciption\\\": \\\"The battery voltage in Volt.\\\",\\n      \\\"unit\\\": \\\"V\\\"\\n    }\\n  }\\n}\\n\",\n            \"default\": \"{\\n  \\\"$id\\\": \\\"https://akenza.io/dss/ranosDB2/default.schema.json\\\",\\n  \\\"$schema\\\": \\\"http://json-schema.org/draft-07/schema#\\\",\\n  \\\"title\\\": \\\"Default\\\",\\n  \\\"type\\\": \\\"object\\\",\\n  \\\"properties\\\": {\\n    \\\"dBAfast\\\": {\\n      \\\"title\\\": \\\"dB A-weighting fast\\\",\\n      \\\"unit\\\": \\\"dB(A)\\\",\\n      \\\"description\\\": \\\"Measurement with fast response\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"dBAslow\\\": {\\n      \\\"title\\\": \\\"dB A-weighting slow\\\",\\n      \\\"unit\\\": \\\"dB(A)\\\",\\n      \\\"description\\\": \\\"Measurement with slow response\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"dBCfast\\\": {\\n      \\\"title\\\": \\\"dB C-weighting fast\\\",\\n      \\\"unit\\\": \\\"dB(C)\\\",\\n      \\\"description\\\": \\\"Measurement with fast response\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"dBCslow\\\": {\\n      \\\"title\\\": \\\"dB C-weighting slow\\\",\\n      \\\"unit\\\": \\\"dB(C)\\\",\\n      \\\"description\\\": \\\"Measurement with slow response\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"leqA\\\": {\\n      \\\"title\\\": \\\"Leq A-weighting\\\",\\n      \\\"unit\\\": \\\"dB(A)\\\",\\n      \\\"description\\\": \\\"Average over set Leq time. Between the current measurement and current measurement time minus Leq time.\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"leqC\\\": {\\n      \\\"title\\\": \\\"Leq C-weighting\\\",\\n      \\\"unit\\\": \\\"dB(C)\\\",\\n      \\\"description\\\": \\\"Average over set Leq time. Between the current measurement and current measurement time minus Leq time.\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"positivePeakHoldA\\\": {\\n      \\\"title\\\": \\\"Positive peak hold A-weighting\\\",\\n      \\\"unit\\\": \\\"dB(A)\\\",\\n      \\\"description\\\": \\\"The highest dB(A) value in the period between previous measurement and current measurement\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"negativePeakHoldA\\\": {\\n      \\\"title\\\": \\\"Negative peak hold A-weighting\\\",\\n      \\\"unit\\\": \\\"dB(A)\\\",\\n      \\\"description\\\": \\\"The lowest dB(A) value in the period between previous measurement and current measurement\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"positivePeakHoldC\\\": {\\n      \\\"title\\\": \\\"Positive peak hold C-weighting\\\",\\n      \\\"unit\\\": \\\"dB(C)\\\",\\n      \\\"description\\\": \\\"The highest dB(C) value in the period between previous measurement and current measurement\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    },\\n    \\\"negativePeakHoldC\\\": {\\n      \\\"title\\\": \\\"Negative peak hold C-weighting\\\",\\n      \\\"unit\\\": \\\"dB(C)\\\",\\n      \\\"description\\\": \\\"The lowest dB(C) value in the period between previous measurement and current measurement\\\",\\n      \\\"type\\\": \\\"number\\\"\\n    }\\n  }\\n}\\n\"\n        },\n        \"pictureUrl\": \"https://raw.githubusercontent.com/akenza-io/device-type-library/master/types/dss/ranosDB2/Dutch-Sensor-Systems-Ranos-dB-Solar-Panel-600x600.jpeg\",\n        \"version\": 0\n    },\n    \"workspaceId\": \"<workspaceId>\",\n    \"organizationId\": \"<organizationId>\",\n    \"outputConnectors\": [\n        {\n            \"id\": \"0900000000000000\",\n            \"name\": \"Akenza Database\",\n            \"topic\": \"*\",\n            \"workspaceId\": null,\n            \"deleted\": false,\n            \"global\": true,\n            \"customPayload\": null,\n            \"useCustomPayload\": false,\n            \"type\": \"AKENZA_DATABASE\",\n            \"scope\": \"DATA_FLOW\",\n            \"webhookProperties\": null,\n            \"mailProperties\": null,\n            \"customAkenzaDbProperties\": null,\n            \"downlinkProperties\": null,\n            \"azureProperties\": null,\n            \"smsProperties\": null,\n            \"influxProperties\": null,\n            \"gcpProperties\": null,\n            \"amazonKinesisProperties\": null,\n            \"msTeamsProperties\": null,\n            \"kafkaProperties\": null,\n            \"slackProperties\": null\n        },\n        {\n            \"id\": \"<outputConnectorId>\",\n            \"name\": \"A Webhook Output\",\n            \"topic\": \"*\",\n            \"workspaceId\": \"<workspaceId>\",\n            \"deleted\": false,\n            \"global\": false,\n            \"customPayload\": \"{\\n \\\"message\\\": {{data}} \\n}\",\n            \"useCustomPayload\": true,\n            \"type\": \"WEBHOOK\",\n            \"scope\": \"DATA_FLOW\",\n            \"webhookProperties\": {\n                \"authType\": \"BASIC\",\n                \"contentType\": \"JSON\",\n                \"method\": \"POST\",\n                \"headers\": {},\n                \"authHeaders\": {},\n                \"basicCredentials\": \"<basicCredentials>\",\n                \"bearerToken\": null,\n                \"uri\": \"http://webhoook.url\",\n                \"customPayload\": {},\n                \"useCustomPayload\": false\n            },\n            \"mailProperties\": null,\n            \"customAkenzaDbProperties\": null,\n            \"downlinkProperties\": null,\n            \"azureProperties\": null,\n            \"smsProperties\": null,\n            \"influxProperties\": null,\n            \"gcpProperties\": null,\n            \"amazonKinesisProperties\": null,\n            \"msTeamsProperties\": null,\n            \"kafkaProperties\": null,\n            \"slackProperties\": null\n        }\n    ],\n    \"passThrough\": false\n}"}],"_postman_id":"8aace42d-adcb-4bbd-99eb-cbe730071877"},{"name":"get all data flows","id":"f822cb62-f867-41f3-9669-3603c6fcfa1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/data-flows?workspaceId={{workspaceId}}","description":"<p>Returns a list of all Data Flows in the specified Workspace</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","data-flows"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"41bc7e9e-2fe5-4767-8b0a-95557ca4a179","name":"get all data flows","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/data-flows?workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","data-flows"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:03:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"13150"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"<dataFlowId>\",\n      \"name\": \"HTTP Passthrough DF\",\n      \"description\": \"\",\n      \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\",\n        \"version\": 0,\n        \"created\": \"2022-11-21T14:58:41.000+00:00\",\n        \"updated\": null,\n        \"name\": \"HTTP Device Connector\",\n        \"readOnly\": false,\n        \"pushConfigurationAutomatically\": false,\n        \"uplinkSecret\": \"<uplinkSecret>\",\n        \"connectivity\": \"HTTP\",\n        \"carrier\": null,\n        \"provider\": null,\n        \"integrationId\": null,\n        \"description\": null,\n        \"workspaceId\": \"<workspaceId>\",\n        \"authType\": \"BASIC\",\n        \"yanziProperties\": null,\n        \"spacetiProperties\": null,\n        \"global\": false,\n        \"integrationDeleted\": false,\n        \"decodingType\": \"NONE\"\n      },\n      \"deviceType\": null,\n      \"workspaceId\": \"<workspaceId>\",\n      \"organizationId\": \"<organizationId>\",\n      \"outputConnectors\": [\n        {\n          \"id\": \"0900000000000000\",\n          \"name\": \"Akenza Database\",\n          \"topic\": \"*\",\n          \"workspaceId\": null,\n          \"deleted\": false,\n          \"global\": true,\n          \"customPayload\": null,\n          \"useCustomPayload\": false,\n          \"type\": \"AKENZA_DATABASE\",\n          \"scope\": \"DATA_FLOW\",\n          \"webhookProperties\": null,\n          \"mailProperties\": null,\n          \"customAkenzaDbProperties\": null,\n          \"downlinkProperties\": null,\n          \"azureProperties\": null,\n          \"smsProperties\": null,\n          \"influxProperties\": null,\n          \"gcpProperties\": null,\n          \"amazonKinesisProperties\": null,\n          \"msTeamsProperties\": null,\n          \"kafkaProperties\": null,\n          \"slackProperties\": null\n        }\n      ],\n      \"passThrough\": true\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"empty\": true,\n      \"sorted\": false,\n      \"unsorted\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 20,\n    \"unpaged\": false,\n    \"paged\": true\n  },\n  \"totalElements\": 14,\n  \"totalPages\": 1,\n  \"last\": true,\n  \"size\": 20,\n  \"number\": 0,\n  \"sort\": {\n    \"empty\": true,\n    \"sorted\": false,\n    \"unsorted\": true\n  },\n  \"numberOfElements\": 14,\n  \"first\": true,\n  \"empty\": false\n}\n"}],"_postman_id":"f822cb62-f867-41f3-9669-3603c6fcfa1d"},{"name":"get data flow by id","id":"9b0dcff2-0552-4fca-984f-6f99dbadafc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}","description":"<p>Get Data Flow details</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","data-flows","{{dataFlowId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"985bc0fd-fdbd-404e-8ae1-d942726d76e5","name":"get data flow by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:05:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1204"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":" {\n      \"id\": \"<dataFlowId>\",\n      \"name\": \"HTTP Passthrough DF\",\n      \"description\": \"\",\n      \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\",\n        \"version\": 0,\n        \"created\": \"2022-11-21T14:58:41.000+00:00\",\n        \"updated\": null,\n        \"name\": \"HTTP Device Connector\",\n        \"readOnly\": false,\n        \"pushConfigurationAutomatically\": false,\n        \"uplinkSecret\": \"<uplinkSecret>\",\n        \"connectivity\": \"HTTP\",\n        \"carrier\": null,\n        \"provider\": null,\n        \"integrationId\": null,\n        \"description\": null,\n        \"workspaceId\": \"<workspaceId>\",\n        \"authType\": \"BASIC\",\n        \"yanziProperties\": null,\n        \"spacetiProperties\": null,\n        \"global\": false,\n        \"integrationDeleted\": false,\n        \"decodingType\": \"NONE\"\n      },\n      \"deviceType\": null,\n      \"workspaceId\": \"<workspaceId>\",\n      \"organizationId\": \"<organizationId>\",\n      \"outputConnectors\": [\n        {\n          \"id\": \"0900000000000000\",\n          \"name\": \"Akenza Database\",\n          \"topic\": \"*\",\n          \"workspaceId\": null,\n          \"deleted\": false,\n          \"global\": true,\n          \"customPayload\": null,\n          \"useCustomPayload\": false,\n          \"type\": \"AKENZA_DATABASE\",\n          \"scope\": \"DATA_FLOW\",\n          \"webhookProperties\": null,\n          \"mailProperties\": null,\n          \"customAkenzaDbProperties\": null,\n          \"downlinkProperties\": null,\n          \"azureProperties\": null,\n          \"smsProperties\": null,\n          \"influxProperties\": null,\n          \"gcpProperties\": null,\n          \"amazonKinesisProperties\": null,\n          \"msTeamsProperties\": null,\n          \"kafkaProperties\": null,\n          \"slackProperties\": null\n        }\n      ],\n      \"passThrough\": true\n}"}],"_postman_id":"9b0dcff2-0552-4fca-984f-6f99dbadafc9"},{"name":"update data flow","id":"831735df-ed5a-499f-a7a1-d2dfe9fbbbb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"deviceConnector\": {\n        \"id\": \"<string>\"\n    },\n    \"deviceType\": {\n        \"id\": \"<string>\"\n    },\n    \"passThrough\": false,\n    \"outputConnectors\": [\n        {\n            \"id\": \"<string>\",\n            \"topic\": \"<string>\"\n        },\n        {\n            \"id\": \"<string>\",\n            \"topic\": \"<string>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}","description":"<p>Update a Data Flow</p>\n<p>It is not possible to update the deviceConnector. For that, please create a new data flow.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","data-flows","{{dataFlowId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"9da06020-1959-4d98-8b1f-de3fbbbcb630","name":"update data flow","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"<dataFlowId>\",\n    \"name\": \"New Name HTTP Passthrough DF\",\n    \"description\": \"\",\n    \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\"\n    },\n    \"deviceType\": null,\n    \"workspaceId\": \"<workspaceId>\",\n    \"organizationId\": \"<organizationId>\",\n    \"outputConnectors\": [\n        {\n            \"id\": \"0900000000000000\",\n            \"topic\": \"*\"\n        }\n    ],\n    \"passThrough\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:08:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1213"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<dataFlowId>\",\n    \"name\": \"New Name HTTP Passthrough DF\",\n    \"description\": \"\",\n    \"deviceConnector\": {\n        \"id\": \"<deviceConnectorId>\",\n        \"version\": 0,\n        \"created\": \"2022-11-21T14:58:41.000+00:00\",\n        \"updated\": null,\n        \"name\": \"HTTP Device Connector\",\n        \"readOnly\": false,\n        \"pushConfigurationAutomatically\": false,\n        \"uplinkSecret\": \"<uplinkSecret>\",\n        \"connectivity\": \"HTTP\",\n        \"carrier\": null,\n        \"provider\": null,\n        \"integrationId\": null,\n        \"description\": null,\n        \"workspaceId\": \"<workspaceId>\",\n        \"authType\": \"BASIC\",\n        \"yanziProperties\": null,\n        \"spacetiProperties\": null,\n        \"global\": false,\n        \"integrationDeleted\": false,\n        \"decodingType\": \"NONE\"\n    },\n    \"deviceType\": null,\n    \"workspaceId\": \"<workspaceId>\",\n    \"organizationId\": \"<organizationId>\",\n    \"outputConnectors\": [\n        {\n            \"id\": \"0900000000000000\",\n            \"name\": \"Akenza Database\",\n            \"topic\": \"*\",\n            \"workspaceId\": null,\n            \"deleted\": false,\n            \"global\": true,\n            \"customPayload\": null,\n            \"useCustomPayload\": false,\n            \"type\": \"AKENZA_DATABASE\",\n            \"scope\": \"DATA_FLOW\",\n            \"webhookProperties\": null,\n            \"mailProperties\": null,\n            \"customAkenzaDbProperties\": null,\n            \"downlinkProperties\": null,\n            \"azureProperties\": null,\n            \"smsProperties\": null,\n            \"influxProperties\": null,\n            \"gcpProperties\": null,\n            \"amazonKinesisProperties\": null,\n            \"msTeamsProperties\": null,\n            \"kafkaProperties\": null,\n            \"slackProperties\": null\n        }\n    ],\n    \"passThrough\": true\n}"}],"_postman_id":"831735df-ed5a-499f-a7a1-d2dfe9fbbbb3"},{"name":"delete data flow","id":"9b3961fc-7602-4915-a4e2-3b49c2aadfab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}","description":"<p>Delete a Data Flow</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","data-flows","{{dataFlowId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"92535ae5-b7fb-4d6e-9a87-e6b2cb9a03e5","name":"delete data flow","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/data-flows/{{dataFlowId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Mon, 21 Nov 2022 15:13:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9b3961fc-7602-4915-a4e2-3b49c2aadfab"}],"id":"d8506bc9-8122-48f5-9a41-000161a04c8b","_postman_id":"d8506bc9-8122-48f5-9a41-000161a04c8b","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Inventory","item":[{"name":"Data ingestion","item":[{"name":"bulk data ingestion","id":"2c185439-faff-420e-b45a-62702ec4e457","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-update-uplink-metrics","value":"true","description":"<p>Whether to update the device online status for this message (defaults to true).</p>\n","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"data\": {\n            \"foo\": \"bar\"\n        },\n        \"topic\": \"some topic\",\n        \"timestamp\": \"2023-06-01T07:03:49.869+00:00\"\n    },\n    {\n        \"data\": {}\n    }\n]"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-ingestion/bulk","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","data-ingestion","bulk"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c42e62e8-e87d-4020-949e-8e81e89f6fef","name":"bulk data ingestion","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"data\": {\n            \"foo\": \"bar\"\n        },\n        \"topic\": \"some topic\",\n        \"timestamp\": \"2023-06-01T07:03:49.869+00:00\"\n    },\n    {\n        \"data\": {\n            \"foo\": \"bar\",\n            \"bar\": {\n                \"foo\": 12345\n            }\n        },\n        \"topic\": \"some other topic\",\n        \"timestamp\": \"2023-06-01T08:03:49.869+00:00\"\n    },\n    {\n        \"data\": {\n            \"foo2\": [\n                \"1\",\n                123,\n                1234\n            ]\n        },\n        \"topic\": \"a 3. topic\",\n        \"timestamp\": \"2023-06-01T09:03:49.869+00:00\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-ingestion/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"bulk data ingestion successful\"\n}"}],"_postman_id":"2c185439-faff-420e-b45a-62702ec4e457"},{"name":"data ingestion","id":"4e1b585e-e423-49d0-8024-45e75154a664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"foo\": \"bar\"\n    },\n    \"topic\": \"some topic\",\n    \"timestamp\": \"2023-06-01T07:03:49.869+00:00\"\n}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-ingestion","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","data-ingestion"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"08a55c74-ed3f-4f47-b74d-bdd5efdd697b","name":"data ingestion","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"foo\": \"bar\"\n    },\n    \"topic\": \"some topic\",\n    \"timestamp\": \"2023-06-01T07:03:49.869+00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-ingestion"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"data ingestion successful\"\n}"}],"_postman_id":"4e1b585e-e423-49d0-8024-45e75154a664"}],"id":"4ce13d02-8eb7-42be-a661-a7abd767ae91","description":"<p>These requests can be used to backfill data in case of missed datapoints or old data that was not yet sent to akenza</p>\n","_postman_id":"4ce13d02-8eb7-42be-a661-a7abd767ae91","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"get filter options (v2)","id":"37718e28-f44b-4558-bb8c-a88480c6faf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/assets/filter-options-v2?workspaceId={{workspaceId}}&workspaceIds={{workspaceId}}&organizationId={{organizationId}}","description":"<p>Either set organizationId, workspaceId or workspaceIds.</p>\n<p>The explanation of the response can be found in the <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">akenza documentation</a>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets","filter-options-v2"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"},{"key":"workspaceIds","value":"{{workspaceId}}"},{"key":"organizationId","value":"{{organizationId}}"}],"variable":[]}},"response":[{"id":"8ab0023d-802e-41ad-8fc9-24a6de2b036e","name":"filter options v2 by organization id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets/filter-options-v2?organizationId=3300000000000000","host":["{{baseUrl}}"],"path":["v3","assets","filter-options-v2"],"query":[{"key":"organizationId","value":"3300000000000000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"definitions\": {\n    \"supportedPredicates\": [\n      {\n        \"filterType\": \"ENUM\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"NUMBER\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"LESS_THAN\",\n          \"LESS_THAN_OR_EQUALS\",\n          \"GREATER_THAN\",\n          \"GREATER_THAN_OR_EQUALS\",\n          \"BETWEEN\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"BOOLEAN\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"RELATED_ENTITY\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"IN\",\n          \"NOT_EQUALS\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"STRING\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"CONTAINS\",\n          \"STARTS_WITH\",\n          \"ENDS_WITH\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"DATE\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"BETWEEN\",\n          \"BEFORE\",\n          \"AFTER\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"LIST_FIELDS\",\n        \"predicates\": [\n          \"CONTAINS_ALL\",\n          \"CONTAINS_NONE\",\n          \"CONTAINS_ANY\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      }\n    ]\n  },\n  \"filterOptions\": {\n    \"id\": {\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"name\": {\n      \"filterType\": \"STRING\"\n    },\n    \"type\": {\n      \"values\": [\n        \"DEVICE\",\n        \"SIM_CARD\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"workspace\": {\n      \"values\": [\n        {\n          \"id\": \"2900000000000000\",\n          \"name\": \"default workspace\"\n        },\n        {\n          \"id\": \"2900000000000001\",\n          \"name\": \"second workspace\"\n        }\n      ],\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"organization\": {\n      \"values\": [\n      ],\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"connectivity\": {\n      \"values\": [\n        \"LORA\",\n        \"MQTT\",\n        \"HTTP\",\n        \"COAP\",\n        \"NB_IOT\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"onlineTimeout\": {\n      \"filterType\": \"NUMBER\"\n    },\n    \"online\": {\n      \"values\": [\n        true,\n        false\n      ],\n      \"filterType\": \"BOOLEAN\"\n    },\n    \"onlineState\": {\n      \"values\": [\n        \"UNKNOWN\",\n        \"DE_REGISTERED\",\n        \"OFFLINE\",\n        \"ONLINE\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"registered\": {\n      \"values\": [\n        true,\n        false\n      ],\n      \"filterType\": \"BOOLEAN\"\n    },\n    \"dataFlow\": {\n      \"values\": [\n        {\n          \"id\": \"0800000000000000\",\n          \"name\": \"demo flow\"\n        }\n      ],\n      \"filterType\": \"RELATED_ENTITY\",\n      \"deviceType\": {\n        \"values\": [\n          {\n            \"id\": \"3300000000000000\",\n            \"name\": \"demo device type\"\n          }\n        ],\n        \"filterType\": \"RELATED_ENTITY\"\n      }\n    },\n    \"integration\": {\n      \"values\": [\n      ],\n      \"filterType\": \"RELATED_ENTITY\",\n      \"provider\": {\n        \"values\": [\n          \"ewz_lora\",\n          \"akenza_helium\",\n          \"loriot\",\n          \"swisscom_lora\",\n          \"generic_actility\",\n          \"swisscom_cmp\",\n          \"everynet\",\n          \"swisscom_lora_legacy\",\n          \"cibicom\",\n          \"spaceti\",\n          \"ttn\"\n        ],\n        \"filterType\": \"ENUM\"\n      }\n    },\n    \"customFields\": {\n      \"values\": []\n    },\n    \"tags\": {\n      \"values\": [\n      ],\n      \"filterType\": \"LIST_FIELDS\"\n    },\n    \"uplinkMetrics\": {\n      \"timestamp\": {\n        \"filterType\": \"DATE\"\n      },\n      \"sf\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"sqi\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"signalQuality\": {\n        \"values\": [\n          \"BAD\",\n          \"MEDIUM\",\n          \"GOOD\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"batteryLevel\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"batteryLevelStatus\": {\n        \"values\": [\n          \"GOOD\",\n          \"BAD\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"rssi\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"frameCountUp\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"frameCountDown\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"numberOfGateways\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"port\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"txPower\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"esp\": {\n        \"filterType\": \"NUMBER\"\n      }\n    },\n    \"loraProperties\": {\n      \"carrier\": {\n        \"values\": [\n          \"GENERIC_ACTILITY\",\n          \"SWISSCOM_ACTILITY\",\n          \"LORIOT\",\n          \"TTN\",\n          \"EVERYNET\",\n          \"HELIUM\",\n          \"SPACETI\",\n          \"IOTCREATORS\",\n          \"HALTIAN\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"loraVersion\": {\n        \"values\": [\n          \"1.0.0\",\n          \"1.0.1\",\n          \"1.0.2\",\n          \"1.0.4\",\n          \"1.0.5\"\n        ],\n        \"filterType\": \"STRING\"\n      },\n      \"frequencyPlan\": {\n        \"values\": [\n          \"1\",\n          \"2\",\n          \"3\",\n          \"4\",\n          \"5\"\n        ],\n        \"filterType\": \"STRING\"\n      },\n      \"deviceClass\": {\n        \"values\": [\n          \"A\",\n          \"B\",\n          \"C\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"activationMode\": {\n        \"values\": [\n          \"OTAA\",\n          \"ABP\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"deviceAddress\": {\n        \"filterType\": \"STRING\"\n      },\n      \"deviceEui\": {\n        \"filterType\": \"STRING\"\n      },\n      \"applicationEui\": {\n        \"filterType\": \"STRING\"\n      },\n      \"actilityProperties\": {\n        \"deviceProfileId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\",\n            \"3\",\n            \"4\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"connectivityPlanId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"routingProfileId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"motionIndicator\": {\n          \"values\": [\n            \"NEAR_STATIC\",\n            \"WALKING_SPEED\",\n            \"VEHICLE_SPEED\",\n            \"BIKE_SPEED\",\n            \"RANDOM\"\n          ],\n          \"filterType\": \"ENUM\"\n        }\n      }\n    },\n    \"provider\": {\n      \"values\": [\n        \"ERICSSON\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"state\": {\n      \"values\": [\n        \"ACTIVE\",\n        \"DEACTIVATED\",\n        \"PAUSE\",\n        \"TERMINATED\",\n        \"OPERATOR_BLOCKED\",\n        \"DEACTIVATED_NO_BILLING\",\n        \"ACTIVE_NO_BILLING\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"created\": {\n      \"filterType\": \"DATE\"\n    },\n    \"updated\": {\n      \"filterType\": \"DATE\"\n    },\n    \"description\": {\n      \"filterType\": \"STRING\"\n    },\n    \"deviceId\": {\n      \"filterType\": \"STRING\"\n    }\n  }\n}"},{"id":"7ce17f27-77c3-417a-bf69-2d0e5547a1cf","name":"filter options v2 by workspace id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets/filter-options-v2?workspaceId=2900000000000000","host":["{{baseUrl}}"],"path":["v3","assets","filter-options-v2"],"query":[{"key":"workspaceId","value":"2900000000000000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"definitions\": {\n    \"supportedPredicates\": [\n      {\n        \"filterType\": \"ENUM\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"NUMBER\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"LESS_THAN\",\n          \"LESS_THAN_OR_EQUALS\",\n          \"GREATER_THAN\",\n          \"GREATER_THAN_OR_EQUALS\",\n          \"BETWEEN\",\n          \"NOT_EQUALS\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"BOOLEAN\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"RELATED_ENTITY\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"IN\",\n          \"NOT_EQUALS\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"STRING\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"NOT_EQUALS\",\n          \"CONTAINS\",\n          \"STARTS_WITH\",\n          \"ENDS_WITH\",\n          \"IN\",\n          \"NOT_IN\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"DATE\",\n        \"predicates\": [\n          \"EQUALS\",\n          \"BETWEEN\",\n          \"BEFORE\",\n          \"AFTER\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      },\n      {\n        \"filterType\": \"LIST_FIELDS\",\n        \"predicates\": [\n          \"CONTAINS_ALL\",\n          \"CONTAINS_NONE\",\n          \"CONTAINS_ANY\",\n          \"IS_NULL\",\n          \"IS_NOT_NULL\"\n        ]\n      }\n    ]\n  },\n  \"filterOptions\": {\n    \"id\": {\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"name\": {\n      \"filterType\": \"STRING\"\n    },\n    \"type\": {\n      \"values\": [\n        \"DEVICE\",\n        \"SIM_CARD\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"workspace\": {\n      \"values\": [\n      ],\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"organization\": {\n      \"values\": [\n      ],\n      \"filterType\": \"RELATED_ENTITY\"\n    },\n    \"connectivity\": {\n      \"values\": [\n        \"LORA\",\n        \"MQTT\",\n        \"HTTP\",\n        \"COAP\",\n        \"NB_IOT\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"onlineTimeout\": {\n      \"filterType\": \"NUMBER\"\n    },\n    \"online\": {\n      \"values\": [\n        true,\n        false\n      ],\n      \"filterType\": \"BOOLEAN\"\n    },\n    \"onlineState\": {\n      \"values\": [\n        \"UNKNOWN\",\n        \"DE_REGISTERED\",\n        \"OFFLINE\",\n        \"ONLINE\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"registered\": {\n      \"values\": [\n        true,\n        false\n      ],\n      \"filterType\": \"BOOLEAN\"\n    },\n    \"dataFlow\": {\n      \"values\": [\n        {\n          \"id\": \"0800000000000000\",\n          \"name\": \"demo flow\"\n        }\n      ],\n      \"filterType\": \"RELATED_ENTITY\",\n      \"deviceType\": {\n        \"values\": [\n          {\n            \"id\": \"3300000000000000\",\n            \"name\": \"demo device type\"\n          }\n        ],\n        \"filterType\": \"RELATED_ENTITY\"\n      }\n    },\n    \"integration\": {\n      \"values\": [\n        {\n          \"id\": \"0600000000000000\",\n          \"name\": \"custom integration\"\n        },\n        {\n          \"id\": \"0600000000000001\",\n          \"name\": \"tenant integration\"\n        }\n      ],\n      \"filterType\": \"RELATED_ENTITY\",\n      \"provider\": {\n        \"values\": [\n          \"ewz_lora\",\n          \"akenza_helium\",\n          \"loriot\",\n          \"swisscom_lora\",\n          \"generic_actility\",\n          \"swisscom_cmp\",\n          \"everynet\",\n          \"swisscom_lora_legacy\",\n          \"cibicom\",\n          \"spaceti\",\n          \"ttn\"\n        ],\n        \"filterType\": \"ENUM\"\n      }\n    },\n    \"customFields\": {\n      \"values\": [\n        {\n          \"id\": \"6900000000000001\",\n          \"name\": \"stringField\",\n          \"filterType\": \"STRING\",\n          \"values\": [\n            \"foo\",\n            \"bar\"\n          ]\n        },\n        {\n          \"id\": \"6900000000000003\",\n          \"name\": \"numberField\",\n          \"filterType\": \"NUMBER\",\n          \"values\": [\n            \"1\",\n            \"6\"\n          ]\n        },\n        {\n          \"id\": \"6900000000000004\",\n          \"name\": \"dateField\",\n          \"filterType\": \"DATE\"\n        }\n      ]\n    },\n    \"tags\": {\n      \"values\": [\n        {\n          \"id\": \"7100000000000001\",\n          \"name\": \"tag1\"\n        },\n        {\n          \"id\": \"7100000000000002\",\n          \"name\": \"tag2\"\n        }\n      ],\n      \"filterType\": \"LIST_FIELDS\"\n    },\n    \"uplinkMetrics\": {\n      \"timestamp\": {\n        \"filterType\": \"DATE\"\n      },\n      \"sf\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"sqi\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"signalQuality\": {\n        \"values\": [\n          \"BAD\",\n          \"MEDIUM\",\n          \"GOOD\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"batteryLevel\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"batteryLevelStatus\": {\n        \"values\": [\n          \"GOOD\",\n          \"BAD\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"rssi\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"frameCountUp\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"frameCountDown\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"numberOfGateways\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"port\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"txPower\": {\n        \"filterType\": \"NUMBER\"\n      },\n      \"esp\": {\n        \"filterType\": \"NUMBER\"\n      }\n    },\n    \"loraProperties\": {\n      \"carrier\": {\n        \"values\": [\n          \"GENERIC_ACTILITY\",\n          \"SWISSCOM_ACTILITY\",\n          \"LORIOT\",\n          \"TTN\",\n          \"EVERYNET\",\n          \"HELIUM\",\n          \"SPACETI\",\n          \"IOTCREATORS\",\n          \"HALTIAN\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"loraVersion\": {\n        \"values\": [\n          \"1.0.0\",\n          \"1.0.1\",\n          \"1.0.2\",\n          \"1.0.4\",\n          \"1.0.5\"\n        ],\n        \"filterType\": \"STRING\"\n      },\n      \"frequencyPlan\": {\n        \"values\": [\n          \"1\",\n          \"2\",\n          \"3\",\n          \"4\",\n          \"5\"\n        ],\n        \"filterType\": \"STRING\"\n      },\n      \"deviceClass\": {\n        \"values\": [\n          \"A\",\n          \"B\",\n          \"C\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"activationMode\": {\n        \"values\": [\n          \"OTAA\",\n          \"ABP\"\n        ],\n        \"filterType\": \"ENUM\"\n      },\n      \"deviceAddress\": {\n        \"filterType\": \"STRING\"\n      },\n      \"deviceEui\": {\n        \"filterType\": \"STRING\"\n      },\n      \"applicationEui\": {\n        \"filterType\": \"STRING\"\n      },\n      \"actilityProperties\": {\n        \"deviceProfileId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\",\n            \"3\",\n            \"4\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"connectivityPlanId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"routingProfileId\": {\n          \"values\": [\n            \"0\",\n            \"1\",\n            \"2\"\n          ],\n          \"filterType\": \"STRING\"\n        },\n        \"motionIndicator\": {\n          \"values\": [\n            \"NEAR_STATIC\",\n            \"WALKING_SPEED\",\n            \"VEHICLE_SPEED\",\n            \"BIKE_SPEED\",\n            \"RANDOM\"\n          ],\n          \"filterType\": \"ENUM\"\n        }\n      }\n    },\n    \"provider\": {\n      \"values\": [\n        \"ERICSSON\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"state\": {\n      \"values\": [\n        \"ACTIVE\",\n        \"DEACTIVATED\",\n        \"PAUSE\",\n        \"TERMINATED\",\n        \"OPERATOR_BLOCKED\",\n        \"DEACTIVATED_NO_BILLING\",\n        \"ACTIVE_NO_BILLING\"\n      ],\n      \"filterType\": \"ENUM\"\n    },\n    \"created\": {\n      \"filterType\": \"DATE\"\n    },\n    \"updated\": {\n      \"filterType\": \"DATE\"\n    },\n    \"description\": {\n      \"filterType\": \"STRING\"\n    },\n    \"deviceId\": {\n      \"filterType\": \"STRING\"\n    }\n  }\n}"}],"_postman_id":"37718e28-f44b-4558-bb8c-a88480c6faf3"},{"name":"get asset list","id":"f5a0e2e5-6294-44c7-81b1-24d9047702af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"organizationId\": \"<string>\",\n    \"workspaceIds\": [\"<string>\"],\n    \"search\": \"<string>\",\n    \"expression\": {\n        \"operator\": \"<string>\",\n        \"expressions\": [\n            {\n                \"field\": \"<enum>\",\n                \"predicate\": \"<enum>\",\n                \"values\": []\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/assets/list?page={{pageNumber}}&sort={{field}},{{direction}}","description":"<p>Returns all assets in the specified workspace or organization.</p>\n<p>Either workspaceIds or organizationId have to be set.</p>\n<p>See get device by id for object reference.</p>\n<p>Also refer to <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> in the akenza documentation.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets","list"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>restricts returned assets to the workspace </p>\n","type":"text/plain"},"key":"page","value":"{{pageNumber}}"},{"description":{"content":"<p>defines how the list should be sorted. direction can be asc or desc</p>\n","type":"text/plain"},"key":"sort","value":"{{field}},{{direction}}"}],"variable":[]}},"response":[{"id":"84cf59f3-0042-4bd6-83f0-fa8e407fe1e8","name":"get device list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"workspaceIds\": [\n        \"290000000000000\"\n    ],\n    \"expression\": {\n        \"field\": \"type\",\n        \"predicate\": \"EQUALS\",\n        \"values\": [\n            \"DEVICE\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/list?size=2","host":["{{baseUrl}}"],"path":["v3","assets","list"],"query":[{"key":"size","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"020000000000000\",\n            \"name\": \"device 1\",\n            \"description\": null,\n            \"type\": \"DEVICE\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": null,\n            \"customFields\": [],\n            \"tags\": [\n                {\n                    \"id\": \"710000000000000\",\n                    \"name\": \"tag 1\",\n                    \"description\": null\n                },\n                {\n                    \"id\": \"710000000000001\",\n                    \"name\": \"tag 2\",\n                    \"description\": null\n                }\n            ],\n            \"uplinkMetrics\": null,\n            \"created\": \"2021-12-06T09:58:34.000+00:00\",\n            \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n            \"deviceId\": \"ADADADADADADADAD\",\n            \"properties\": {},\n            \"connectivity\": \"HTTP\",\n            \"onlineTimeout\": 86400,\n            \"online\": null,\n            \"onlineState\": \"UNKNOWN\",\n            \"registered\": null,\n            \"dataFlowId\": \"080000000000000\",\n            \"dataFlow\": {\n                \"id\": \"080000000000000\",\n                \"name\": \"azure no rights connector\",\n                \"deviceType\": null,\n                \"deviceConnector\": {\n                    \"id\": \"070000000000000\",\n                    \"name\": \"http connector\"\n                }\n            },\n            \"loraProperties\": null\n        },\n        {\n            \"id\": \"0200000000000018\",\n            \"name\": \"device 2\",\n            \"description\": null,\n            \"type\": \"DEVICE\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": {\n                \"id\": \"060000000000004\",\n                \"name\": \"akenza - TTN LoRaWAN\",\n                \"type\": \"TTN\",\n                \"global\": true\n            },\n            \"customFields\": [],\n            \"tags\": [],\n            \"uplinkMetrics\": null,\n            \"created\": \"2022-01-18T12:26:48.000+00:00\",\n            \"updated\": \"2022-01-18T12:26:48.000+00:00\",\n            \"deviceId\": \"AFAFAFAFAFAFAFFF\",\n            \"properties\": {},\n            \"connectivity\": \"LORA\",\n            \"onlineTimeout\": 43200,\n            \"online\": null,\n            \"onlineState\": \"UNKNOWN\",\n            \"registered\": true,\n            \"dataFlowId\": \"080000000000004\",\n            \"dataFlow\": {\n                \"id\": \"080000000000004\",\n                \"name\": \"shared ttn -> pass -> db\",\n                \"deviceType\": null,\n                \"deviceConnector\": {\n                    \"id\": \"070000000000004\",\n                    \"name\": \"akenza - TTN LoRaWAN Connector\"\n                }\n            },\n            \"loraProperties\": {\n                \"carrier\": \"TTN\",\n                \"activationMode\": \"OTAA\",\n                \"loraVersion\": \"1.0.0\",\n                \"deviceClass\": \"A\",\n                \"deviceEui\": \"AFAFAFAFAFAFAFFF\",\n                \"deviceAddress\": null,\n                \"applicationEui\": \"AFAFAFAFAFAFAFFF\",\n                \"joinEui\": null,\n                \"applicationKey\": \"AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF\",\n                \"applicationSessionKey\": null,\n                \"networkSessionKey\": null,\n                \"forwardingNetworkSessionIntegrityKey\": null,\n                \"networkSessionEncryptionKey\": null,\n                \"servingNetworkSessionIntegrityKey\": null,\n                \"actilityProperties\": null,\n                \"ttnProperties\": {\n                    \"deviceId\": \"00000000-0000-0000-0000-000000000000\",\n                    \"phyLoraVersion\": \"PHY_V1_0\",\n                    \"networkServer\": \"eu1.cloud.thethings.network\",\n                    \"networkServerLabel\": null,\n                    \"applicationServer\": \"eu1.cloud.thethings.network\",\n                    \"applicationServerId\": null,\n                    \"applicationServerLabel\": null,\n                    \"joinServer\": \"eu1.cloud.thethings.network\",\n                    \"networkId\": null,\n                    \"frequencyPlan\": \"EU_863_870_TTN\",\n                    \"multicast\": false,\n                    \"support32BitFrameCount\": true,\n                    \"disablePayloadEncryption\": false\n                }\n            }\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"unsorted\": true,\n            \"sorted\": false,\n            \"empty\": true\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 2,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 2,\n    \"totalElements\": 3,\n    \"last\": false,\n    \"number\": 0,\n    \"sort\": {\n        \"unsorted\": true,\n        \"sorted\": false,\n        \"empty\": true\n    },\n    \"size\": 2,\n    \"numberOfElements\": 2,\n    \"first\": true,\n    \"empty\": false\n}"},{"id":"ddb50004-aa3e-411d-8df6-cf3e4c5035ff","name":"get sim-card list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"workspaceIds\": [\n        \"290000000000000\"\n    ],\n    \"expression\": {\n        \"field\": \"type\",\n        \"predicate\": \"EQUALS\",\n        \"values\": [\n            \"SIM_CARD\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/list?size=2","host":["{{baseUrl}}"],"path":["v3","assets","list"],"query":[{"key":"size","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"010000000000005\",\n            \"name\": \"DK 0\",\n            \"description\": null,\n            \"type\": \"SIM_CARD\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": {\n                \"id\": \"060000000000005\",\n                \"name\": \"Sim cards smal\",\n                \"type\": \"SWISSCOM_CMP\",\n                \"global\": false\n            },\n            \"customFields\": [],\n            \"tags\": [],\n            \"uplinkMetrics\": null,\n            \"created\": \"2022-01-27T11:46:59.000+00:00\",\n            \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n            \"imsi\": \"000000000000000\",\n            \"msisdn\": \"00000000009\",\n            \"iccid\": \"00000000000000000000\",\n            \"imei\": null,\n            \"assignedImei\": null,\n            \"state\": \"ACTIVE\",\n            \"packageName\": \"SC_00000000_DK000_SP_00\",\n            \"provider\": \"ERICSSON\"\n        },\n        {\n            \"id\": \"010000000000006\",\n            \"name\": \"DK 1\",\n            \"description\": null,\n            \"type\": \"SIM_CARD\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": {\n                \"id\": \"060000000000005\",\n                \"name\": \"Sim cards smal\",\n                \"type\": \"SWISSCOM_CMP\",\n                \"global\": false\n            },\n            \"customFields\": [],\n            \"tags\": [],\n            \"uplinkMetrics\": null,\n            \"created\": \"2022-01-27T11:46:59.000+00:00\",\n            \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n            \"imsi\": \"000000000000002\",\n            \"msisdn\": \"00000000008\",\n            \"iccid\": \"00000000000000000009\",\n            \"imei\": null,\n            \"assignedImei\": null,\n            \"state\": \"ACTIVE\",\n            \"packageName\": \"SC_00000000_DK000_SP_00\",\n            \"provider\": \"ERICSSON\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"unsorted\": true,\n            \"sorted\": false,\n            \"empty\": true\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 2,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 2,\n    \"totalElements\": 3,\n    \"last\": false,\n    \"number\": 0,\n    \"sort\": {\n        \"unsorted\": true,\n        \"sorted\": false,\n        \"empty\": true\n    },\n    \"size\": 2,\n    \"numberOfElements\": 2,\n    \"first\": true,\n    \"empty\": false\n}"},{"id":"16f4d26a-07dd-4ce9-948d-5cea56f792dd","name":"get inventory list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search\": \"abc\",\n    \"organizationId\": \"280000000000000\",\n    \"expression\": {\n        \"operator\": \"AND\",\n        \"expressions\": [\n            {\n                \"field\": \"id\",\n                \"predicate\": \"IN\",\n                \"values\": [\n                    \"0200000000000000\",\n                    \"0200000000000001\",\n                    \"0200000000000002\"\n                ]\n            },\n            {\n                \"operator\": \"OR\",\n                \"expressions\": [\n                    {\n                        \"field\": \"name\",\n                        \"predicate\": \"STARTS_WITH\",\n                        \"values\": [\n                            \"someething\"\n                        ]\n                    },\n                    {\n                        \"field\": \"name\",\n                        \"predicate\": \"ENDS_WITH\",\n                        \"values\": [\n                            \"else\"\n                        ]\n                    }\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/list?size=2","host":["{{baseUrl}}"],"path":["v3","assets","list"],"query":[{"key":"size","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"020000000000000\",\n            \"name\": \"device 1\",\n            \"description\": null,\n            \"type\": \"DEVICE\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": null,\n            \"customFields\": [],\n            \"tags\": [\n                {\n                    \"id\": \"710000000000000\",\n                    \"name\": \"tag 1\",\n                    \"description\": null\n                },\n                {\n                    \"id\": \"710000000000001\",\n                    \"name\": \"tag 2\",\n                    \"description\": null\n                }\n            ],\n            \"uplinkMetrics\": null,\n            \"created\": \"2021-12-06T09:58:34.000+00:00\",\n            \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n            \"deviceId\": \"ADADADADADADADAD\",\n            \"properties\": {},\n            \"connectivity\": \"HTTP\",\n            \"onlineTimeout\": 86400,\n            \"online\": null,\n            \"onlineState\": \"UNKNOWN\",\n            \"registered\": null,\n            \"dataFlowId\": \"080000000000000\",\n            \"dataFlow\": {\n                \"id\": \"080000000000000\",\n                \"name\": \"azure no rights connector\",\n                \"deviceType\": null,\n                \"deviceConnector\": {\n                    \"id\": \"070000000000000\",\n                    \"name\": \"http connector\"\n                }\n            },\n            \"loraProperties\": null\n        },\n        {\n            \"id\": \"010000000000005\",\n            \"name\": \"DK 0\",\n            \"description\": null,\n            \"type\": \"SIM_CARD\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": {\n                \"id\": \"060000000000005\",\n                \"name\": \"Sim cards smal\",\n                \"type\": \"SWISSCOM_CMP\",\n                \"global\": false\n            },\n            \"customFields\": [],\n            \"tags\": [],\n            \"uplinkMetrics\": null,\n            \"created\": \"2022-01-27T11:46:59.000+00:00\",\n            \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n            \"imsi\": \"000000000000000\",\n            \"msisdn\": \"00000000009\",\n            \"iccid\": \"00000000000000000000\",\n            \"imei\": null,\n            \"assignedImei\": null,\n            \"state\": \"ACTIVE\",\n            \"packageName\": \"SC_00000000_DK000_SP_00\",\n            \"provider\": \"ERICSSON\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"unsorted\": true,\n            \"sorted\": false,\n            \"empty\": true\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 2,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 2,\n    \"totalElements\": 3,\n    \"last\": false,\n    \"number\": 0,\n    \"sort\": {\n        \"unsorted\": true,\n        \"sorted\": false,\n        \"empty\": true\n    },\n    \"size\": 2,\n    \"numberOfElements\": 2,\n    \"first\": true,\n    \"empty\": false\n}"},{"id":"021882ae-2020-4d78-ab6f-ca33fec4a7d4","name":"get inventory list using custom field filters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search\": \"abc\",\n    \"organizationId\": \"280000000000000\",\n    \"expression\": {\n        \"operator\": \"AND\",\n        \"expressions\": [\n            {\n                \"field\": \"customFields\",\n                \"predicate\": \"CONTAINS\",\n                \"stringValues\": [\n                    \"se\"\n                ],\n                \"customFieldId\": \"customFieldMeta1\"\n            },\n            {\n                \"field\": \"customFields\",\n                \"predicate\": \"BETWEEN\",\n                \"dateValues\": [\n                    \"2023-08-17T09:27:37Z\",\n                    \"2023-09-06T11:34:26.868Z\"\n                ],\n                \"customFieldId\": \"customFieldMeta2\"\n            },\n            {\n                \"field\": \"customFields\",\n                \"predicate\": \"LESS_THAN_OR_EQUALS\",\n                \"numberValues\": [\n                    10\n                ],\n                \"customFieldName\": \"customFieldMeta3Name\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/list?size=2","host":["{{baseUrl}}"],"path":["v3","assets","list"],"query":[{"key":"size","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"020000000000000\",\n            \"name\": \"device 1\",\n            \"description\": null,\n            \"type\": \"DEVICE\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": null,\n            \"customFields\": [],\n            \"tags\": [\n                {\n                    \"id\": \"710000000000000\",\n                    \"name\": \"tag 1\",\n                    \"description\": null\n                },\n                {\n                    \"id\": \"710000000000001\",\n                    \"name\": \"tag 2\",\n                    \"description\": null\n                }\n            ],\n            \"uplinkMetrics\": null,\n            \"created\": \"2021-12-06T09:58:34.000+00:00\",\n            \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n            \"deviceId\": \"ADADADADADADADAD\",\n            \"properties\": {},\n            \"connectivity\": \"HTTP\",\n            \"onlineTimeout\": 86400,\n            \"online\": null,\n            \"onlineState\": \"UNKNOWN\",\n            \"registered\": null,\n            \"dataFlowId\": \"080000000000000\",\n            \"dataFlow\": {\n                \"id\": \"080000000000000\",\n                \"name\": \"azure no rights connector\",\n                \"deviceType\": null,\n                \"deviceConnector\": {\n                    \"id\": \"070000000000000\",\n                    \"name\": \"http connector\"\n                }\n            },\n            \"loraProperties\": null\n        },\n        {\n            \"id\": \"010000000000005\",\n            \"name\": \"DK 0\",\n            \"description\": null,\n            \"type\": \"SIM_CARD\",\n            \"workspaceId\": \"290000000000000\",\n            \"organizationId\": \"280000000000000\",\n            \"integration\": {\n                \"id\": \"060000000000005\",\n                \"name\": \"Sim cards smal\",\n                \"type\": \"SWISSCOM_CMP\",\n                \"global\": false\n            },\n            \"customFields\": [],\n            \"tags\": [],\n            \"uplinkMetrics\": null,\n            \"created\": \"2022-01-27T11:46:59.000+00:00\",\n            \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n            \"imsi\": \"000000000000000\",\n            \"msisdn\": \"00000000009\",\n            \"iccid\": \"00000000000000000000\",\n            \"imei\": null,\n            \"assignedImei\": null,\n            \"state\": \"ACTIVE\",\n            \"packageName\": \"SC_00000000_DK000_SP_00\",\n            \"provider\": \"ERICSSON\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"unsorted\": true,\n            \"sorted\": false,\n            \"empty\": true\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 2,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 2,\n    \"totalElements\": 3,\n    \"last\": false,\n    \"number\": 0,\n    \"sort\": {\n        \"unsorted\": true,\n        \"sorted\": false,\n        \"empty\": true\n    },\n    \"size\": 2,\n    \"numberOfElements\": 2,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"f5a0e2e5-6294-44c7-81b1-24d9047702af"},{"name":"get asset list (deprecated)","id":"10fa3b01-a9e1-43aa-be08-2945fd9f0aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/assets?workspaceId={{workspaceId}}&organizationId={{organizationId}}&page={{pageNumber}}&size={{size}}&search={{search}}&integrationId={{integrationId}}&online={{online}}&type={{assetType}}&dataFlowId={{dataFlowId}}&provider={{provider}}&state={{state}}&packageName={{packageName}}&customFields.ids={{customFieldIds}}&tags.ids={{tagIds}}&loraProperties.deviceClass={{deviceClass}}&loraProperties.activationMode={{activationMode}}&loraProperties.carrier={{carrier}}&loraProperties.actilityProperties.deviceProfileId={{deviceProfileId}}&loraProperties.actilityProperties.connectivityPlanId={{connectivityPlanId}}&loraProperties.actilityProperties.routingProfileId={{routingProfileId}}&loraProperties.actilityProperties.motionIndicator={{motionIndicator}}&customFieldValue.customFieldId={{customFieldId}}&customFieldValue.customFieldName={{customFieldName}}&customFieldValue.customFieldStringValue={{customFieldStringValue}}&customFieldValue.customFieldNumberValue={{customFieldNumberValue}}&customFieldValue.customFieldDateValue={{customFieldDateValue}}&customFieldValue.customFieldGpsLatitudeValue={{customFieldGpsLatitudeValue}}&customFieldValue.customFieldGpsLongitudeValue={{customFieldGpsLongitudeValue}}&customFieldValue.customFieldJsonValue={{customFieldJsonValue}}&tagCombination={{tagCombination}}","description":"<p>Returns all Assets in the specified workspace or organization.</p>\n<p>Ether workspaceId or organizationId have to be set.</p>\n<p>See get device by id for object reference.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>restricts returned assets to the workspace </p>\n","type":"text/plain"},"key":"workspaceId","value":"{{workspaceId}}"},{"description":{"content":"<p>restricts returned assets to the organization </p>\n","type":"text/plain"},"key":"organizationId","value":"{{organizationId}}"},{"description":{"content":"<p>defines the page number </p>\n","type":"text/plain"},"key":"page","value":"{{pageNumber}}"},{"description":{"content":"<p>defines the number of returned assets </p>\n","type":"text/plain"},"key":"size","value":"{{size}}"},{"description":{"content":"<p>value that will be searched for in multiple asset fields </p>\n","type":"text/plain"},"key":"search","value":"{{search}}"},{"description":{"content":"<p>restricts returned assets to the integration </p>\n","type":"text/plain"},"key":"integrationId","value":"{{integrationId}}"},{"description":{"content":"<p>restricts returned assets to depending on there online state </p>\n","type":"text/plain"},"key":"online","value":"{{online}}"},{"description":{"content":"<p>restricts returned assets to DEVICE or SIM_CARD &lt;String</p>\n","type":"text/plain"},"key":"type","value":"{{assetType}}"},{"description":{"content":"<p>restricts returned assets to the data flow </p>\n","type":"text/plain"},"key":"dataFlowId","value":"{{dataFlowId}}"},{"description":{"content":"<p>restricts returned assets to the sim card provider </p>\n","type":"text/plain"},"key":"provider","value":"{{provider}}"},{"description":{"content":"<p>restricts returned assets to the sim card state </p>\n","type":"text/plain"},"key":"state","value":"{{state}}"},{"description":{"content":"<p>restricts returned assets to the sim card packageName </p>\n","type":"text/plain"},"key":"packageName","value":"{{packageName}}"},{"description":{"content":"<p>restricts returned assets to the ones with the custom fields &lt;List&gt;</p>\n","type":"text/plain"},"key":"customFields.ids","value":"{{customFieldIds}}"},{"description":{"content":"<p>restricts returned assets to the ones with the tags &lt;List&gt;</p>\n","type":"text/plain"},"key":"tags.ids","value":"{{tagIds}}"},{"description":{"content":"<p>restricts returned assets to the LoRa devices with the device class </p>\n","type":"text/plain"},"key":"loraProperties.deviceClass","value":"{{deviceClass}}"},{"description":{"content":"<p>restricts returned assets to the LoRa devices with the activation mode </p>\n","type":"text/plain"},"key":"loraProperties.activationMode","value":"{{activationMode}}"},{"description":{"content":"<p>restricts returned assets to the LoRa devices with the carrier </p>\n","type":"text/plain"},"key":"loraProperties.carrier","value":"{{carrier}}"},{"description":{"content":"<p>restricts returned assets to the actility LoRa devices with the device profile </p>\n","type":"text/plain"},"key":"loraProperties.actilityProperties.deviceProfileId","value":"{{deviceProfileId}}"},{"description":{"content":"<p>restricts returned assets to the actility LoRa devices with the cconnectivity plan </p>\n","type":"text/plain"},"key":"loraProperties.actilityProperties.connectivityPlanId","value":"{{connectivityPlanId}}"},{"description":{"content":"<p>restricts returned assets to the actility LoRa devices with the routing profile </p>\n","type":"text/plain"},"key":"loraProperties.actilityProperties.routingProfileId","value":"{{routingProfileId}}"},{"description":{"content":"<p>restricts returned assets to the actility LoRa devices with the motion indicator </p>\n","type":"text/plain"},"key":"loraProperties.actilityProperties.motionIndicator","value":"{{motionIndicator}}"},{"description":{"content":"<p>Filters by custom field value together with one of the customFieldStringValue, customFieldNumberValue, customFieldDateValue, customFieldGpsLatitudeValue, customFieldGpsLongitudeValue or customFieldJsonValue filters</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldId","value":"{{customFieldId}}"},{"description":{"content":"<p>Can be used instead of customFieldValue.customFieldId</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldName","value":"{{customFieldName}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field string value (requires customFieldValue.customFieldId to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldStringValue","value":"{{customFieldStringValue}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field number value (requires customFieldValue.customFieldId to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldNumberValue","value":"{{customFieldNumberValue}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field date value (requires customFieldValue.customFieldId to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldDateValue","value":"{{customFieldDateValue}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field gps  value (requires customFieldValue.customFieldId and customFieldValue.customFieldGpsLongitudeValue to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldGpsLatitudeValue","value":"{{customFieldGpsLatitudeValue}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field gps  value (requires customFieldValue.customFieldId and customFieldValue.customFieldGpsLatitudeValue to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldGpsLongitudeValue","value":"{{customFieldGpsLongitudeValue}}"},{"description":{"content":"<p>restricts returned assets to the assets with the custom field json value (requires customFieldValue.customFieldId to be set)</p>\n","type":"text/plain"},"key":"customFieldValue.customFieldJsonValue","value":"{{customFieldJsonValue}}"},{"description":{"content":"<p>restricts returned assets to the ones with the tag combination </p>\n","type":"text/plain"},"key":"tagCombination","value":"{{tagCombination}}"}],"variable":[]}},"response":[{"id":"13d11a63-52d9-40a1-b681-4c1c942bf987","name":"get device list","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets?workspaceId=290000000000000&size=2&type=DEVICE","host":["{{baseUrl}}"],"path":["v3","assets"],"query":[{"key":"workspaceId","value":"290000000000000","description":"restricts returned assets to the workspace <String>"},{"key":"size","value":"2","description":"defines the number of returned assets <Integer>"},{"key":"type","value":"DEVICE","description":"restricts returned assets to DEVICE or SIM_CARD <String"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"020000000000000\",\n      \"name\": \"device 1\",\n      \"description\": null,\n      \"type\": \"DEVICE\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": null,\n      \"customFields\": [],\n      \"tags\": [\n        {\n          \"id\": \"710000000000000\",\n          \"name\": \"tag 1\",\n          \"description\": null\n        },\n        {\n          \"id\": \"710000000000001\",\n          \"name\": \"tag 2\",\n          \"description\": null\n        }\n      ],\n      \"uplinkMetrics\": null,\n      \"created\": \"2021-12-06T09:58:34.000+00:00\",\n      \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n      \"deviceId\": \"ADADADADADADADAD\",\n      \"properties\": {},\n      \"connectivity\": \"HTTP\",\n      \"onlineTimeout\": 86400,\n      \"online\": null,\n      \"onlineState\": \"UNKNOWN\",\n      \"registered\": null,\n      \"dataFlowId\": \"080000000000000\",\n      \"dataFlow\": {\n        \"id\": \"080000000000000\",\n        \"name\": \"azure no rights connector\",\n        \"deviceType\": null,\n        \"deviceConnector\": {\n          \"id\": \"070000000000000\",\n          \"name\": \"http connector\"\n        }\n      },\n      \"loraProperties\": null\n    },\n    {\n      \"id\": \"0200000000000018\",\n      \"name\": \"device 2\",\n      \"description\": null,\n      \"type\": \"DEVICE\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": {\n        \"id\": \"060000000000004\",\n        \"name\": \"akenza - TTN LoRaWAN\",\n        \"type\": \"TTN\",\n        \"global\": true\n      },\n      \"customFields\": [],\n      \"tags\": [],\n      \"uplinkMetrics\": null,\n      \"created\": \"2022-01-18T12:26:48.000+00:00\",\n      \"updated\": \"2022-01-18T12:26:48.000+00:00\",\n      \"deviceId\": \"AFAFAFAFAFAFAFFF\",\n      \"properties\": {},\n      \"connectivity\": \"LORA\",\n      \"onlineTimeout\": 43200,\n      \"online\": null,\n      \"onlineState\": \"UNKNOWN\",\n      \"registered\": true,\n      \"dataFlowId\": \"080000000000004\",\n      \"dataFlow\": {\n        \"id\": \"080000000000004\",\n        \"name\": \"shared ttn -> pass -> db\",\n        \"deviceType\": null,\n        \"deviceConnector\": {\n          \"id\": \"070000000000004\",\n          \"name\": \"akenza - TTN LoRaWAN Connector\"\n        }\n      },\n      \"loraProperties\": {\n        \"carrier\": \"TTN\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"AFAFAFAFAFAFAFFF\",\n        \"deviceAddress\": null,\n        \"applicationEui\": \"AFAFAFAFAFAFAFFF\",\n        \"joinEui\": null,\n        \"applicationKey\": \"AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF\",\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": null,\n        \"ttnProperties\": {\n          \"deviceId\": \"00000000-0000-0000-0000-000000000000\",\n          \"phyLoraVersion\": \"PHY_V1_0\",\n          \"networkServer\": \"eu1.cloud.thethings.network\",\n          \"networkServerLabel\": null,\n          \"applicationServer\": \"eu1.cloud.thethings.network\",\n          \"applicationServerId\": null,\n          \"applicationServerLabel\": null,\n          \"joinServer\": \"eu1.cloud.thethings.network\",\n          \"networkId\": null,\n          \"frequencyPlan\": \"EU_863_870_TTN\",\n          \"multicast\": false,\n          \"support32BitFrameCount\": true,\n          \"disablePayloadEncryption\": false\n        }\n      }\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"unsorted\": true,\n      \"sorted\": false,\n      \"empty\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 2,\n    \"paged\": true,\n    \"unpaged\": false\n  },\n  \"totalPages\": 2,\n  \"totalElements\": 3,\n  \"last\": false,\n  \"number\": 0,\n  \"sort\": {\n    \"unsorted\": true,\n    \"sorted\": false,\n    \"empty\": true\n  },\n  \"size\": 2,\n  \"numberOfElements\": 2,\n  \"first\": true,\n  \"empty\": false\n}\n"},{"id":"5708ce5b-5872-459e-a83d-431a1d8fe8b7","name":"get sim-card list","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets?workspaceId=290000000000000&size=2&type=SIM_CARD","host":["{{baseUrl}}"],"path":["v3","assets"],"query":[{"key":"workspaceId","value":"290000000000000","description":"restricts returned assets to the workspace <String>"},{"key":"size","value":"2","description":"restricts returned assets to the organization <String>"},{"key":"type","value":"SIM_CARD","description":"defines the page number <long>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"010000000000005\",\n      \"name\": \"DK 0\",\n      \"description\": null,\n      \"type\": \"SIM_CARD\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": {\n        \"id\": \"060000000000005\",\n        \"name\": \"Sim cards smal\",\n        \"type\": \"SWISSCOM_CMP\",\n        \"global\": false\n      },\n      \"customFields\": [],\n      \"tags\": [],\n      \"uplinkMetrics\": null,\n      \"created\": \"2022-01-27T11:46:59.000+00:00\",\n      \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n      \"imsi\": \"000000000000000\",\n      \"msisdn\": \"00000000009\",\n      \"iccid\": \"00000000000000000000\",\n      \"imei\": null,\n      \"assignedImei\": null,\n      \"state\": \"ACTIVE\",\n      \"packageName\": \"SC_00000000_DK000_SP_00\",\n      \"provider\": \"ERICSSON\"\n    },\n    {\n      \"id\": \"010000000000006\",\n      \"name\": \"DK 1\",\n      \"description\": null,\n      \"type\": \"SIM_CARD\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": {\n        \"id\": \"060000000000005\",\n        \"name\": \"Sim cards smal\",\n        \"type\": \"SWISSCOM_CMP\",\n        \"global\": false\n      },\n      \"customFields\": [],\n      \"tags\": [],\n      \"uplinkMetrics\": null,\n      \"created\": \"2022-01-27T11:46:59.000+00:00\",\n      \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n      \"imsi\": \"000000000000002\",\n      \"msisdn\": \"00000000008\",\n      \"iccid\": \"00000000000000000009\",\n      \"imei\": null,\n      \"assignedImei\": null,\n      \"state\": \"ACTIVE\",\n      \"packageName\": \"SC_00000000_DK000_SP_00\",\n      \"provider\": \"ERICSSON\"\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"unsorted\": true,\n      \"sorted\": false,\n      \"empty\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 2,\n    \"paged\": true,\n    \"unpaged\": false\n  },\n  \"totalPages\": 2,\n  \"totalElements\": 3,\n  \"last\": false,\n  \"number\": 0,\n  \"sort\": {\n    \"unsorted\": true,\n    \"sorted\": false,\n    \"empty\": true\n  },\n  \"size\": 2,\n  \"numberOfElements\": 2,\n  \"first\": true,\n  \"empty\": false\n}"},{"id":"be78d1ce-3e11-4075-8d8e-84171bd69536","name":"get inventory list","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets?workspaceId=290000000000000&size=2","host":["{{baseUrl}}"],"path":["v3","assets"],"query":[{"key":"workspaceId","value":"290000000000000","description":"restricts returned assets to the workspace <String>"},{"key":"size","value":"2","description":"restricts returned assets to the organization <String>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"020000000000000\",\n      \"name\": \"device 1\",\n      \"description\": null,\n      \"type\": \"DEVICE\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": null,\n      \"customFields\": [],\n      \"tags\": [\n        {\n          \"id\": \"710000000000000\",\n          \"name\": \"tag 1\",\n          \"description\": null\n        },\n        {\n          \"id\": \"710000000000001\",\n          \"name\": \"tag 2\",\n          \"description\": null\n        }\n      ],\n      \"uplinkMetrics\": null,\n      \"created\": \"2021-12-06T09:58:34.000+00:00\",\n      \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n      \"deviceId\": \"ADADADADADADADAD\",\n      \"properties\": {},\n      \"connectivity\": \"HTTP\",\n      \"onlineTimeout\": 86400,\n      \"online\": null,\n      \"onlineState\": \"UNKNOWN\",\n      \"registered\": null,\n      \"dataFlowId\": \"080000000000000\",\n      \"dataFlow\": {\n        \"id\": \"080000000000000\",\n        \"name\": \"azure no rights connector\",\n        \"deviceType\": null,\n        \"deviceConnector\": {\n          \"id\": \"070000000000000\",\n          \"name\": \"http connector\"\n        }\n      },\n      \"loraProperties\": null\n    },\n    {\n      \"id\": \"010000000000005\",\n      \"name\": \"DK 0\",\n      \"description\": null,\n      \"type\": \"SIM_CARD\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": {\n        \"id\": \"060000000000005\",\n        \"name\": \"Sim cards smal\",\n        \"type\": \"SWISSCOM_CMP\",\n        \"global\": false\n      },\n      \"customFields\": [],\n      \"tags\": [],\n      \"uplinkMetrics\": null,\n      \"created\": \"2022-01-27T11:46:59.000+00:00\",\n      \"updated\": \"2022-01-27T11:46:59.000+00:00\",\n      \"imsi\": \"000000000000000\",\n      \"msisdn\": \"00000000009\",\n      \"iccid\": \"00000000000000000000\",\n      \"imei\": null,\n      \"assignedImei\": null,\n      \"state\": \"ACTIVE\",\n      \"packageName\": \"SC_00000000_DK000_SP_00\",\n      \"provider\": \"ERICSSON\"\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"unsorted\": true,\n      \"sorted\": false,\n      \"empty\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 2,\n    \"paged\": true,\n    \"unpaged\": false\n  },\n  \"totalPages\": 2,\n  \"totalElements\": 3,\n  \"last\": false,\n  \"number\": 0,\n  \"sort\": {\n    \"unsorted\": true,\n    \"sorted\": false,\n    \"empty\": true\n  },\n  \"size\": 2,\n  \"numberOfElements\": 2,\n  \"first\": true,\n  \"empty\": false\n}\n"},{"id":"d4d0b971-dfec-4269-94a6-421139a3b40a","name":"get inventory by tag combination","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/assets?workspaceId=290000000000000&size=2&tagCombination=710000000000000%26%26710000000000001","host":["{{baseUrl}}"],"path":["v3","assets"],"query":[{"key":"workspaceId","value":"290000000000000","description":"restricts returned assets to the workspace <String>"},{"key":"size","value":"2"},{"key":"tagCombination","value":"710000000000000%26%26710000000000001"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"020000000000000\",\n      \"name\": \"device 1\",\n      \"description\": null,\n      \"type\": \"DEVICE\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": null,\n      \"customFields\": [],\n      \"tags\": [\n        {\n          \"id\": \"710000000000000\",\n          \"name\": \"tag 1\",\n          \"description\": null\n        },\n        {\n          \"id\": \"710000000000001\",\n          \"name\": \"tag 2\",\n          \"description\": null\n        }\n      ],\n      \"uplinkMetrics\": null,\n      \"created\": \"2021-12-06T09:58:34.000+00:00\",\n      \"updated\": \"2022-01-21T13:41:57.000+00:00\",\n      \"deviceId\": \"ADADADADADADADAD\",\n      \"properties\": {},\n      \"connectivity\": \"HTTP\",\n      \"onlineTimeout\": 86400,\n      \"online\": null,\n      \"onlineState\": \"UNKNOWN\",\n      \"registered\": null,\n      \"dataFlowId\": \"080000000000000\",\n      \"dataFlow\": {\n        \"id\": \"080000000000000\",\n        \"name\": \"azure no rights connector\",\n        \"deviceType\": null,\n        \"deviceConnector\": {\n          \"id\": \"070000000000000\",\n          \"name\": \"http connector\"\n        }\n      },\n      \"loraProperties\": null\n    },\n    {\n      \"id\": \"0200000000000018\",\n      \"name\": \"device 2\",\n      \"description\": null,\n      \"type\": \"DEVICE\",\n      \"workspaceId\": \"290000000000000\",\n      \"organizationId\": \"280000000000000\",\n      \"integration\": {\n        \"id\": \"060000000000004\",\n        \"name\": \"akenza - TTN LoRaWAN\",\n        \"type\": \"TTN\",\n        \"global\": true\n      },\n      \"customFields\": [],\n      \"tags\": [],\n      \"uplinkMetrics\": null,\n      \"created\": \"2022-01-18T12:26:48.000+00:00\",\n      \"updated\": \"2022-01-18T12:26:48.000+00:00\",\n      \"deviceId\": \"AFAFAFAFAFAFAFFF\",\n      \"properties\": {},\n      \"connectivity\": \"LORA\",\n      \"onlineTimeout\": 43200,\n      \"online\": null,\n      \"onlineState\": \"UNKNOWN\",\n      \"registered\": true,\n      \"dataFlowId\": \"080000000000004\",\n      \"dataFlow\": {\n        \"id\": \"080000000000004\",\n        \"name\": \"shared ttn -> pass -> db\",\n        \"deviceType\": null,\n        \"deviceConnector\": {\n          \"id\": \"070000000000004\",\n          \"name\": \"akenza - TTN LoRaWAN Connector\"\n        }\n      },\n      \"loraProperties\": {\n        \"carrier\": \"TTN\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"AFAFAFAFAFAFAFFF\",\n        \"deviceAddress\": null,\n        \"applicationEui\": \"AFAFAFAFAFAFAFFF\",\n        \"joinEui\": null,\n        \"applicationKey\": \"AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF\",\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": null,\n        \"ttnProperties\": {\n          \"deviceId\": \"00000000-0000-0000-0000-000000000000\",\n          \"phyLoraVersion\": \"PHY_V1_0\",\n          \"networkServer\": \"eu1.cloud.thethings.network\",\n          \"networkServerLabel\": null,\n          \"applicationServer\": \"eu1.cloud.thethings.network\",\n          \"applicationServerId\": null,\n          \"applicationServerLabel\": null,\n          \"joinServer\": \"eu1.cloud.thethings.network\",\n          \"networkId\": null,\n          \"frequencyPlan\": \"EU_863_870_TTN\",\n          \"multicast\": false,\n          \"support32BitFrameCount\": true,\n          \"disablePayloadEncryption\": false\n        }\n      }\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"unsorted\": true,\n      \"sorted\": false,\n      \"empty\": true\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 2,\n    \"paged\": true,\n    \"unpaged\": false\n  },\n  \"totalPages\": 2,\n  \"totalElements\": 3,\n  \"last\": false,\n  \"number\": 0,\n  \"sort\": {\n    \"unsorted\": true,\n    \"sorted\": false,\n    \"empty\": true\n  },\n  \"size\": 2,\n  \"numberOfElements\": 2,\n  \"first\": true,\n  \"empty\": false\n}\n"}],"_postman_id":"10fa3b01-a9e1-43aa-be08-2945fd9f0aed"},{"name":"get device by id","id":"760efe4e-1282-4c7f-ad3c-e458a9938adb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}","description":"<p>Get device details</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1add54e8-582d-41fc-a2fe-24837544c7f1","name":"get device by id model","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"deviceId\": \"<string>\",\n    \"description\": \"<string>\",\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"<string>\",\n    \"organizationId\": \"<string>\",\n    \"integration\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\"\n    },\n    \"created\": \"<date>\",\n    \"updated\": \"<date>\",\n    \"properties\": {},\n    \"connectivity\": \"<enum>\",\n    \"onlineTimeout\": \"<integer>\",\n    \"dataFlowId\": \"<string>\",\n    \"integrationId\": \"<string>\",\n    \"customFields\": [],\n    \"tags\": [\n        {\n            \"id\": \"<string>\",\n            \"workspaceId\": \"<string>\",\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created\": \"<ISO 8601 date string>\",\n            \"updated\": \"<ISO 8601 date string>\"\n        }\n    ],\n    \"loraProperties\": {\n        \"activationMode\": \"<enum>\",\n        \"carrier\": \"<enum>\",\n        \"deviceClass\": \"<enum>\",\n        \"deviceEui\": \"<string>\",\n        \"loraVersion\": \"<string>\",\n        \"deviceAddress\": \"<string>\",\n        \"applicationEui\": \"<string>\",\n        \"applicationKey\": \"<string>\",\n        \"applicationSessionKey\": \"<string>\",\n        \"networkSessionKey\": \"<string>\",\n        \"joinEui\": \"<string>\",\n        \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n        \"networkSessionEncryptionKey\": \"<string>\",\n        \"servingNetworkSessionIntegrityKey\": \"<string>\",\n        \"actilityProperties\": {\n            \"connectivityPlanId\": \"<string>\",\n            \"deviceProfileId\": \"<string>\",\n            \"motionIndicator\": \"<string>\",\n            \"routingProfileId\": \"<enum>\"\n        }\n    },\n    \"uplinkMetrics\": {\n        \"uplinkId\": \"<string>\",\n        \"deviceId\": \"<string>\",\n        \"uplinkSize\": \"<integer>\",\n        \"timestamp\": \"<date>\",\n        \"port\": \"<integer>\",\n        \"latitude\": \"<float>\",\n        \"longitude\": \"<float>\",\n        \"frameCountUp\": \"<integer>\",\n        \"frameCountDown\": \"<integer>\",\n        \"rssi\": \"<integer>\",\n        \"snr\": \"<float>\",\n        \"sf\": \"<integer>\",\n        \"txPower\": \"<integer>\",\n        \"numberOfGateways\": \"<integer>\",\n        \"esp\": \"<float>\",\n        \"sqi\": \"<integer>\",\n        \"batteryLevel\": \"<float>\",\n        \"id\": \"<string>\"\n    }\n}"},{"id":"e892901b-d62d-43a1-9c30-66acda3c485f","name":"get device by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/0200000000000000"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"name\": \"http device\",\n    \"description\": null,\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"2800000000000000\",\n    \"integration\": null,\n    \"customFields\": [\n      {\n        \"meta\": {\n          \"id\": \"6900000000000000\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"json\",\n          \"type\": \"JSON\",\n          \"created\": \"2021-04-15T00:00:00.000+00:00\",\n          \"updated\": \"2021-04-15T00:00:00.000+00:00\"\n        },\n        \"created\": null,\n        \"updated\": null,\n        \"STRING\": null,\n        \"NUMBER\": null,\n        \"DATE\": null,\n        \"JSON\": {\n          \"key\": \"value\"\n        },\n        \"GPS_COORDINATES\": {\n          \"latitude\": null,\n          \"longitude\": null\n        }\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000001\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"text\",\n          \"type\": \"STRING\",\n          \"created\": \"2021-04-15T00:00:00.000+00:00\",\n          \"updated\": \"2021-04-15T00:00:00.000+00:00\"\n        },\n        \"created\": null,\n        \"updated\": null,\n        \"STRING\": \"some text\",\n        \"NUMBER\": null,\n        \"DATE\": null,\n        \"JSON\": {},\n        \"GPS_COORDINATES\": {\n          \"latitude\": null,\n          \"longitude\": null\n        }\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000002\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"number\",\n          \"type\": \"NUMBER\",\n          \"created\": \"2021-04-15T00:00:00.000+00:00\",\n          \"updated\": \"2021-04-15T00:00:00.000+00:00\"\n        },\n        \"created\": null,\n        \"updated\": null,\n        \"STRING\": null,\n        \"NUMBER\": 3.14150000000000000000,\n        \"DATE\": null,\n        \"JSON\": {},\n        \"GPS_COORDINATES\": {\n          \"latitude\": null,\n          \"longitude\": null\n        }\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000003\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"date\",\n          \"type\": \"DATE\",\n          \"created\": \"2021-04-15T00:00:00.000+00:00\",\n          \"updated\": \"2021-04-15T00:00:00.000+00:00\"\n        },\n        \"created\": null,\n        \"updated\": null,\n        \"STRING\": null,\n        \"NUMBER\": null,\n        \"DATE\": \"2022-01-27T14:03:17.000+00:00\",\n        \"JSON\": {},\n        \"GPS_COORDINATES\": {\n          \"latitude\": null,\n          \"longitude\": null\n        }\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000004\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"gps\",\n          \"type\": \"GPS_COORDINATES\",\n          \"created\": \"2021-04-15T00:00:00.000+00:00\",\n          \"updated\": \"2021-04-15T00:00:00.000+00:00\"\n        },\n        \"created\": null,\n        \"updated\": null,\n        \"STRING\": null,\n        \"NUMBER\": null,\n        \"DATE\": null,\n        \"JSON\": {},\n        \"GPS_COORDINATES\": {\n          \"latitude\": 15.32,\n          \"longitude\": 70.35\n        }\n      }\n    ],\n    \"tags\": [\n      {\n        \"id\": \"7100000000000000\",\n        \"name\": \"tag2\",\n        \"description\": null\n      },\n      {\n        \"id\": \"7100000000000001\",\n        \"name\": \"tag1\",\n        \"description\": null\n      }\n    ],\n    \"uplinkMetrics\": null,\n    \"created\": \"2022-01-27T14:05:43.000+00:00\",\n    \"updated\": \"2022-01-27T14:05:43.000+00:00\",\n    \"deviceId\": \"14B5D309F3CF5618\",\n    \"properties\": {},\n    \"connectivity\": \"HTTP\",\n    \"onlineTimeout\": 43200,\n    \"online\": null,\n    \"onlineState\": \"UNKNOWN\",\n    \"registered\": null,\n    \"dataFlowId\": \"0800000000000000\",\n    \"dataFlow\": {\n      \"id\": \"0800000000000000\",\n      \"name\": \"http -> pass -> db\",\n      \"deviceType\": null,\n      \"deviceConnector\": {\n        \"id\": \"0700000000000000\",\n        \"name\": \"http connector\"\n      }\n    },\n    \"loraProperties\": null\n  }"}],"_postman_id":"760efe4e-1282-4c7f-ad3c-e458a9938adb"},{"name":"get device by deviceId (physical identifier)","id":"1a30cfc6-d373-4e32-b0d0-b022d2afe079","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/by-device-id?deviceId={{deviceId}}","description":"<p>Get device details by deviceId (e.g. DevEUI)</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","by-device-id"],"host":["{{baseUrl}}"],"query":[{"key":"deviceId","value":"{{deviceId}}"}],"variable":[]}},"response":[{"id":"feee0fc8-e6c0-45b6-9bd1-98cbf98352bc","name":"get device by deviceId","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/devices/by-device-id?deviceId={{deviceId}}","host":["{{baseUrl}}"],"path":["v3","devices","by-device-id"],"query":[{"key":"deviceId","value":"{{deviceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"deviceId\": \"<string>\",\n    \"description\": \"<string>\",\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"<string>\",\n    \"organizationId\": \"<string>\",\n    \"integration\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\"\n    },\n    \"created\": \"<date>\",\n    \"updated\": \"<date>\",\n    \"properties\": {},\n    \"connectivity\": \"<enum>\",\n    \"onlineTimeout\": \"<integer>\",\n    \"dataFlowId\": \"<string>\",\n    \"integrationId\": \"<string>\",\n    \"customFields\": [],\n    \"tags\": [\n        {\n            \"id\": \"<string>\",\n            \"workspaceId\": \"<string>\",\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created\": \"<ISO 8601 date string>\",\n            \"updated\": \"<ISO 8601 date string>\"\n        }\n    ],\n    \"loraProperties\": {\n        \"activationMode\": \"<enum>\",\n        \"carrier\": \"<enum>\",\n        \"deviceClass\": \"<enum>\",\n        \"deviceEui\": \"<string>\",\n        \"loraVersion\": \"<string>\",\n        \"deviceAddress\": \"<string>\",\n        \"applicationEui\": \"<string>\",\n        \"applicationKey\": \"<string>\",\n        \"applicationSessionKey\": \"<string>\",\n        \"networkSessionKey\": \"<string>\",\n        \"joinEui\": \"<string>\",\n        \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n        \"networkSessionEncryptionKey\": \"<string>\",\n        \"servingNetworkSessionIntegrityKey\": \"<string>\",\n        \"actilityProperties\": {\n            \"connectivityPlanId\": \"<string>\",\n            \"deviceProfileId\": \"<string>\",\n            \"motionIndicator\": \"<string>\",\n            \"routingProfileId\": \"<enum>\"\n        }\n    },\n    \"uplinkMetrics\": {\n        \"uplinkId\": \"<string>\",\n        \"deviceId\": \"<string>\",\n        \"uplinkSize\": \"<integer>\",\n        \"timestamp\": \"<date>\",\n        \"port\": \"<integer>\",\n        \"latitude\": \"<float>\",\n        \"longitude\": \"<float>\",\n        \"frameCountUp\": \"<integer>\",\n        \"frameCountDown\": \"<integer>\",\n        \"rssi\": \"<integer>\",\n        \"snr\": \"<float>\",\n        \"sf\": \"<integer>\",\n        \"txPower\": \"<integer>\",\n        \"numberOfGateways\": \"<integer>\",\n        \"esp\": \"<float>\",\n        \"sqi\": \"<integer>\",\n        \"batteryLevel\": \"<float>\",\n        \"id\": \"<string>\"\n    }\n}"}],"_postman_id":"1a30cfc6-d373-4e32-b0d0-b022d2afe079"},{"name":"create device","id":"0358f445-b63d-47bb-afe7-b826811e03a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<deviceName>\",\n    \"deviceId\": \"<physicalDeviceId>\",\n    \"description\": \"<description>\",\n    \"properties\": {},\n    \"connectivity\": \"LORA|MQTT|HTTP|COAP|NB_IOT\",\n    \"onlineTimeout\": 86400,\n    \"excludeFromLifecycleReport\": false,\n    \"dataFlowId\": \"<string>\",\n    \"integrationId\": \"<string>\",\n    \"workspaceId\": \"<string>\",\n    \"tags\": [\n        {\n            \"id\": \"<string>\"\n        }\n    ],\n    \"customFields\": [\n        {\n            \"fieldMetaId\": \"<string>\",\n            \"fieldMetaName\": \"<string>\",\n            \"STRING\": \"<string>\",\n            \"NUMBER\": \"<integer>\",\n            \"DATE\": \"<date>\",\n            \"JSON\": {},\n            \"GPS_COORDINATES\": {\n                \"latitude\": \"<double>\",\n                \"longitude\": \"<double>\"\n            }\n        }\n    ],\n    \"loraProperties\": {\n        \"carrier\": \"GENERIC_ACTILITY|SWISSCOM_ACTILITY|LORIOT|TTN|HELIUM|NETMORE\",\n        \"activationMode\": \"OTAA|ABP\",\n        \"loraVersion\": \"<string>\",\n        \"deviceClass\": \"A|B|C\",\n        \"frequencyPlan\": \"<string>\",\n        \"deviceEui\": \"<string>\",\n        \"deviceAddress\": \"<string>\",\n        \"applicationEui\": \"<string>\",\n        \"applicationKey\": \"<string>\",\n        \"applicationSessionKey\": \"<string>\",\n        \"networkKey\": \"<string>\",\n        \"networkSessionKey\": \"<string>\",\n        \"joinEui\": \"<string>\",\n        \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n        \"networkSessionEncryptionKey\": \"<string>\",\n        \"servingNetworkSessionIntegrityKey\": \"<string>\",\n        \"actilityProperties\": {\n            \"activated\": \"<boolean>\",\n            \"connectivityPlanId\": \"<string>\",\n            \"deviceProfileId\": \"<string>\",\n            \"motionIndicator\": \"<string>\",\n            \"routingProfileId\": \"<string>\"\n        },\n        \"ttnProperties\": {\n            \"deviceId\": \"<string>\",\n            \"phyLoraVersion\": \"<string>\",\n            \"networkServer\": \"<string>\",\n            \"networkServerLabel\": \"<string>\",\n            \"applicationServer\": \"<string>\",\n            \"applicationServerId\": \"<string>\",\n            \"applicationServerLabel\": \"<string>\",\n            \"joinServer\": \"<string>\",\n            \"networkId\": \"<string>\",\n            \"multicast\": \"<boolean>\",\n            \"support32BitFrameCount\": \"<boolean>\",\n            \"disablePayloadEncryption\": false\n        }\n    },\n    \"nbIoTProperties\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices","description":"<p>Create a Device.</p>\n<p>The <code>loraProperties</code> are only required if the Device is a LoRa Device. HTTP and MQTT devices can be created without any additional properties.</p>\n<p>The <code>actilityProperties</code> must be set if the device is to be registered on an Actility or Swisscom account.</p>\n<p>The <code>fieldMetaName</code> can be used instad of <code>fieldMetaId</code> when adding a custom field</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2a61f58e-b19b-4fdb-b286-0e33324b8057","name":"create http device with custom fields and tags","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"HTTP Device\",\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"2900000000000000\",\n    \"customFields\": [\n        {\n            \"fieldMetaId\": \"6900000000000000\",\n            \"DATE\": \"2022-01-24T02:17:44.747Z\"\n        },\n        {\n            \"fieldMetaId\": \"6900000000000001\",\n            \"GPS_COORDINATES\": {\n                \"latitude\": 13.44,\n                \"longitude\": 16.23\n            }\n        },\n        {\n            \"fieldMetaId\": \"6900000000000002\",\n            \"NUMBER\": 12.22\n        },\n        {\n            \"fieldMetaId\": \"6900000000000003\",\n            \"STRING\": \"string\"\n        },\n        {\n            \"fieldMetaName\": \"{{customFieldName}}\",\n            \"JSON\": {\n                \"key\": \"value\"\n            }\n        }\n    ],\n    \"tags\": [\n        {\n            \"id\": \"7100000000000000\"\n        },\n        {\n            \"id\": \"7100000000000000\"\n        }\n    ],\n    \"deviceId\": \"5243C7DF17ECD3BA\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 43200,\n    \"connectivity\": \"HTTP\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"5243C7DF17ECD3BA\",\n    \"name\": \"HTTP Device\",\n    \"description\": null,\n    \"properties\": {},\n    \"connectivity\": \"HTTP\",\n    \"loraProperties\": null,\n    \"onlineTimeout\": 43200,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": null,\n    \"customFields\": [\n        {\n            \"meta\": {\n                \"id\": \"6900000000000003\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"string\",\n                \"type\": \"STRING\",\n                \"created\": \"2022-01-24T13:18:11.000+00:00\",\n                \"updated\": \"2022-01-24T13:18:11.000+00:00\"\n            },\n            \"created\": \"2022-01-24T13:18:46.000+00:00\",\n            \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n            \"STRING\": \"string\"\n        },\n        {\n            \"meta\": {\n                \"id\": \"6900000000000000\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"date\",\n                \"type\": \"DATE\",\n                \"created\": \"2021-08-10T10:17:02.000+00:00\",\n                \"updated\": \"2021-08-10T10:17:02.000+00:00\"\n            },\n            \"created\": \"2022-01-24T13:18:46.000+00:00\",\n            \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n            \"DATE\": \"2022-01-24T02:17:45.000+00:00\"\n        },\n        {\n            \"meta\": {\n                \"id\": \"6900000000000001\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"gps\",\n                \"type\": \"GPS_COORDINATES\",\n                \"created\": \"2021-09-09T09:50:23.000+00:00\",\n                \"updated\": \"2021-09-09T09:50:23.000+00:00\"\n            },\n            \"created\": \"2022-01-24T13:18:46.000+00:00\",\n            \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n            \"GPS_COORDINATES\": {\n                \"latitude\": 13.44,\n                \"longitude\": 16.23\n            }\n        },\n        {\n            \"meta\": {\n                \"id\": \"6900000000000002\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"number\",\n                \"type\": \"NUMBER\",\n                \"created\": \"2022-01-24T13:17:33.000+00:00\",\n                \"updated\": \"2022-01-24T13:17:33.000+00:00\"\n            },\n            \"created\": \"2022-01-24T13:18:46.000+00:00\",\n            \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n            \"NUMBER\": 12.22\n        },\n        {\n            \"meta\": {\n                \"id\": \"6000000000000004\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"json\",\n                \"type\": \"JSON\",\n                \"created\": \"2022-01-24T13:18:25.000+00:00\",\n                \"updated\": \"2022-01-24T13:18:25.000+00:00\"\n            },\n            \"created\": \"2022-01-24T13:18:46.000+00:00\",\n            \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n            \"JSON\": {\n                \"key\": \"value\"\n            }\n        }\n    ],\n    \"tags\": [\n        {\n            \"id\": \"7100000000000000\",\n            \"name\": \"tag 1\",\n            \"description\": null,\n            \"workspaceId\": \"2900000000000000\",\n            \"created\": \"2022-01-24T13:16:50.000+00:00\",\n            \"updated\": \"2022-01-24T13:16:50.000+00:00\"\n        },\n        {\n            \"id\": \"7100000000000001\",\n            \"name\": \"tag 2\",\n            \"description\": null,\n            \"workspaceId\": \"2900000000000000\",\n            \"created\": \"2022-01-24T13:16:54.000+00:00\",\n            \"updated\": \"2022-01-24T13:16:54.000+00:00\"\n        }\n    ],\n    \"created\": \"2022-01-24T13:18:46.000+00:00\",\n    \"updated\": \"2022-01-24T13:18:46.000+00:00\",\n    \"registered\": null\n}"},{"id":"a857b0cd-4e40-4a1f-b514-ea7714055929","name":"create Actility OTAA device","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Actility device\",\n    \"description\": null,\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"2900000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 43200,\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n      \"activationMode\": \"OTAA\",\n      \"carrier\": \"GENERIC_ACTILITY\",\n      \"deviceClass\": \"A\",\n      \"deviceEui\": \"afaf326435745321\",\n      \"loraVersion\": \"1.0.0\",\n      \"applicationEui\": \"afaf326435745321\",\n      \"applicationKey\": \"afaf326435745321afaf326435745321\",\n      \"actilityProperties\": {\n        \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n        \"deviceProfileId\": \"LORA/GenericA.1_ETSI_Rx2-SF12\",\n        \"motionIndicator\": \"NEAR_STATIC\"\n      }\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"afaf326435745321\",\n    \"name\": \"Actility device\",\n    \"description\": null,\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"GENERIC_ACTILITY\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"afaf326435745321\",\n        \"deviceAddress\": null,\n        \"applicationEui\": \"afaf326435745321\",\n        \"joinEui\": null,\n        \"applicationKey\": \"afaf326435745321afaf326435745321\",\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": {\n            \"actilityId\": \"39091\",\n            \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n            \"deviceProfileId\": \"LORA/GenericA.1_ETSI_Rx2-SF12\",\n            \"motionIndicator\": \"NEAR_STATIC\",\n            \"routingProfileId\": \"TWA_100012652.2434\"\n        },\n        \"ttnProperties\": null\n    },\n    \"onlineTimeout\": 43200,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2022-01-24T13:42:05.000+00:00\",\n    \"updated\": \"2022-01-24T13:42:05.000+00:00\",\n    \"registered\": true\n}"},{"id":"580a7c1a-0358-4896-bd31-f2ae9e081d46","name":"create ttn ABP device","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"TTN device\",\n    \"description\": null,\n    \"type\": \"DEVICE\",\n    \"workspaceId\": \"2900000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 604800,\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n      \"activationMode\": \"ABP\",\n      \"carrier\": \"TTN\",\n      \"deviceClass\": \"A\",\n      \"deviceEui\": \"afafaf1352437565\",\n      \"loraVersion\": \"1.0.0\",\n      \"deviceAddress\": \"afafaf13\",\n      \"applicationSessionKey\": \"afafaf1352437565afafaf1352437565\",\n      \"networkSessionKey\": \"afafaf1352437565afafaf1352437565\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"afafaf1352437565\",\n    \"name\": \"TTN device\",\n    \"description\": null,\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"TTN\",\n        \"activationMode\": \"ABP\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"afafaf1352437565\",\n        \"deviceAddress\": \"afafaf13\",\n        \"applicationEui\": null,\n        \"joinEui\": null,\n        \"applicationKey\": null,\n        \"applicationSessionKey\": \"afafaf1352437565afafaf1352437565\",\n        \"networkSessionKey\": \"afafaf1352437565afafaf1352437565\",\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": null,\n        \"ttnProperties\": {\n            \"deviceId\": \"63154a48-28d9-4ca0-9c30-ba07d2af945b\",\n            \"phyLoraVersion\": \"PHY_V1_0\",\n            \"networkServer\": \"sandbox.eu1.cloud.thethings.industries\",\n            \"networkServerLabel\": null,\n            \"applicationServer\": \"sandbox.eu1.cloud.thethings.industries\",\n            \"applicationServerId\": null,\n            \"applicationServerLabel\": null,\n            \"joinServer\": null,\n            \"networkId\": null,\n            \"frequencyPlan\": \"EU_863_870_TTN\",\n            \"multicast\": false,\n            \"support32BitFrameCount\": true,\n            \"disablePayloadEncryption\": false\n        }\n    },\n    \"onlineTimeout\": 604800,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2022-01-24T13:51:13.000+00:00\",\n    \"updated\": \"2022-01-24T13:51:13.000+00:00\",\n    \"registered\": true\n}"}],"_postman_id":"0358f445-b63d-47bb-afe7-b826811e03a8"},{"name":"bulk create devices","id":"7657ee80-6aec-429d-8e81-70172e886e1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"dataFlowId\": \"<string>\",\n    \"integrationId\": \"<string>\",\n    \"devices\": [\n        {\n            \"name\": \"<string>\",\n            \"deviceId\": \"<string>\",\n            \"description\": \"<string>\",\n            \"properties\": {},\n            \"connectivity\": \"<string>\",\n            \"onlineTimeout\": \"<integer>\",\n            \"dataFlowId\": \"<string>\",\n            \"integrationId\": \"<string>\",\n            \"loraProperties\": {\n                \"activationMode\": \"<string>\",\n                \"carrier\": \"<string>\",\n                \"deviceClass\": \"<string>\",\n                \"deviceEui\": \"<string>\",\n                \"loraVersion\": \"<string>\",\n                \"deviceAddress\": \"<string>\",\n                \"applicationEui\": \"<string>\",\n                \"applicationKey\": \"<string>\",\n                \"applicationSessionKey\": \"<string>\",\n                \"networkSessionKey\": \"<string>\",\n                \"joinEui\": \"<string>\",\n                \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n                \"networkSessionEncryptionKey\": \"<string>\",\n                \"servingNetworkSessionIntegrityKey\": \"<string>\",\n                \"actilityProperties\": {\n                    \"connectivityPlanId\": \"<string>\",\n                    \"deviceProfileId\": \"<string>\",\n                    \"motionIndicator\": \"<string>\",\n                    \"routingProfileId\": \"<string>\",\n                    \"activated\": \"<boolean>\"\n                }\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-create","description":"<p>Create multiple Devices at once.</p>\n<p>The objects in the <code>devices</code> array need to follow the same structure as when creating a single device.</p>\n<p>This is an asynchronouse api call, therefore the response is an operation. Use the get operation by id endpoint to track the progress.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"6e41b554-2d24-42b6-a569-7ba7ad0d191e","name":"bulk create http devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"devices\": [\n        {\n            \"name\": \"Device1\",\n            \"deviceId\": \"1236456785685046\",\n            \"description\": \"description\",\n            \"onlineTimeout\": 86400,\n            \"connectivity\": \"HTTP\"\n        },\n        {\n            \"name\": \"Device2\",\n            \"deviceId\": \"125326485978979\",\n            \"description\": \"description\",\n            \"onlineTimeout\": 86400,\n            \"connectivity\": \"HTTP\"\n        },\n        {\n            \"name\": \"Device3\",\n            \"deviceId\": \"3526485765643202\",\n            \"description\": \"description\",\n            \"onlineTimeout\": 86400,\n            \"connectivity\": \"HTTP\"\n        }\n    ],\n    \"dataFlowId\": \"0800000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [],\n    \"started\": \"2022-01-28T07:13:25.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"7657ee80-6aec-429d-8e81-70172e886e1e"},{"name":"update device","id":"33479da7-f2af-4ca0-8d53-413ca7c99e03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"deviceId\": \"<string>\",\n    \"description\": \"<string>\",\n    \"properties\": {},\n    \"connectivity\": \"<string>\",\n    \"onlineTimeout\": \"<integer>\",\n    \"dataFlowId\": \"<string>\",\n    \"integrationId\": \"<string>\",\n    \"tags\": [\n        {\n            \"id\": \"<string>\"\n        }\n    ],\n    \"customFields\": [\n        {\n            \"fieldMetaId\": \"<string>\",\n            \"fieldMetaName\": \"<string>\",\n            \"string\": \"<string>\",\n            \"number\": \"<integer>\",\n            \"date\": \"<date>\",\n            \"json\": {},\n            \"gpsCoordinates\": {\n                \"latitude\": \"<double>\",\n                \"longitude\": \"<double>\"\n            }\n        }\n    ],\n    \"loraProperties\": {\n        \"activationMode\": \"<string>\",\n        \"carrier\": \"<string>\",\n        \"deviceClass\": \"<string>\",\n        \"deviceEui\": \"<string>\",\n        \"loraVersion\": \"<string>\",\n        \"deviceAddress\": \"<string>\",\n        \"applicationEui\": \"<string>\",\n        \"applicationKey\": \"<string>\",\n        \"applicationSessionKey\": \"<string>\",\n        \"networkSessionKey\": \"<string>\",\n        \"joinEui\": \"<string>\",\n        \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n        \"networkSessionEncryptionKey\": \"<string>\",\n        \"servingNetworkSessionIntegrityKey\": \"<string>\",\n        \"actilityProperties\": {\n            \"connectivityPlanId\": \"<string>\",\n            \"deviceProfileId\": \"<string>\",\n            \"motionIndicator\": \"<string>\",\n            \"routingProfileId\": \"<string>\",\n            \"actilityId\": \"<string>\"\n        },\n        \"ttnProperties\": {\n            \"deviceId\": \"<String>\",\n            \"phyLoraVersion\": \"<String>\",\n            \"networkServer\": \"<String>\",\n            \"networkServerLabel\": \"<String>\",\n            \"applicationServer\": \"<String>\",\n            \"applicationServerId\": \"<String>\",\n            \"applicationServerLabel\": \"<String>\",\n            \"joinServer\": \"<String>\",\n            \"networkId\": \"<String>\",\n            \"frequencyPlan\": \"<String>\",\n            \"multicast\": \"<boolean>\",\n            \"support32BitFrameCount\": \"<boolean>\",\n            \"disablePayloadEncryption\": \"<boolean>\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}","description":"<p>Update device details</p>\n<p>For registered devices only <code>name</code>, <code>description</code>, <code>properties</code>, <code>tags</code>, <code>customFields</code> and <code>dataFlowId</code> can be updated.</p>\n<p>Note that <code>dataFlowId</code> can only be updated to another dataFlow which uses the same connectivity.</p>\n<p>If the device is synced from an <code>integration</code> only a dataFlow which uses the same integration can be assigned.</p>\n<p>The <code>fieldMetaName</code> can be used instad of <code>fieldMetaId</code> when adding a custom field</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"7572cf4d-e985-46d1-b26a-892dee67f0d4","name":"update http device with custom fields and tags","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"0200000000000000\",\n    \"name\": \"HTTP Device\",\n    \"description\": \"updated\",\n    \"type\": \"DEVICE\",\n    \"customFields\": [\n        {\n            \"fieldMetaId\": \"6900000000000000\",\n            \"STRING\": \"string\"\n        },\n        {\n            \"fieldMetaId\": \"6900000000000001\",\n            \"DATE\": \"2022-01-24T02:17:45.000Z\"\n        },\n        {\n            \"fieldMetaId\": \"6900000000000002\",\n            \"GPS_COORDINATES\": {\n                \"latitude\": 13.44,\n                \"longitude\": 16.23\n            }\n        },\n        {\n            \"fieldMetaId\": \"6900000000000003\",\n            \"NUMBER\": 12.22\n        },\n        {\n            \"fieldMetaName\": \"{{customFieldName}}\",\n            \"JSON\": {\n                \"key\": \"value\"\n            }\n        }\n    ],\n    \"tags\": [\n        {\n            \"id\": \"7100000000000000\"\n        },\n        {\n            \"id\": \"7100000000000001\"\n        }\n    ],\n    \"deviceId\": \"5243C7DF17ECD3BA\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 43200,\n    \"connectivity\": \"HTTP\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"5243C7DF17ECD3BA\",\n    \"name\": \"HTTP Device\",\n    \"description\": \"updated\",\n    \"properties\": {},\n    \"connectivity\": \"HTTP\",\n    \"loraProperties\": null,\n    \"onlineTimeout\": 43200,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": null,\n    \"customFields\": [\n      {\n        \"meta\": {\n          \"id\": \"6900000000000000\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"string\",\n          \"type\": \"STRING\",\n          \"created\": \"2022-01-24T13:18:11.000+00:00\",\n          \"updated\": \"2022-01-24T13:18:11.000+00:00\"\n        },\n        \"created\": \"2022-01-24T13:33:47.000+00:00\",\n        \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n        \"STRING\": \"string\"\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000001\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"date\",\n          \"type\": \"DATE\",\n          \"created\": \"2021-08-10T10:17:02.000+00:00\",\n          \"updated\": \"2021-08-10T10:17:02.000+00:00\"\n        },\n        \"created\": \"2022-01-24T13:33:47.000+00:00\",\n        \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n        \"DATE\": \"2022-01-24T02:17:45.000+00:00\"\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000002\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"gps\",\n          \"type\": \"GPS_COORDINATES\",\n          \"created\": \"2021-09-09T09:50:23.000+00:00\",\n          \"updated\": \"2021-09-09T09:50:23.000+00:00\"\n        },\n        \"created\": \"2022-01-24T13:33:47.000+00:00\",\n        \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n        \"GPS_COORDINATES\": {\n          \"latitude\": 13.44,\n          \"longitude\": 16.23\n        }\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000003\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"number\",\n          \"type\": \"NUMBER\",\n          \"created\": \"2022-01-24T13:17:33.000+00:00\",\n          \"updated\": \"2022-01-24T13:17:33.000+00:00\"\n        },\n        \"created\": \"2022-01-24T13:33:47.000+00:00\",\n        \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n        \"NUMBER\": 12.22\n      },\n      {\n        \"meta\": {\n          \"id\": \"6900000000000004\",\n          \"workspaceId\": \"2900000000000000\",\n          \"name\": \"json\",\n          \"type\": \"JSON\",\n          \"created\": \"2022-01-24T13:18:25.000+00:00\",\n          \"updated\": \"2022-01-24T13:18:25.000+00:00\"\n        },\n        \"created\": \"2022-01-24T13:33:47.000+00:00\",\n        \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n        \"JSON\": {\n          \"key\": \"value\"\n        }\n      }\n    ],\n    \"tags\": [\n      {\n        \"id\": \"7100000000000000\",\n        \"name\": \"tag 1\",\n        \"description\": null,\n        \"workspaceId\": \"2900000000000000\",\n        \"created\": \"2022-01-24T13:16:50.000+00:00\",\n        \"updated\": \"2022-01-24T13:16:50.000+00:00\"\n      },\n      {\n        \"id\": \"7100000000000001\",\n        \"name\": \"tag 2\",\n        \"description\": null,\n        \"workspaceId\": \"2900000000000000\",\n        \"created\": \"2022-01-24T13:16:54.000+00:00\",\n        \"updated\": \"2022-01-24T13:16:54.000+00:00\"\n      }\n    ],\n    \"created\": \"2022-01-24T13:18:46.000+00:00\",\n    \"updated\": \"2022-01-24T13:33:47.000+00:00\",\n    \"registered\": null\n  }"},{"id":"d660d7df-e6e9-4ffe-b2dd-25a7674c4eb3","name":"update actility OTAA device","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"0200000000000000\",\n    \"name\": \"Actility device\",\n    \"description\": \"updated device\",\n    \"type\": \"DEVICE\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 43200,\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n      \"activationMode\": \"OTAA\",\n      \"carrier\": \"GENERIC_ACTILITY\",\n      \"deviceClass\": \"A\",\n      \"deviceEui\": \"afaf326435745321\",\n      \"loraVersion\": \"1.0.0\",\n      \"applicationEui\": \"afaf326435745321\",\n      \"applicationKey\": \"afaf326435745321afaf326435745321\",\n      \"actilityProperties\": {\n        \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n        \"deviceProfileId\": \"LORA/GenericA.1_ETSI_Rx2-SF12\",\n        \"motionIndicator\": \"NEAR_STATIC\"\n      }\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"afaf326435745321\",\n    \"name\": \"Actility device\",\n    \"description\": \"updated device\",\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"GENERIC_ACTILITY\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"afaf326435745321\",\n        \"deviceAddress\": null,\n        \"applicationEui\": \"afaf326435745321\",\n        \"joinEui\": null,\n        \"applicationKey\": \"afaf326435745321afaf326435745321\",\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": {\n            \"actilityId\": \"39091\",\n            \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n            \"deviceProfileId\": \"LORA/GenericA.1_ETSI_Rx2-SF12\",\n            \"motionIndicator\": \"NEAR_STATIC\",\n            \"routingProfileId\": \"TWA_100012652.2434\"\n        },\n        \"ttnProperties\": null\n    },\n    \"onlineTimeout\": 43200,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2022-01-24T13:42:05.000+00:00\",\n    \"updated\": \"2022-01-24T13:42:22.000+00:00\",\n    \"registered\": true\n}"},{"id":"ceb92328-241e-43cd-a425-acb996a50ee4","name":"update ttn ABP device","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"TTN device\",\n    \"description\": \"updated device\",\n    \"type\": \"DEVICE\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"dataFlowId\": \"0800000000000000\",\n    \"onlineTimeout\": 604800,\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n      \"activationMode\": \"ABP\",\n      \"carrier\": \"TTN\",\n      \"deviceClass\": \"A\",\n      \"deviceEui\": \"afafaf1352437565\",\n      \"loraVersion\": \"1.0.0\",\n      \"deviceAddress\": \"afafaf13\",\n      \"applicationSessionKey\": \"afafaf1352437565afafaf1352437565\",\n      \"networkSessionKey\": \"afafaf1352437565afafaf1352437565\"\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"afafaf1352437565\",\n    \"name\": \"TTN device\",\n    \"description\": \"updated device\",\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"TTN\",\n        \"activationMode\": \"ABP\",\n        \"loraVersion\": \"1.0.0\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"afafaf1352437565\",\n        \"deviceAddress\": \"afafaf13\",\n        \"applicationEui\": null,\n        \"joinEui\": null,\n        \"applicationKey\": null,\n        \"applicationSessionKey\": \"afafaf1352437565afafaf1352437565\",\n        \"networkSessionKey\": \"afafaf1352437565afafaf1352437565\",\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": null,\n        \"ttnProperties\": {\n            \"deviceId\": \"63154a48-28d9-4ca0-9c30-ba07d2af945b\",\n            \"phyLoraVersion\": \"PHY_V1_0\",\n            \"networkServer\": \"sandbox.eu1.cloud.thethings.industries\",\n            \"networkServerLabel\": null,\n            \"applicationServer\": \"sandbox.eu1.cloud.thethings.industries\",\n            \"applicationServerId\": null,\n            \"applicationServerLabel\": null,\n            \"joinServer\": null,\n            \"networkId\": null,\n            \"frequencyPlan\": \"EU_863_870_TTN\",\n            \"multicast\": false,\n            \"support32BitFrameCount\": true,\n            \"disablePayloadEncryption\": false\n        }\n    },\n    \"onlineTimeout\": 604800,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": \"0800000000000000\",\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2022-01-24T13:51:13.000+00:00\",\n    \"updated\": \"2022-01-24T13:51:26.000+00:00\",\n    \"registered\": true\n}"}],"_postman_id":"33479da7-f2af-4ca0-8d53-413ca7c99e03"},{"name":"delete device","id":"a816b153-0642-47f2-899e-cfaf6c1514dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}","description":"<p>Deletes a device.</p>\n<p>Note that if the device is registered on a 3rd party platform (e.g. Swisscom or Loriot) it will be deleted there as well.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a816b153-0642-47f2-899e-cfaf6c1514dc"},{"name":"bulk delete devices","id":"d1c1ad77-29b6-4667-b985-15a722af0781","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"filter\": {\n        \"selectAll\": \"<boolean>\",\n        \"search\": \"<string>\",\n        \"expression\": {\n            \"operator\": \"<string>\",\n            \"expressions\": [\n                {\n                    \"field\": \"<enum>\",\n                    \"predicate\": \"<enum>\",\n                    \"values\": []\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-delete","description":"<h3 id=\"filter\">Filter</h3>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used.</p>\n<h3 id=\"deleting-all-devices\">Deleting all devices</h3>\n<p>If all devices in a workspace should be deleted selectAll has to be set to true.</p>\n<h3 id=\"deleting-using-the-filters\">Deleting using the filters</h3>\n<p>The <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> can be used to specify which devices should be deleted.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e16852fb-9025-4b77-ac9c-b7f37df06f60","name":"bulk delete all devices","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"selectAll\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DELETE\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"5b6f8cab-b10d-4036-a422-751c85572f07","name":"bulk delete device in list of ids","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"field\": \"id\",\n            \"predicate\": \"IN\",\n            \"values\": [\n                \"0200000000000000\",\n                \"0200000000000001\",\n                \"0200000000000002\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DELETE\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"31ecc000-10f2-49ca-b182-582e7e468ee4","name":"bulk delete devices using full filter","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"operator\": \"AND\",\n            \"expressions\": [\n                {\n                    \"field\": \"id\",\n                    \"predicate\": \"IN\",\n                    \"values\": [\n                        \"0200000000000000\",\n                        \"0200000000000001\",\n                        \"0200000000000002\"\n                    ]\n                },\n                {\n                    \"operator\": \"OR\",\n                    \"expressions\": [\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"STARTS_WITH\",\n                            \"values\": [\n                                \"someething\"\n                            ]\n                        },\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"ENDS_WITH\",\n                            \"values\": [\n                                \"else\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DELETE\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"d1c1ad77-29b6-4667-b985-15a722af0781"},{"name":"deregister device","id":"6b10f006-2aba-48d0-8994-db4d95d2b972","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/deregister","description":"<p>Only supported for registered LoRa devices.</p>\n<p>Deregistering a device will delete the device from the LoRaWAN network server.</p>\n<p>This allows changing the Data Flow as well as all other LoRa values.</p>\n<p>Be aware that the device will need to rejoin after re-registration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","deregister"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e1a66cb4-c81c-4f6c-961c-76cc3c2f668c","name":"deregister device","originalRequest":{"method":"POST","header":[{"key":"sec-ch-ua","value":"\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"97\", \"Chromium\";v=\"97\""},{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"{{apiKeyHeaderName}}","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/deregister"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.3"},{"key":"Date","value":"Mon, 24 Jan 2022 11:55:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1053"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"AFAFAFAFAFAFAFAF\",\n    \"name\": \"Elsys Sound\",\n    \"description\": null,\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"GENERIC_ACTILITY\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.3\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"AFAFAFAFAFAFAFAF\",\n        \"deviceAddress\": \"04D00F33\",\n        \"applicationEui\": \"0000000000000000\",\n        \"joinEui\": null,\n        \"applicationKey\": null,\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": {\n            \"actilityId\": \"39082\",\n            \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n            \"deviceProfileId\": \"LORA/GenericA.1.0.3a_ETSI\",\n            \"motionIndicator\": \"RANDOM\",\n            \"routingProfileId\": \"TWA_100012652.2434\"\n        },\n        \"ttnProperties\": null\n    },\n    \"onlineTimeout\": 86400,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": null,\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2021-11-04T12:59:44.000+00:00\",\n    \"updated\": \"2022-01-24T11:54:26.000+00:00\",\n    \"registered\": false\n}"}],"_postman_id":"6b10f006-2aba-48d0-8994-db4d95d2b972"},{"name":"register device","id":"e1595d4a-fdb7-4717-a319-77a56e871772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/register","description":"<p>Only supported for registered LoRa devices.</p>\n<p>Registering a device will create it on the selected LoRaWAN network server with its current values.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","register"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"fdcb9059-1178-465c-8173-4ca9f2e206e3","name":"register device","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"{{apiKeyHeaderName}}","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.3"},{"key":"Date","value":"Mon, 24 Jan 2022 12:02:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1052"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0200000000000000\",\n    \"deviceId\": \"AFAFAFAFAFAFAFAF\",\n    \"name\": \"Elsys Sound\",\n    \"description\": null,\n    \"properties\": {},\n    \"connectivity\": \"LORA\",\n    \"loraProperties\": {\n        \"carrier\": \"GENERIC_ACTILITY\",\n        \"activationMode\": \"OTAA\",\n        \"loraVersion\": \"1.0.3\",\n        \"deviceClass\": \"A\",\n        \"deviceEui\": \"AFAFAFAFAFAFAFAF\",\n        \"deviceAddress\": \"04D00F33\",\n        \"applicationEui\": \"0000000000000000\",\n        \"joinEui\": null,\n        \"applicationKey\": null,\n        \"applicationSessionKey\": null,\n        \"networkSessionKey\": null,\n        \"forwardingNetworkSessionIntegrityKey\": null,\n        \"networkSessionEncryptionKey\": null,\n        \"servingNetworkSessionIntegrityKey\": null,\n        \"actilityProperties\": {\n            \"actilityId\": \"39085\",\n            \"connectivityPlanId\": \"actility-tpe-ope-cs/tpe-cp\",\n            \"deviceProfileId\": \"LORA/GenericA.1.0.3a_ETSI\",\n            \"motionIndicator\": \"RANDOM\",\n            \"routingProfileId\": \"TWA_100012652.2434\"\n        },\n        \"ttnProperties\": null\n    },\n    \"onlineTimeout\": 86400,\n    \"workspaceId\": \"2900000000000000\",\n    \"organizationId\": \"3300000000000000\",\n    \"dataFlowId\": null,\n    \"integrationId\": \"0600000000000000\",\n    \"customFields\": [],\n    \"tags\": [],\n    \"created\": \"2021-11-04T12:59:44.000+00:00\",\n    \"updated\": \"2022-01-24T11:55:09.000+00:00\",\n    \"registered\": true\n}"}],"_postman_id":"e1595d4a-fdb7-4717-a319-77a56e871772"},{"name":"bulk register device","id":"51bdda94-a67d-4627-8f22-57bf23655f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"filter\": {\n        \"selectAll\": \"<boolean>\",\n        \"search\": \"<string>\",\n        \"expression\": {\n            \"operator\": \"<string>\",\n            \"expressions\": [\n                {\n                    \"field\": \"<enum>\",\n                    \"predicate\": \"<enum>\",\n                    \"values\": []\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register","description":"<h3 id=\"filter\">Filter</h3>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used.</p>\n<h3 id=\"registering-all-devices\">Registering all devices</h3>\n<p>If all devices in a workspace should be registered selectAll has to be set to true.</p>\n<h3 id=\"registering-using-the-filters\">Registering using the filters</h3>\n<p>The <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> can be used to specify which devices should be registered.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-register"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d581c783-b7cd-496f-a13a-49d92646e1e7","name":"bulk register all devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"selectAll\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_REGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"6e62cdc0-8c53-4245-866e-e2ea557508f3","name":"bulk register device in list of ids","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"field\": \"id\",\n            \"predicate\": \"IN\",\n            \"values\": [\n                \"0200000000000000\",\n                \"0200000000000001\",\n                \"0200000000000002\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_REGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"036ca000-7863-4cc6-bfe8-d0e168127f6b","name":"bulk register devices using full filter","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"operator\": \"AND\",\n            \"expressions\": [\n                {\n                    \"field\": \"id\",\n                    \"predicate\": \"IN\",\n                    \"values\": [\n                        \"0200000000000000\",\n                        \"0200000000000001\",\n                        \"0200000000000002\"\n                    ]\n                },\n                {\n                    \"operator\": \"OR\",\n                    \"expressions\": [\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"STARTS_WITH\",\n                            \"values\": [\n                                \"someething\"\n                            ]\n                        },\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"ENDS_WITH\",\n                            \"values\": [\n                                \"else\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_REGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"51bdda94-a67d-4627-8f22-57bf23655f27"},{"name":"bulk register device (deprecated)","id":"3eecc62e-35e6-4669-81dd-001108cab6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"deviceIds\":[\"<string>\", \"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-register"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"db00ee7f-43af-4a37-afd1-f05a7eb35db3","name":"bulk register devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"deviceIds\":[\"<string>\", \"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_REGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"3eecc62e-35e6-4669-81dd-001108cab6aa"},{"name":"bulk deregister devices","id":"f2b224d9-62ad-4ac0-b161-3b1f040b080f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"filter\": {\n        \"selectAll\": \"<boolean>\",\n        \"search\": \"<string>\",\n        \"expression\": {\n            \"operator\": \"<string>\",\n            \"expressions\": [\n                {\n                    \"field\": \"<enum>\",\n                    \"predicate\": \"<enum>\",\n                    \"values\": []\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister","description":"<h3 id=\"filter\">Filter</h3>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used.</p>\n<h3 id=\"deregistering-all-devices\">Deregistering all devices</h3>\n<p>If all devices in a workspace should be deregistered selectAll has to be set to true.</p>\n<h3 id=\"deregistering-using-the-filters\">Deregistering using the filters</h3>\n<p>The <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> can be used to specify which devices should be deregistered.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-deregister"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4004a663-3f34-4966-9e1e-8b1655a31b2f","name":"bulk deregister devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"selectAll\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DEREGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"c450a138-c429-463f-9bf6-1351821a123e","name":"bulk deregister all device in list of ids","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"field\": \"id\",\n            \"predicate\": \"IN\",\n            \"values\": [\n                \"0200000000000000\",\n                \"0200000000000001\",\n                \"0200000000000002\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DEREGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"75ad0536-deb9-43c1-bb7b-aae5e0399386","name":"bulk deregister all device using full filter","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"operator\": \"AND\",\n            \"expressions\": [\n                {\n                    \"field\": \"id\",\n                    \"predicate\": \"IN\",\n                    \"values\": [\n                        \"0200000000000000\",\n                        \"0200000000000001\",\n                        \"0200000000000002\"\n                    ]\n                },\n                {\n                    \"operator\": \"OR\",\n                    \"expressions\": [\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"STARTS_WITH\",\n                            \"values\": [\n                                \"someething\"\n                            ]\n                        },\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"ENDS_WITH\",\n                            \"values\": [\n                                \"else\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DEREGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"f2b224d9-62ad-4ac0-b161-3b1f040b080f"},{"name":"bulk deregister device (deprecated)","id":"2cd36598-d7a8-44ce-b7f3-93b8ff00d3f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"deviceIds\":[\"<string>\", \"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-deregister"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"053debe4-2e01-4358-af55-2d16ffd15b8b","name":"bulk deregister devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"deviceIds\":[\"<string>\", \"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-deregister"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"operationId\",\n    \"workspaceId\": \"workspaceId\",\n    \"creator\": \"userId\",\n    \"type\": \"BULK_DEREGISTER\",\n    \"actions\": [],\n    \"started\": \"2022-09-21T11:33:32.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 2,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"2cd36598-d7a8-44ce-b7f3-93b8ff00d3f1"},{"name":"bulk patch devices","id":"786616e7-14cd-467a-b93e-2abee6f99105","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"values\": {\n        \"name\": \"<string>\",\n        \"description\": \"<string>\",\n        \"properties\": {},\n        \"connectivity\": \"<string>\",\n        \"onlineTimeout\": \"<integer>\",\n        \"timezoneOffset\": \"<sting>\",\n        \"bulkOperationId\": \"<sting>\",\n        \"dataFlowId\": \"<string>\",\n        \"integrationId\": \"<string>\",\n        \"workspaceId\": \"<string>\",\n        \"tags\": [\n            {\n                \"id\": \"<string>\"\n            }\n        ],\n        \"customFields\": [\n            {\n                \"fieldMetaId\": \"<string>\",\n                \"fieldMetaName\": \"<string>\",\n                \"string\": \"<string>\",\n                \"number\": \"<integer>\",\n                \"date\": \"<date>\",\n                \"json\": {},\n                \"gpsCoordinates\": {\n                    \"latitude\": \"<double>\",\n                    \"longitude\": \"<double>\"\n                }\n            }\n        ],\n        \"loraProperties\": {\n            \"carrier\": \"<string>\",\n            \"activationMode\": \"<string>\",\n            \"loraVersion\": \"<string>\",\n            \"deviceClass\": \"<string>\",\n            \"deviceAddress\": \"<string>\",\n            \"applicationEui\": \"<string>\",\n            \"applicationKey\": \"<string>\",\n            \"applicationSessionKey\": \"<string>\",\n            \"networkSessionKey\": \"<string>\",\n            \"joinEui\": \"<string>\",\n            \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n            \"networkSessionEncryptionKey\": \"<string>\",\n            \"servingNetworkSessionIntegrityKey\": \"<string>\",\n            \"actilityProperties\": {\n                \"activated\": \"<boolean>\",\n                \"connectivityPlanId\": \"<string>\",\n                \"deviceProfileId\": \"<string>\",\n                \"motionIndicator\": \"<string>\",\n                \"routingProfileId\": \"<string>\"\n            }\n        }\n    },\n    \"filter\": {\n        \"selectAll\": \"<boolean>\",\n        \"search\": \"<string>\",\n        \"expression\": {\n            \"operator\": \"<string>\",\n            \"expressions\": [\n                {\n                    \"field\": \"<enum>\",\n                    \"predicate\": \"<enum>\",\n                    \"values\": []\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch","description":"<h3 id=\"values\">Values</h3>\n<p>Generally only the fields that should be updated should be included in the values. All other fields are kept as-is for the devices matching the filter. The \"get common fields\" endpoint can be used to get all updatable fields for a specific filter. Most fields that are supported by the device update can also be changed here. Exceptions are identifiers of the device like deviceId or loraProperties.deviceEui. The state of the bulk patch can be tracked using the id in the response and the <a href=\"https://docs.api.akenza.io/#311ec6fa-d035-44fd-8bbd-d67e18fc5c08\">operations request</a>.</p>\n<h3 id=\"custom-fields-and-tags\">Custom fields and Tags</h3>\n<p>Tags and customFields will add the specified tags/custom fields and keep the existing ones. The endpoint does not allow the removal of tags or custom fields.</p>\n<h3 id=\"filter\">Filter</h3>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used.</p>\n<h3 id=\"patching-all-devices\">Patching all devices</h3>\n<p>If all devices in a workspace should be updated selectAll has to be set to true.</p>\n<h3 id=\"patching-using-the-filters\">Patching using the filters</h3>\n<p>The <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> can be used to specify which devices should be updated.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-patch"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1de079da-13a5-4089-a20a-386a191de34b","name":"add tags using assetIds filter","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"values\": {\n        \"tags\": [\n            {\n                \"id\": \"7100000000000001\"\n            },\n            {\n                \"id\": \"7100000000000002\"\n            },\n            {\n                \"id\": \"7100000000000003\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"selectAll\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [],\n    \"started\": \"2022-01-28T07:13:25.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"0b471b78-30fb-46d0-b496-b7a982d4771a","name":"update devices in list of ids","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"values\": {\n        \"tags\": [\n            {\n                \"id\": \"7100000000000001\"\n            },\n            {\n                \"id\": \"7100000000000002\"\n            },\n            {\n                \"id\": \"7100000000000003\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"field\": \"id\",\n            \"predicate\": \"IN\",\n            \"values\": [\n                \"0200000000000000\",\n                \"0200000000000001\",\n                \"0200000000000002\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [],\n    \"started\": \"2022-01-28T07:13:25.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"},{"id":"1423152f-57a1-4826-a1d6-61af509a26f7","name":"update devices using full filter","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"values\": {\n        \"tags\": [\n            {\n                \"id\": \"7100000000000001\"\n            },\n            {\n                \"id\": \"7100000000000002\"\n            },\n            {\n                \"id\": \"7100000000000003\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"search\": \"abc\",\n        \"expression\": {\n            \"operator\": \"AND\",\n            \"expressions\": [\n                {\n                    \"field\": \"id\",\n                    \"predicate\": \"IN\",\n                    \"values\": [\n                        \"0200000000000000\",\n                        \"0200000000000001\",\n                        \"0200000000000002\"\n                    ]\n                },\n                {\n                    \"operator\": \"OR\",\n                    \"expressions\": [\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"STARTS_WITH\",\n                            \"values\": [\n                                \"someething\"\n                            ]\n                        },\n                        {\n                            \"field\": \"name\",\n                            \"predicate\": \"ENDS_WITH\",\n                            \"values\": [\n                                \"else\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [],\n    \"started\": \"2022-01-28T07:13:25.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"786616e7-14cd-467a-b93e-2abee6f99105"},{"name":"bulk patch devices (deprecated)","id":"b1779a17-4e84-452b-ad0d-e4408702f10f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"values\": {\n        \"name\": \"<string>\",\n        \"description\": \"<string>\",\n        \"properties\": {},\n        \"connectivity\": \"<string>\",\n        \"onlineTimeout\": \"<integer>\",\n        \"timezoneOffset\": \"<sting>\",\n        \"bulkOperationId\": \"<sting>\",\n        \"dataFlowId\": \"<string>\",\n        \"integrationId\": \"<string>\",\n        \"workspaceId\": \"<string>\",\n        \"tags\": [\n            {\n                \"id\": \"<string>\"\n            }\n        ],\n        \"customFields\": [\n            {\n                \"fieldMetaId\": \"<string>\",\n                \"fieldMetaName\": \"<string>\",\n                \"string\": \"<string>\",\n                \"number\": \"<integer>\",\n                \"date\": \"<date>\",\n                \"json\": {},\n                \"gpsCoordinates\": {\n                    \"latitude\": \"<double>\",\n                    \"longitude\": \"<double>\"\n                }\n            }\n        ],\n        \"loraProperties\": {\n            \"carrier\": \"<string>\",\n            \"activationMode\": \"<string>\",\n            \"loraVersion\": \"<string>\",\n            \"deviceClass\": \"<string>\",\n            \"deviceAddress\": \"<string>\",\n            \"applicationEui\": \"<string>\",\n            \"applicationKey\": \"<string>\",\n            \"applicationSessionKey\": \"<string>\",\n            \"networkSessionKey\": \"<string>\",\n            \"joinEui\": \"<string>\",\n            \"forwardingNetworkSessionIntegrityKey\": \"<string>\",\n            \"networkSessionEncryptionKey\": \"<string>\",\n            \"servingNetworkSessionIntegrityKey\": \"<string>\",\n            \"actilityProperties\": {\n                \"activated\": \"<boolean>\",\n                \"connectivityPlanId\": \"<string>\",\n                \"deviceProfileId\": \"<string>\",\n                \"motionIndicator\": \"<string>\",\n                \"routingProfileId\": \"<string>\"\n            }\n        }\n    },\n    \"filter\": {\n        \"selectAll\": \"<boolean>\",\n        \"assetIds\": [\n            \"<string>\",\n            \"<string>\"\n        ],\n        \"integrationId\": \"<string>\",\n        \"online\": \"<boolean>\",\n        \"type\": \"DEVICE\",\n        \"dataFlowId\": \"<string>\",\n        \"provider\": \"<string>\",\n        \"state\": \"<string>\",\n        \"packageName\": \"<string>\",\n        \"tagCombination\": \"<string>\",\n        \"customFields\": {\n            \"ids\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"customFieldValue\": {\n            \"customFieldId\": \"<string>\",\n            \"customFieldName\": \"<string>\",\n            \"customFieldStringValue\": \"<string>\",\n            \"customFieldNumberValue\": \"<number>\",\n            \"customFieldDateValue\": \"<string>\",\n            \"customFieldGpsLatitudeValue\": \"<string>\",\n            \"customFieldGpsLongitudeValue\": \"<string>\",\n            \"customFieldJsonValue\": {}\n        },\n        \"tags\": {\n            \"ids\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"loraProperties\": {\n            \"deviceClass\": \"<string>\",\n            \"activationMode\": \"<string>\",\n            \"carrier\": \"<string>\",\n            \"actilityProperties\": {\n                \"deviceClass\": \"<string>\",\n                \"activationMode\": \"<string>\",\n                \"carrier\": \"<string>\",\n                \"actilityProperties\": \"<string>\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch","description":"<h3 id=\"values\">Values</h3>\n<p>Generally only the fields that should be updated should be included in the values. All other fields are kept as is for the devices matching the filter. The common fields endpoint can be used to get all updatable fields for a specific filter. Most fields that are supported by the device update can also be changed here. Exceptions are identifiers of the device like deviceId or loraProperties.deviceEui. The state of the bulk patch can be tracked using the id in the response and the <a href=\"https://docs.api.akenza.io/#311ec6fa-d035-44fd-8bbd-d67e18fc5c08\">operations request</a>.</p>\n<h3 id=\"custom-fields-and-tags\">Custom fields and Tags</h3>\n<p>Tags and customFields will add the specified tags/custom fields and keep the existing ones. The endpoint does not allow the removal of tags or custom fields.</p>\n<h3 id=\"filter\">Filter</h3>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used. If the filter also selects sim cards those are ignored.</p>\n<h3 id=\"patching-all-devices\">Patching all devices</h3>\n<p>If all devices in a workspace should be updated selectAll has to be set to true.</p>\n<h3 id=\"patching-using-a-list-of-device-ids\">Patching using a list of device ids</h3>\n<p>If assetIds is set only these devices will be updated</p>\n<h3 id=\"patching-using-a-combination-of-filters\">Patching using a combination of filters</h3>\n<p>All other filter fields can be used together to limit the devices that will be updated.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-patch"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"674a9670-6b49-4f1a-bd2f-cdfa1284c903","name":"add tags using assetIds filter","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"2900000000000000\",\n    \"values\": {\n        \"tags\": [\n            {\n                \"id\": \"7100000000000001\"\n            },\n            {\n                \"id\": \"7100000000000002\"\n            },\n            {\n                \"id\": \"7100000000000003\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"assetIds\": [\n            \"0200000000000000\",\n            \"0200000000000001\",\n            \"0200000000000002\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-patch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [],\n    \"started\": \"2022-01-28T07:13:25.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 0,\n    \"succeeded\": null\n}"}],"_postman_id":"b1779a17-4e84-452b-ad0d-e4408702f10f"},{"name":"get common fields","id":"d1ba37de-bb9c-4c55-8e9a-0ccd826b0ad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"selectAll\": \"<boolean>\",\n    \"search\": \"<string>\",\n    \"expression\": {\n        \"operator\": \"<string>\",\n        \"expressions\": [\n            {\n                \"field\": \"<enum>\",\n                \"predicate\": \"<enum>\",\n                \"values\": []\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/assets/common-field-set?workspaceId={{workspaceId}}","description":"<p>The common fields request returns all fields that are shared between a set of selected devices. Only those fields can reliably be updated. Updating other fields might lead to errors for specific devices.</p>\n<h1 id=\"filter\">Filter</h1>\n<p>The different filter approaches are mutually exclusive. Therefore, only one of the following options can be used. If the filter also selects sim cards those are ignored.</p>\n<h3 id=\"all-devices\">All devices</h3>\n<p>If fields for all devices in a workspace should be returned selectAll has to be set to true.</p>\n<h3 id=\"specific-devices-using-the-filters\">Specific devices using the filters</h3>\n<p>The <a href=\"https://docs.akenza.io/akenza.io/api-reference/api-documentation/filtering\">filters</a> can be used to specify which devices should be included.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets","common-field-set"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"e464641d-0a97-43f4-8175-b2f794afa6e7","name":"get common fields using tags ids filter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"search\": \"abc\",\n    \"expression\": {\n        \"field\": \"id\",\n        \"predicate\": \"IN\",\n        \"values\": [\n            \"0200000000000000\",\n            \"0200000000000001\",\n            \"0200000000000002\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/common-field-set?workspaceId=2900000000000000","host":["{{baseUrl}}"],"path":["v3","assets","common-field-set"],"query":[{"key":"workspaceId","value":"2900000000000000"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": true,\n    \"description\": true,\n    \"customFields\": {\n        \"enabled\": true,\n        \"values\": [\n            {\n                \"id\": \"6900000000000000\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"custom_field_options\",\n                \"type\": \"STRING\",\n                \"description\": null,\n                \"required\": false,\n                \"selectOptions\": [\n                    \"asd\",\n                    \"qwer\",\n                    \"yxc\"\n                ],\n                \"created\": \"2022-10-13T11:28:50.000+00:00\",\n                \"updated\": \"2022-10-13T11:28:50.000+00:00\"\n            },\n            {\n                \"id\": \"6900000000000000\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"gps_field\",\n                \"type\": \"GPS_COORDINATES\",\n                \"description\": null,\n                \"required\": false,\n                \"selectOptions\": [],\n                \"created\": \"2023-09-19T09:12:18.000+00:00\",\n                \"updated\": \"2023-09-19T09:12:18.000+00:00\"\n            }\n        ]\n    },\n    \"tags\": {\n        \"enabled\": true,\n        \"values\": [\n            {\n                \"id\": \"7100000000000000\",\n                \"name\": \"tag_1\",\n                \"description\": null,\n                \"workspaceId\": \"2900000000000000\",\n                \"color\": \"#595959\",\n                \"taggedDevices\": 0,\n                \"created\": \"2022-12-06T12:24:11.000+00:00\",\n                \"updated\": \"2022-12-06T12:24:11.000+00:00\"\n            },\n            {\n                \"id\": \"7100000000000000\",\n                \"name\": \"tag_2\",\n                \"description\": null,\n                \"workspaceId\": \"2900000000000000\",\n                \"color\": null,\n                \"taggedDevices\": 0,\n                \"created\": \"2021-10-07T09:30:14.000+00:00\",\n                \"updated\": \"2021-10-07T09:30:14.000+00:00\"\n            }\n        ]\n    },\n    \"deviceId\": false,\n    \"connectivity\": false,\n    \"properties\": true,\n    \"onlineTimeout\": true,\n    \"dataFlowId\": true,\n    \"integrationId\": false,\n    \"loraProperties\": {\n        \"carrier\": false,\n        \"activationMode\": {\n            \"enabled\": false,\n            \"values\": null\n        },\n        \"deviceClass\": {\n            \"enabled\": false,\n            \"values\": null\n        },\n        \"loraVersion\": false,\n        \"applicationEui\": false,\n        \"deviceEui\": false,\n        \"deviceAddress\": false,\n        \"applicationKey\": false,\n        \"applicationSessionKey\": false,\n        \"networkSessionKey\": false,\n        \"joinEui\": false,\n        \"forwardingNetworkSessionIntegrityKey\": false,\n        \"networkSessionEncryptionKey\": false,\n        \"servingNetworkSessionIntegrityKey\": false,\n        \"ttnProperties\": {\n            \"deviceId\": false,\n            \"phyLoraVersion\": false,\n            \"networkServer\": false,\n            \"networkServerLabel\": false,\n            \"applicationServer\": false,\n            \"applicationServerId\": false,\n            \"applicationServerLabel\": false,\n            \"joinServer\": false,\n            \"networkId\": false,\n            \"frequencyPlan\": false,\n            \"multicast\": false,\n            \"support32BitFrameCount\": false,\n            \"disablePayloadEncryption\": false\n        },\n        \"everynetProperties\": {\n            \"band\": true,\n            \"countersSize\": true,\n            \"adaptiveDataRate\": {\n                \"mode\": true,\n                \"txPower\": true,\n                \"datarate\": true\n            }\n        },\n        \"actilityProperties\": {\n            \"deviceProfileId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"connectivityPlanId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"routingProfileId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"motionIndicator\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"isGeoLocation\": false\n        },\n        \"frequencyPlan\": {\n            \"enabled\": false,\n            \"values\": null\n        }\n    },\n    \"packageName\": false,\n    \"state\": false\n}"}],"_postman_id":"d1ba37de-bb9c-4c55-8e9a-0ccd826b0ad0"},{"name":"get common fields (deprecated)","id":"ddb489be-4214-4e10-81ce-dece5304e686","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"selectAll\": \"<boolean>\",\n    \"assetIds\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"integrationId\": \"<string>\",\n    \"online\": \"<boolean>\",\n    \"type\": \"DEVICE\",\n    \"dataFlowId\": \"<string>\",\n    \"provider\": \"<string>\",\n    \"state\": \"<string>\",\n    \"packageName\": \"<string>\",\n    \"tagCombination\": \"<string>\",\n    \"customFields\": {\n        \"ids\": [\n            \"<string>\",\n            \"<string>\"\n        ]\n    },\n    \"customFieldValue\": {\n        \"customFieldId\": \"<string>\",\n        \"customFieldName\": \"<string>\",\n        \"customFieldStringValue\": \"<string>\",\n        \"customFieldNumberValue\": \"<number>\",\n        \"customFieldDateValue\": \"<string>\",\n        \"customFieldGpsLatitudeValue\": \"<string>\",\n        \"customFieldGpsLongitudeValue\": \"<string>\",\n        \"customFieldJsonValue\": {}\n    },\n    \"tags\": {\n        \"ids\": [\n            \"<string>\",\n            \"<string>\"\n        ]\n    },\n    \"loraProperties\": {\n        \"deviceClass\": \"<string>\",\n        \"activationMode\": \"<string>\",\n        \"carrier\": \"<string>\",\n        \"actilityProperties\": {\n            \"deviceClass\": \"<string>\",\n            \"activationMode\": \"<string>\",\n            \"carrier\": \"<string>\",\n            \"actilityProperties\": \"<string>\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/assets/common-field-set?workspaceId={{workspaceId}}","description":"<p>The different filter approaches are mutually exclusive. so only use one of the following options.</p>\n<p>If the filter also selects sim cards those are ignored.</p>\n<h3 id=\"all-devices\">All devices</h3>\n<p>If the fields for all devices in a workspace should be included selectAll has to be set to true.</p>\n<h3 id=\"using-a-list-of-device-ids\">Using a list of device ids</h3>\n<p>If assetIds is set only these devices will be included</p>\n<h3 id=\"using-a-combination-of-filters\">Using a combination of filters</h3>\n<p>All other filter fields can be used together to limit the devices that will be included.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","assets","common-field-set"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"ed0eba79-2d90-4658-852d-e1fce93e0a84","name":"get common fields using tags ids filter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"assetIds\": [\n        \"0200000000000000\",\n        \"0200000000000001\",\n        \"0200000000000002\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/assets/common-field-set?workspaceId=2900000000000000","host":["{{baseUrl}}"],"path":["v3","assets","common-field-set"],"query":[{"key":"workspaceId","value":"2900000000000000"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": true,\n    \"description\": true,\n    \"customFields\": {\n        \"enabled\": true,\n        \"values\": [\n            {\n                \"id\": \"6900000000000000\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"custom_field_options\",\n                \"type\": \"STRING\",\n                \"description\": null,\n                \"required\": false,\n                \"selectOptions\": [\n                    \"asd\",\n                    \"qwer\",\n                    \"yxc\"\n                ],\n                \"created\": \"2022-10-13T11:28:50.000+00:00\",\n                \"updated\": \"2022-10-13T11:28:50.000+00:00\"\n            },\n            {\n                \"id\": \"6900000000000000\",\n                \"workspaceId\": \"2900000000000000\",\n                \"name\": \"gps_field\",\n                \"type\": \"GPS_COORDINATES\",\n                \"description\": null,\n                \"required\": false,\n                \"selectOptions\": [],\n                \"created\": \"2023-09-19T09:12:18.000+00:00\",\n                \"updated\": \"2023-09-19T09:12:18.000+00:00\"\n            }\n        ]\n    },\n    \"tags\": {\n        \"enabled\": true,\n        \"values\": [\n            {\n                \"id\": \"7100000000000000\",\n                \"name\": \"tag_1\",\n                \"description\": null,\n                \"workspaceId\": \"2900000000000000\",\n                \"color\": \"#595959\",\n                \"taggedDevices\": 0,\n                \"created\": \"2022-12-06T12:24:11.000+00:00\",\n                \"updated\": \"2022-12-06T12:24:11.000+00:00\"\n            },\n            {\n                \"id\": \"7100000000000000\",\n                \"name\": \"tag_2\",\n                \"description\": null,\n                \"workspaceId\": \"2900000000000000\",\n                \"color\": null,\n                \"taggedDevices\": 0,\n                \"created\": \"2021-10-07T09:30:14.000+00:00\",\n                \"updated\": \"2021-10-07T09:30:14.000+00:00\"\n            }\n        ]\n    },\n    \"deviceId\": false,\n    \"connectivity\": false,\n    \"properties\": true,\n    \"onlineTimeout\": true,\n    \"dataFlowId\": true,\n    \"integrationId\": false,\n    \"loraProperties\": {\n        \"carrier\": false,\n        \"activationMode\": {\n            \"enabled\": false,\n            \"values\": null\n        },\n        \"deviceClass\": {\n            \"enabled\": false,\n            \"values\": null\n        },\n        \"loraVersion\": false,\n        \"applicationEui\": false,\n        \"deviceEui\": false,\n        \"deviceAddress\": false,\n        \"applicationKey\": false,\n        \"applicationSessionKey\": false,\n        \"networkSessionKey\": false,\n        \"joinEui\": false,\n        \"forwardingNetworkSessionIntegrityKey\": false,\n        \"networkSessionEncryptionKey\": false,\n        \"servingNetworkSessionIntegrityKey\": false,\n        \"ttnProperties\": {\n            \"deviceId\": false,\n            \"phyLoraVersion\": false,\n            \"networkServer\": false,\n            \"networkServerLabel\": false,\n            \"applicationServer\": false,\n            \"applicationServerId\": false,\n            \"applicationServerLabel\": false,\n            \"joinServer\": false,\n            \"networkId\": false,\n            \"frequencyPlan\": false,\n            \"multicast\": false,\n            \"support32BitFrameCount\": false,\n            \"disablePayloadEncryption\": false\n        },\n        \"everynetProperties\": {\n            \"band\": true,\n            \"countersSize\": true,\n            \"adaptiveDataRate\": {\n                \"mode\": true,\n                \"txPower\": true,\n                \"datarate\": true\n            }\n        },\n        \"actilityProperties\": {\n            \"deviceProfileId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"connectivityPlanId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"routingProfileId\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"motionIndicator\": {\n                \"enabled\": false,\n                \"values\": null\n            },\n            \"isGeoLocation\": false\n        },\n        \"frequencyPlan\": {\n            \"enabled\": false,\n            \"values\": null\n        }\n    },\n    \"packageName\": false,\n    \"state\": false\n}"}],"_postman_id":"ddb489be-4214-4e10-81ce-dece5304e686"},{"name":"bulk tags & custom fields removal","id":"d4c5913f-110e-4fae-9ed7-27a7fdef4981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<string>\",\n    \"tagIds\": [\n        \"<string>\"\n    ],\n    \"customFieldIds\": [\n        \"<string>\"\n    ],\n    \"filter\": {\n        \"organizationId\": \"<string>\",\n        \"workspaceIds\": [\n            \"<string>\"\n        ],\n        \"search\": \"<string>\",\n        \"expression\": {\n            \"operator\": \"<string>\",\n            \"expressions\": [\n                {\n                    \"field\": \"<enum>\",\n                    \"predicate\": \"<enum>\",\n                    \"values\": []\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-remove-fields","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","bulk-remove-fields"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"16f9d11f-9e92-4123-b83a-4cfdac62870d","name":"bulk tags & custom fields removal example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customFieldIds\":\n    [\n        \"69d323219fedaa86\",\n        \"698b777617f049ab\"\n    ],\n    \"filter\":\n    {\n        \"expression\":\n        {\n            \"field\": \"id\",\n            \"operator\": \"FILTER\",\n            \"predicate\": \"IN\",\n            \"values\":\n            [\n                \"0203f77a89672090\",\n                \"0214703a6478387e\",\n                \"021ddec748acfb77\",\n                \"02370a3460a0071f\",\n                \"02593f1d35577dc8\",\n                \"0271c1bf94c7e672\",\n                \"028f64ad562c0e38\",\n                \"02dac5c0230af30f\"\n            ]\n        }\n    },\n    \"tagIds\":\n    [\n        \"713850b10b64b7a5\",\n        \"71af0a3a32934ad8\"\n    ],\n    \"workspaceId\": \"0000000000000002\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/bulk-remove-fields"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d4c5913f-110e-4fae-9ed7-27a7fdef4981"}],"id":"eff3f0d8-7675-4d82-aab9-78806f7fe5ee","_postman_id":"eff3f0d8-7675-4d82-aab9-78806f7fe5ee","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Query","item":[{"name":"Aggregations","item":[{"name":"Get Aggregated KPI data","id":"4aaa9654-8136-44a4-9689-c672c2004c93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/kpi","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","aggregated","hourly","kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"95173c8a-849f-4e7f-b625-788aff82de54","name":"Get Aggregated KPI data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"LAST\",\n    \"interval\": {\n        \"from\": \"2025-11-10T19:14:03.631Z\",\n        \"to\": \"2025-11-17T19:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/kpi","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","aggregated","hourly","kpi"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"kpi\": null\n}"}],"_postman_id":"4aaa9654-8136-44a4-9689-c672c2004c93"},{"name":"Get Raw KPI data for tag","id":"fbd9e383-c2f8-4d7d-9261-bb6c4ddb55ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/raw/kpi?page=<number>&size=<number>","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p>default value for <code>page</code> parameter is <code>0</code><br />default value for <code>size</code> parameter is <code>20</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","raw","kpi"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Optional. Defaults to the first page.</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>Optional. Defaults to 20.</p>\n","type":"text/plain"},"key":"size","value":"<number>"}],"variable":[{"id":"1f13e53e-52e9-4196-808a-40ec71972796","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"68579257-efba-485c-8798-9a1c9313b066","name":"Get Raw KPI data for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/raw/kpi?page=0&size=50","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","raw","kpi"],"query":[{"key":"page","value":"0","description":"Optional. Defaults to the first page."},{"key":"size","value":"50","description":"Optional. Defaults to 20."}],"variable":[{"key":"tagId","value":"7100000000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"deviceId\": \"0000000000000001\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 22.823076923076922\n        },\n        {\n            \"deviceId\": \"0000000000000002\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.637500000000003\n        },\n        {\n            \"deviceId\": \"0000000000000003\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.028358208955225\n        },\n        {\n            \"deviceId\": \"0000000000000004\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 24.095833333333335\n        }\n    ],\n    \"totalPages\": 7,\n    \"totalElements\": 317,\n    \"last\": false,\n    \"size\": 50,\n    \"number\": 0,\n    \"first\": true,\n    \"numberOfElements\": 50,\n    \"empty\": false\n}"}],"_postman_id":"fbd9e383-c2f8-4d7d-9261-bb6c4ddb55ff"},{"name":"Get Calendar Grouping","id":"add7776a-aef0-4dcb-9589-113ef688a946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"measurementType\": \"<string>\",\n    \"queryInterval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"akenzaDeviceIds\": [\n        \"<string>\"\n    ],\n    \"devicesQueryMode\": \"<enum>\",\n    \"mergeTopicDataKeys\": \"<boolean>\",\n    \"mergeMeasurementTypes\": \"<boolean>\",\n    \"filterWorkingHours\": \"<boolean>\",\n    \"accumulator\": \"<enum>\",\n    \"bucketAccumulator\": \"<enum>\",\n    \"groupAccupulator\": \"<enum>\",\n    \"decimalRoundingScale\": \"<number>\",\n    \"calendarGroupingMode\": \"<enum>\",\n    \"bucketInterval\": \"<string>\", // ISO-8601 duration format (1-365 days)\n    \"calendarFilter\": \"<object | optional>\", // can be {} (empty), omitted, or contain specific fields\n    \"tagId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/calendar-grouping","description":"<h5 id=\"valid-values-for-accumulator-bucketaccumulator-and-groupaccumulator-are\">Valid values for <code>accumulator</code>, <code>bucketAccumulator</code>, and <code>groupAccumulator</code> are:</h5>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<h5 id=\"default-values\">Default values</h5>\n<ul>\n<li><p><code>mergeTopicDataKeys</code>: <code>false</code></p>\n</li>\n<li><p><code>mergeMeasurementTypes</code>: <code>false</code></p>\n</li>\n<li><p><code>filterWorkingHours</code>: <code>false</code></p>\n</li>\n<li><p><code>decimalRoundingScale</code>: <code>2</code></p>\n</li>\n<li><p><code>bucketInterval</code>: <code>PT1H</code></p>\n</li>\n</ul>\n<h2 id=\"calendarfilter\"><code>calendarFilter</code></h2>\n<p>The <code>calendarFilter</code> object allows restricting the aggregation to specific calendar dimensions.</p>\n<h5 id=\"supported-fields\">Supported fields</h5>\n<ul>\n<li><p><code>hourOfDay</code></p>\n</li>\n<li><p><code>dayOfWeek</code></p>\n</li>\n<li><p><code>weekOfYear</code></p>\n</li>\n<li><p><code>monthOfYear</code></p>\n</li>\n</ul>\n<p>All fields are optional. If omitted, no filtering is applied for that dimension and all possible values are included.<br />For example, if <code>hourOfDay</code> is not specified, the full time range (00:00–23:59) is applied.</p>\n<h3 id=\"hourofday\"><code>hourOfDay</code></h3>\n<p>Type: <code>WorkingHour[]</code></p>\n<p><code>hourOfDay</code> is an array of time ranges. Each range defines a daily time interval using the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>WorkingHour {\n  from: WorkingHourTime,\n  to: WorkingHourTime\n}\nWorkingHourTime {\n  hours: number   // 0–23\n  minutes: number // 0–59\n}\n\n</code></pre><p>Multiple ranges can be provided. Data within specified intervals is included.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"hourOfDay\": [\n  {\n    \"from\": { \"hours\": 8, \"minutes\": 0 },\n    \"to\":   { \"hours\": 12, \"minutes\": 0 }\n  },\n  \n  {\n    \"from\": { \"hours\": 13, \"minutes\": 0 },\n    \"to\":   { \"hours\": 17, \"minutes\": 0 }\n  }\n]\n\n</code></pre>\n<p>This example filters data between:</p>\n<ul>\n<li><p>08:00–12:00</p>\n</li>\n<li><p>13:00–17:00</p>\n</li>\n</ul>\n<h3 id=\"dayofweek\"><code>dayOfWeek</code></h3>\n<p>Type: <code>number[]</code></p>\n<p>Allowed values: <strong>1–7 (inclusive)</strong></p>\n<p>Mapping:</p>\n<ul>\n<li><p><code>1</code> = Monday</p>\n</li>\n<li><p><code>2</code> = Tuesday</p>\n</li>\n<li><p><code>3</code> = Wednesday</p>\n</li>\n<li><p><code>4</code> = Thursday</p>\n</li>\n<li><p><code>5</code> = Friday</p>\n</li>\n<li><p><code>6</code> = Saturday</p>\n</li>\n<li><p><code>7</code> = Sunday</p>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"dayOfWeek\": [1, 2, 3]\n\n</code></pre>\n<p>Filters data for Monday – Wednesday.</p>\n<h3 id=\"weekofyear\"><code>weekOfYear</code></h3>\n<p>Type: <code>number[]</code></p>\n<p>Allowed values: <strong>1–52 or 53 (inclusive)</strong><br />(depends on the calendar year)</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"weekOfYear\": [1, 2, 3, 10]\n\n</code></pre>\n<p>Filters data for Week 1, Week 2, Week 3, and Week 10.</p>\n<h3 id=\"monthofyear\"><code>monthOfYear</code></h3>\n<p>Type: <code>number[]</code></p>\n<p>Allowed values: <strong>1–12 (inclusive)</strong></p>\n<p>Mapping:</p>\n<ul>\n<li><p><code>1</code> = January</p>\n</li>\n<li><p><code>2</code> = February</p>\n</li>\n<li><p><code>3</code> = March</p>\n</li>\n<li><p><code>4</code> = April</p>\n</li>\n<li><p><code>5</code> = May</p>\n</li>\n<li><p><code>6</code> = June</p>\n</li>\n<li><p><code>7</code> = July</p>\n</li>\n<li><p><code>8</code> = August</p>\n</li>\n<li><p><code>9</code> = September</p>\n</li>\n<li><p><code>10</code> = October</p>\n</li>\n<li><p><code>11</code> = November</p>\n</li>\n<li><p><code>12</code> = December</p>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"monthOfYear\": [6, 7, 8]\n\n</code></pre>\n<p>Filters data for June – August.</p>\n<h5 id=\"calendargroupingmode-and-bucketinterval\">calendarGroupingMode and bucketInterval</h5>\n<p>Not all combinations of <code>calendarGroupingMode</code> and <code>bucketInterval</code> are supported. The following combinations are allowed:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>calendarGroupingMode</th>\n<th>Supported bucketInterval</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>HOUR_OF_DAY</code></td>\n<td><code>PT1H</code></td>\n</tr>\n<tr>\n<td><code>DAY_OF_WEEK</code></td>\n<td><code>P1D</code></td>\n</tr>\n<tr>\n<td><code>WEEK_OF_YEAR</code></td>\n<td><code>P1W</code>, <code>P1D</code></td>\n</tr>\n<tr>\n<td><code>MONTH_OF_YEAR</code></td>\n<td><code>P1M</code>, <code>P1D</code></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"notes\">Notes</h5>\n<ul>\n<li><p><code>PT1H</code> – 1 hour</p>\n</li>\n<li><p><code>P1D</code> – 1 day</p>\n</li>\n<li><p><code>P1W</code> – 1 week</p>\n</li>\n<li><p><code>P1M</code> – 1 month</p>\n</li>\n</ul>\n<p>When <code>bucketInterval</code> is smaller than the <code>calendarGroupingMode</code> unit (e.g., <code>P1D</code> for <code>WEEK_OF_YEAR</code>), results are grouped by the calendar dimension and further subdivided by the bucket interval. This results in subgroups within each calendar group. For example:<br />Week 1 Monday, Week 1 Tuesday, Week 1 Wednesday, …</p>\n<p>If an unsupported combination is provided, the request fails validation and the API returns a <strong>400 Bad Request</strong> response with a validation error indicating the unsupported <code>bucketInterval</code> for the selected <code>calendarGroupingMode</code>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v4","query","calendar-grouping"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a4c2d40e-2eeb-475b-9c0b-17829f88975d","name":"Get Calendar Grouping","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"occupancy\",\n    \"dataKey\": \"occupied\",\n    \"accumulator\": \"OCCUPANCY\",\n    \"queryInterval\": {\n        \"from\": \"2025-08-01T22:00:00Z\",\n        \"to\": \"2025-08-15T05:00:01Z\"\n    },\n    \"bucketInterval\": \"PT1H\",\n    \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n    \"calendarGroupingMode\": \"DAY_OF_WEEK\",\n    \"calendarFilter\": {\n        \"hourOfDay\": [\n            {\n                \"from\": {\n                    \"hours\": 8,\n                    \"minutes\": 0\n                },\n                \"to\": {\n                    \"hours\": 12,\n                    \"minutes\": 0\n                }\n            },\n            {\n                \"from\": {\n                    \"hours\": 13,\n                    \"minutes\": 0\n                },\n                \"to\": {\n                    \"hours\": 17,\n                    \"minutes\": 0\n                }\n            }\n        ],\n        \"dayOfWeek\": [1, 2, 3] // Mon, Tue, Wed\n    },\n    \"akenzaDeviceIds\": [\n        \"0000000000000001\",\n        \"0000000000000002\",\n        \"0000000000000003\"\n    ]\n}\n\n\n","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/calendar-grouping"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n    \"results\": [\n        {\n            \"metric\": {\n                \"akenzaDeviceIds\": [\n                    \"0000000000000001\",\n                    \"0000000000000002\",\n                    \"0000000000000003\"\n                ],\n                \"bucketInterval\": \"PT1H\",\n                \"calendarGroupingMode\": \"DAY_OF_WEEK\",\n                \"dataKey\": \"occupied\",\n                \"measurementType\": null,\n                \"topic\": \"occupancy\"\n            },\n            \"data\": {\n                \"dataPoints\": [\n                    16.67,\n                    16.67,\n                    15.28,\n                    20.83,\n                    null,\n                    19.44,\n                    20.83,\n                    16.67,\n                    22.22,\n                    9.72,\n                    19.44,\n                    27.78,\n                    6.95,\n                    null,\n                    6.95,\n                    11.11,\n                    25.0,\n                    16.67,\n                    0.0,\n                    0.0,\n                    6.94,\n                    15.28,\n                    null,\n                    15.28,\n                    6.94,\n                    9.72,\n                    16.67\n                ],\n                \"groupingLabels\": [\n                    \"Mon 08:00\",\n                    \"Mon 09:00\",\n                    \"Mon 10:00\",\n                    \"Mon 11:00\",\n                    \"Mon 12:00\",\n                    \"Mon 13:00\",\n                    \"Mon 14:00\",\n                    \"Mon 15:00\",\n                    \"Mon 16:00\",\n                    \"Tue 08:00\",\n                    \"Tue 09:00\",\n                    \"Tue 10:00\",\n                    \"Tue 11:00\",\n                    \"Tue 12:00\",\n                    \"Tue 13:00\",\n                    \"Tue 14:00\",\n                    \"Tue 15:00\",\n                    \"Tue 16:00\",\n                    \"Wed 08:00\",\n                    \"Wed 09:00\",\n                    \"Wed 10:00\",\n                    \"Wed 11:00\",\n                    \"Wed 12:00\",\n                    \"Wed 13:00\",\n                    \"Wed 14:00\",\n                    \"Wed 15:00\",\n                    \"Wed 16:00\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"add7776a-aef0-4dcb-9589-113ef688a946"},{"name":"Get Single Metric","id":"9b867445-2278-45d1-bd09-b3bee0aca660","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"measurementType\": \"<string>\",\n    \"queryInterval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"akenzaDeviceIds\": [\n        \"<string>\"\n    ],\n    \"devicesQueryMode\": \"<enum>\",\n    \"mergeTopicDataKeys\": \"<boolean>\",\n    \"mergeMeasurementTypes\": \"<boolean>\",\n    \"filterWorkingHours\": \"<boolean>\",\n    \"accumulator\": \"<enum>\",\n    \"bucketAccumulator\": \"<enum>\",\n    \"groupAccupulator\": \"<enum>\",\n    \"decimalRoundingScale\": \"<number>\",\n    \"tagId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/single-metric","description":"<h5 id=\"valid-values-for-accumulator-bucketaccumulator-and-groupaccumulator-are\">Valid values for <code>accumulator</code>, <code>bucketAccumulator</code>, and <code>groupAccumulator</code> are:</h5>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<h5 id=\"default-values\">Default values</h5>\n<ul>\n<li><p><code>mergeTopicDataKeys</code>: <code>false</code></p>\n</li>\n<li><p><code>mergeMeasurementTypes</code>: <code>false</code></p>\n</li>\n<li><p><code>filterWorkingHours</code>: <code>false</code></p>\n</li>\n<li><p><code>decimalRoundingScale</code>: <code>2</code></p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v4","query","single-metric"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d6babb79-8df4-4b44-889f-a220d4cb09e5","name":"Get Single Metric","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"topic\" : \"default\",\n  \"dataKey\" : \"temperature\",\n  \"accumulator\" : \"AVG\",\n  \"queryInterval\" : {\n    \"from\" : \"2024-05-01T00:00:00.00Z\",\n    \"to\" : \"2024-06-01T00:00:00.00Z\"\n  },\n  \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n  \"akenzaDeviceIds\" : [\n    \"0000000000000001\",\n    \"0000000000000002\",\n    \"0000000000000003\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/single-metric"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n    \"results\": [\n        {\n            \"metric\": {\n                \"measurementType\": \"akenza/environment/temperature/celsius\",\n                \"topic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"akenzaDeviceIds\": [\n                    \"0000000000000001\",\n                    \"0000000000000002\",\n                    \"0000000000000003\"\n                ]\n            },\n            \"dataPoint\": 22.31,\n            \"timestamp\": \"2024-05-01T00:00:00Z\"\n        }\n    ]\n}"}],"_postman_id":"9b867445-2278-45d1-bd09-b3bee0aca660"},{"name":"Get Time Series","id":"3d36dfc5-4ebd-4804-b9a8-817f950a3b67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"measurementType\": \"<string>\",\n    \"queryInterval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string\",\n    \"akenzaDeviceIds\": [\n        \"<string>\"\n    ],\n    \"devicesQueryMode\": \"<enum>\",\n    \"mergeTopicDataKeys\": \"<boolean>\",\n    \"mergeMeasurementTypes\": \"<boolean>\",\n    \"filterWorkingHours\": \"<boolean>\",\n    \"accumulator\": \"<enum>\",\n    \"bucketAccumulator\": \"<enum>\",\n    \"groupAccupulator\": \"<enum>\",\n    \"decimalRoundingScale\": \"<number>\",\n    \"tagId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/time-series","description":"<h5 id=\"valid-values-for-accumulator-bucketaccumulator-and-groupaccumulator-are\">Valid values for <code>accumulator</code>, <code>bucketAccumulator</code>, and <code>groupAccumulator</code> are:</h5>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<h5 id=\"default-values\">Default values</h5>\n<ul>\n<li><p><code>mergeTopicDataKeys</code>: <code>false</code></p>\n</li>\n<li><p><code>mergeMeasurementTypes</code>: <code>false</code></p>\n</li>\n<li><p><code>filterWorkingHours</code>: <code>false</code></p>\n</li>\n<li><p><code>decimalRoundingScale</code>: <code>2</code></p>\n</li>\n<li><p><code>bucketInterval</code>: <code>PT1H</code></p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v4","query","time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"31c63da2-f3ba-449f-a9a4-d9a45b3936e3","name":"Get Time Series","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"topic\" : \"occupancy\",\n  \"dataKey\" : \"occupied\",\n  \"accumulator\" : \"OCCUPANCY\",\n  \"queryInterval\" : {\n    \"from\" : \"2024-01-01T00:00:00.00Z\",\n    \"to\" : \"2024-12-31T00:00:00.00Z\"\n  },\n  \"bucketInterval\": \"P1D\",\n  \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n  \"akenzaDeviceIds\" : [\n    \"0000000000000001\",\n    \"0000000000000002\",\n    \"0000000000000003\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v4/query/time-series"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"devicesQueryMode\": \"AGGREGATED_ACROSS_DEVICES\",\n    \"results\": [\n        {\n            \"metric\": {\n                \"measurementType\": \"akenza/spaces/occupied/boolean\",\n                \"topic\": \"occupancy\",\n                \"dataKey\": \"occupied\",\n                \"akenzaDeviceIds\": [\n                    \"0000000000000001\",\n                    \"0000000000000002\",\n                    \"0000000000000003\"\n                ]\n            },\n            \"dataPoints\": [\n                15.86,\n                0.0,\n                0.0,\n                7.41,\n                1.16,\n                7.18,\n                2.43,\n                0.0,\n                0.0,\n                0.0\n            ],\n            \"timestamps\": [\n                \"2024-01-01T00:00:00Z\",\n                \"2024-01-02T00:00:00Z\",\n                \"2024-01-03T00:00:00Z\",\n                \"2024-01-04T00:00:00Z\",\n                \"2024-01-05T00:00:00Z\",\n                \"2024-01-06T00:00:00Z\",\n                \"2024-01-07T00:00:00Z\",\n                \"2024-01-08T00:00:00Z\",\n                \"2024-01-09T00:00:00Z\",\n                \"2024-01-10T00:00:00Z\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"3d36dfc5-4ebd-4804-b9a8-817f950a3b67"},{"name":"Get Latest Samples for tag","id":"ee797f8c-69ee-4504-b6c6-736a9a1c579a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/raw/latest-samples?page=<number>&size=<number>","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p>default value for <code>page</code> parameter is <code>0</code><br />default value for <code>size</code> parameter is <code>20</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","raw","latest-samples"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Optional. Defaults to the first page.</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>Optional. Defaults to 20.</p>\n","type":"text/plain"},"key":"size","value":"<number>"}],"variable":[{"id":"3752040a-d05e-4d6a-a9a9-ba5eb8733228","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"cff0554f-1c52-4609-8c78-7e98121c59fd","name":"Get Latest Samples for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/raw/latest-samples?page=2&size=50","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","raw","latest-samples"],"query":[{"key":"page","value":"2","description":"Optional. Defaults to the first page."},{"key":"size","value":"50","description":"Optional. Defaults to 20."}],"variable":[{"key":"tagId","value":"7100000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"deviceId\": \"0000000000000000\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 24.3,\n            \"timestamp\": \"2023-04-20T11:51:20.847Z\"\n        },\n        {\n            \"deviceId\": \"0000000000000001\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 24.6,\n            \"timestamp\": \"2023-04-20T11:54:27.226Z\"\n        },\n        {\n            \"deviceId\": \"0000000000000002\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 24.8,\n            \"timestamp\": \"2023-04-20T11:53:15.060Z\"\n        },\n        {\n            \"deviceId\": \"0000000000000003\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.6,\n            \"timestamp\": \"2023-04-20T11:55:38.420Z\"\n        },\n        {\n            \"deviceId\": \"0000000000000004\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.7,\n            \"timestamp\": \"2023-04-20T11:57:12.186Z\"\n        },\n        {\n            \"deviceId\": \"0000000000000005\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 25.3,\n            \"timestamp\": \"2023-04-20T11:58:01.650Z\"\n        }\n    ],\n    \"totalPages\": 7,\n    \"totalElements\": 317,\n    \"last\": false,\n    \"size\": 50,\n    \"number\": 0,\n    \"first\": true,\n    \"numberOfElements\": 50,\n    \"empty\": false\n}"}],"_postman_id":"ee797f8c-69ee-4504-b6c6-736a9a1c579a"},{"name":"Get Raw Accumulated KPI for tag","id":"506bf236-57eb-4f84-bba2-5576453de3bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/raw/accumulated-kpi","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p><code>accumulated</code> means summing across all devices belonging to the <code>tag</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","raw","accumulated-kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"45719e30-21af-4206-988c-88c692c61d7b","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"8bca8895-70e0-4880-b5ea-9142c8e6665a","name":"Get Raw Accumulated KPI for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/raw/accumulated-kpi","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","raw","accumulated-kpi"],"variable":[{"key":"tagId","value":"7100000000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"kpi\": 23.442506475713973,\n    \"tagId\": \"7100000000000000\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\"\n}"}],"_postman_id":"506bf236-57eb-4f84-bba2-5576453de3bf"},{"name":"Get Hourly KPI data for tag","id":"025fde44-e934-4972-b8be-16031c4d7419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/kpi","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p>default value for <code>page</code> parameter is <code>0</code><br />default value for <code>size</code> parameter is <code>20</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","aggregated","hourly","kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f67e720b-e96a-4d0f-aea4-60edafb1b39b","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"4331a377-abce-4903-b971-a750cff01fc5","name":"Get Hourly KPI data for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/kpi?page=0","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","aggregated","hourly","kpi"],"query":[{"key":"page","value":"0","description":"Optional. Defaults to the first page."},{"key":"","value":"","disabled":true}],"variable":[{"key":"tagId","value":"7100000000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"deviceId\": \"0000000000000000\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 22.85\n        },\n        {\n            \"deviceId\": \"0000000000000001\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.16\n        },\n        {\n            \"deviceId\": \"0000000000000002\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.61\n        },\n        {\n            \"deviceId\": \"0000000000000003\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.14\n        },\n        {\n            \"deviceId\": \"0000000000000004\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.02\n        },\n        {\n            \"deviceId\": \"0000000000000005\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.11\n        },\n        {\n            \"deviceId\": \"0000000000000006\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.85\n        },\n        {\n            \"deviceId\": \"0000000000000007\",\n            \"topic\": \"default\",\n            \"dataKey\": \"temperature\",\n            \"kpi\": 23.93\n        }\n    ],\n    \"totalPages\": 16,\n    \"totalElements\": 317,\n    \"last\": false,\n    \"size\": 20,\n    \"number\": 0,\n    \"first\": true,\n    \"numberOfElements\": 20,\n    \"empty\": false\n}"}],"_postman_id":"025fde44-e934-4972-b8be-16031c4d7419"},{"name":"Get Hourly Accumulated KPI data for tag","id":"3385e7da-3e7d-48c1-9fef-ac41ce309938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/accumulated-kpi","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p><code>accumulated</code> means summing across all devices belonging to the <code>tag</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","aggregated","hourly","accumulated-kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c5c3ab9d-54ed-4bb9-941f-28aae3ae1353","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"af792d60-a86f-4412-b8f9-8b757e0149e5","name":"Get Hourly Accumulated KPI data for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/accumulated-kpi","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","aggregated","hourly","accumulated-kpi"],"variable":[{"key":"tagId","value":"7100000000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"kpi\": 23.36,\n    \"tagId\": \"7100000000000000\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"timestamp\": \"2023-04-20T00:00:00Z\"\n}"}],"_postman_id":"3385e7da-3e7d-48c1-9fef-ac41ce309938"},{"name":"Get Hourly Accumulated Time-Series data for tag","id":"6589eded-9bf4-403c-bee6-80f8ee9061d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/accumulated-time-series","description":"<p>valid values for <code>accumulator</code> are:</p>\n<ul>\n<li><p>MIN</p>\n</li>\n<li><p>MAX</p>\n</li>\n<li><p>AVG</p>\n</li>\n<li><p>SUM</p>\n</li>\n<li><p>COUNT</p>\n</li>\n<li><p>FIRST</p>\n</li>\n<li><p>LAST</p>\n</li>\n<li><p>OCCUPANCY</p>\n</li>\n<li><p>DISTINCT_COUNT</p>\n</li>\n<li><p>MATCHED_COUNT</p>\n</li>\n<li><p>UNMATCHED_COUNT</p>\n</li>\n<li><p>NONE</p>\n</li>\n</ul>\n<p><code>accumulated</code> means summing across all devices belonging to the <code>tag</code></p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags",":tagId","query","aggregated","hourly","accumulated-time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f5e09a29-5470-4f91-9ef9-3d975068ee45","description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"d02bf2f0-35a7-4c56-b626-747fbf17145e","name":"Get Hourly Accumulated Time-Series data for tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"bucketInterval\": \"PT1H\",\n    \"interval\": {\n        \"from\": \"2023-04-20T00:00:00.000Z\",\n        \"to\":  \"2023-04-20T12:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/tags/:tagId/query/aggregated/hourly/accumulated-time-series","host":["{{baseUrl}}"],"path":["v3","tags",":tagId","query","aggregated","hourly","accumulated-time-series"],"variable":[{"key":"tagId","value":"7100000000000000","description":"Required."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"tagId\": \"7100000000000000\",\n    \"numberOfDevices\": 316,\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"dataPoints\": [\n        23.24,\n        23.09,\n        23.01,\n        22.95,\n        22.87,\n        22.79,\n        22.96,\n        23.4,\n        23.77,\n        23.98,\n        24.14,\n        24.13\n    ],\n    \"timestamps\": [\n        \"2023-04-20T00:00:00Z\",\n        \"2023-04-20T01:00:00Z\",\n        \"2023-04-20T02:00:00Z\",\n        \"2023-04-20T03:00:00Z\",\n        \"2023-04-20T04:00:00Z\",\n        \"2023-04-20T05:00:00Z\",\n        \"2023-04-20T06:00:00Z\",\n        \"2023-04-20T07:00:00Z\",\n        \"2023-04-20T08:00:00Z\",\n        \"2023-04-20T09:00:00Z\",\n        \"2023-04-20T10:00:00Z\",\n        \"2023-04-20T11:00:00Z\"\n    ]\n}"}],"_postman_id":"6589eded-9bf4-403c-bee6-80f8ee9061d5"},{"name":"Get Aggregated Time-Series data","id":"5529bade-5d96-437b-adc3-48d8a896f699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/time-series","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","aggregated","hourly","time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"0cda6a50-b81b-438f-9b5d-a24ec6d43e63","name":"Get Aggregated Time-Series data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"interval\": {\n        \"from\": \"2025-10-17T12:02:32.128Z\",\n        \"to\": \"2025-10-24T12:02:32.128Z\"\n    },\n    \"accumulator\": \"MIN\",\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/time-series","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","aggregated","hourly","time-series"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"dataPoints\": [\n        22.8,\n        23.7,\n        22.8,\n        22.7,\n        22.7,\n        22.6,\n        21.6,\n        22.6,\n        23.6,\n        23.6,\n        22.5,\n        20.5,\n        22.5,\n        22.5\n    ],\n    \"timestamps\": [\n        \"2025-10-17T12:00:00Z\",\n        \"2025-10-17T13:00:00Z\",\n        \"2025-10-17T14:00:00Z\",\n        \"2025-10-17T15:00:00Z\",\n        \"2025-10-17T16:00:00Z\",\n        \"2025-10-17T17:00:00Z\",\n        \"2025-10-17T18:00:00Z\",\n        \"2025-10-17T19:00:00Z\",\n        \"2025-10-17T20:00:00Z\",\n        \"2025-10-17T21:00:00Z\",\n        \"2025-10-17T22:00:00Z\",\n        \"2025-10-17T23:00:00Z\",\n        \"2025-10-18T00:00:00Z\",\n        \"2025-10-18T01:00:00Z\"\n    ]\n}"}],"_postman_id":"5529bade-5d96-437b-adc3-48d8a896f699"},{"name":"Get Batch Aggregated Time-Series data for Devices","id":"5cb21572-c4f6-4709-8253-a9402f217de7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\", // ISO-8601 duration format (1-365 days)\n    \"deviceIds\": [\"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/aggregated/hourly/time-series","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","query","batch","aggregated","hourly","time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"27500aa2-aaf5-44a7-91de-274e8caf92e8","name":"Get Batch Aggregated Time-Series data for Devices","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T19:14:03.631Z\",\n        \"to\": \"2025-11-17T19:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\",\n    \"deviceIds\": [\"0000000000000001\", \"0000000000000002\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/aggregated/hourly/time-series"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deviceId\": \"0000000000000001\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"dataPoints\": [\n            22.23,\n            21.27,\n            22.22,\n            20.00,\n            23.22,\n            22.22,\n            22.22,\n            25.00,\n            22.23,\n            22.15,\n            22.15,\n            22.18\n        ],\n        \"timestamps\": [\n            \"2025-11-10T19:00:00Z\",\n            \"2025-11-10T20:00:00Z\",\n            \"2025-11-10T21:00:00Z\",\n            \"2025-11-10T22:00:00Z\",\n            \"2025-11-10T23:00:00Z\",\n            \"2025-11-11T00:00:00Z\",\n            \"2025-11-11T01:00:00Z\",\n            \"2025-11-11T02:00:00Z\",\n            \"2025-11-11T03:00:00Z\",\n            \"2025-11-11T04:00:00Z\",\n            \"2025-11-11T05:00:00Z\",\n            \"2025-11-11T06:00:00Z\"\n        ]\n    },\n    {\n        \"deviceId\": \"0000000000000002\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"dataPoints\": [\n            22.23,\n            22.27,\n            22.22,\n            22.00,\n            22.22,\n            24.44,\n            20.00,\n            25.00,\n            20.00,\n            22.15,\n            22.15,\n            22.18\n        ],\n        \"timestamps\": [\n            \"2025-11-12T11:00:00Z\",\n            \"2025-11-12T12:00:00Z\",\n            \"2025-11-12T13:00:00Z\",\n            \"2025-11-12T14:00:00Z\",\n            \"2025-11-12T15:00:00Z\",\n            \"2025-11-12T16:00:00Z\",\n            \"2025-11-12T17:00:00Z\",\n            \"2025-11-12T18:00:00Z\",\n            \"2025-11-12T19:00:00Z\",\n            \"2025-11-12T20:00:00Z\",\n            \"2025-11-12T21:00:00Z\",\n            \"2025-11-12T22:00:00Z\"\n        ]\n    }\n]"}],"_postman_id":"5cb21572-c4f6-4709-8253-a9402f217de7"},{"name":"Get Aggregated Trend Status data","id":"96b5e612-4a49-4394-936b-105bf861bf46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (1-365 days)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/trend-status","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","aggregated","hourly","trend-status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"032d4b46-bb1e-407d-8ca5-ec38f4e7fb87","name":"Get Aggregated Trend Status data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T19:14:03.631Z\",\n        \"to\": \"2025-11-17T19:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/aggregated/hourly/trend-status","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","aggregated","hourly","trend-status"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"trendStatus\": \"POSITIVE\"\n}"}],"_postman_id":"96b5e612-4a49-4394-936b-105bf861bf46"},{"name":"Get Raw KPI data","id":"1819801d-0c87-47ca-8838-515df3818bc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (less than 24 hours)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/raw/kpi","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","raw","kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"fc122686-9f03-49d0-8f82-a2c9beef6963","name":"Get Raw KPI data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T10:14:03.631Z\",\n        \"to\": \"2025-11-10T21:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/raw/kpi","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","raw","kpi"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"kpi\": null\n}"}],"_postman_id":"1819801d-0c87-47ca-8838-515df3818bc1"},{"name":"Get Batch Raw KPI data","id":"51684c42-0698-4d0c-9ce4-80b0f671ef94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\", // ISO-8601 duration format (less than 24 hours)\n    \"deviceIds\": [\"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/raw/kpi","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","query","batch","raw","kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"148b02a0-d3ed-4e6a-a09c-6e2a83fc20c0","name":"Get Batch Raw KPI data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"topic\" : \"default\",\n  \"dataKey\" : \"temperature\",\n  \"accumulator\" : \"AVG\",\n  \"bucketInterval\" : \"PT1H\",\n  \"interval\" : {\n    \"from\" : \"2024-04-10T07:46:57.00Z\",\n    \"to\" : \"2024-04-11T15:17:00.00Z\"\n  },\n  \"deviceIds\" : [\"0000000000000001\", \"0000000000000002\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/raw/kpi"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deviceId\": \"0000000000000001\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"kpi\": 26.3\n    },\n    {\n        \"deviceId\": \"0000000000000002\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"kpi\": 23.1\n    }\n]"}],"_postman_id":"51684c42-0698-4d0c-9ce4-80b0f671ef94"},{"name":"Get Batch Aggregate Hourly KPI data","id":"45d81384-a9d6-49f5-b912-b01d9e5581fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\", // ISO-8601 duration format (less than 24 hours)\n    \"deviceIds\": [\"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/aggregated/hourly/kpi","urlObject":{"path":["v3","devices","query","aggregated","hourly","kpi"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e48c4740-24de-4a6b-95fc-5523acfb4147","name":"Get Batch Aggregate Hourly KPI data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T19:14:03.631Z\",\n        \"to\": \"2025-11-17T19:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\",\n    \"deviceIds\": [\"0000000000000001\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/aggregated/hourly/kpi"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deviceId\": \"0000000000000001\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"kpi\": 22.91\n    }\n]"}],"_postman_id":"45d81384-a9d6-49f5-b912-b01d9e5581fb"},{"name":"Get Raw Time-Series data","id":"6525c115-2238-4b8d-8e37-d68adc425a72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (less than 24 hours)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/raw/time-series","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","raw","time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"d7cfdfa7-69f5-457c-9962-74eb39cff462","name":"Get Raw Time-Series data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T10:14:03.631Z\",\n        \"to\": \"2025-11-10T21:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/raw/time-series","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","raw","time-series"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"dataPoints\": [\n        null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        null,\n        null\n    ],\n    \"timestamps\": [\n        \"2025-11-10T10:14:03.631Z\",\n        \"2025-11-10T11:14:03.631Z\",\n        \"2025-11-10T12:14:03.631Z\",\n        \"2025-11-10T13:14:03.631Z\",\n        \"2025-11-10T14:14:03.631Z\",\n        \"2025-11-10T15:14:03.631Z\",\n        \"2025-11-10T16:14:03.631Z\",\n        \"2025-11-10T17:14:03.631Z\",\n        \"2025-11-10T18:14:03.631Z\",\n        \"2025-11-10T19:14:03.631Z\",\n        \"2025-11-10T20:14:03.631Z\"\n    ]\n}"}],"_postman_id":"6525c115-2238-4b8d-8e37-d68adc425a72"},{"name":"Get Batch Raw Time-Series data for Devices","id":"9d185fe9-a27a-484e-b490-3fb3103c46fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\", // ISO-8601 duration format (less than 24 hours)\n    \"deviceIds\": [\"<string>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/raw/time-series","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","query","batch","raw","time-series"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c41d791d-c881-4319-9a98-f9e2ba884e50","name":"Get Raw Time-Series data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T19:14:03.631Z\",\n        \"to\": \"2025-11-17T19:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\",\n    \"deviceIds\": [\"0000000000000001\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/query/batch/raw/time-series"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"deviceId\": \"0000000000000001\",\n        \"topic\": \"default\",\n        \"dataKey\": \"temperature\",\n        \"dataPoints\": [\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null,\n            null\n        ],\n        \"timestamps\": [\n            \"2025-11-10T19:14:03.631Z\",\n            \"2025-11-10T20:14:03.631Z\",\n            \"2025-11-10T21:14:03.631Z\",\n            \"2025-11-10T22:14:03.631Z\",\n            \"2025-11-10T23:14:03.631Z\",\n            \"2025-11-11T00:14:03.631Z\",\n            \"2025-11-11T01:14:03.631Z\",\n            \"2025-11-11T02:14:03.631Z\",\n            \"2025-11-11T03:14:03.631Z\",\n            \"2025-11-11T04:14:03.631Z\",\n            \"2025-11-11T05:14:03.631Z\",\n            \"2025-11-11T06:14:03.631Z\"\n        ]\n    }\n]"}],"_postman_id":"9d185fe9-a27a-484e-b490-3fb3103c46fe"},{"name":"Get Raw Trend Status data","id":"ceab329a-f39b-478b-9238-189337586819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"<string>\",\n    \"dataKey\": \"<string>\",\n    \"accumulator\": \"<enum>\",\n    \"interval\": {\n        \"from\": \"<date>\",\n        \"to\": \"<date>\"\n    },\n    \"bucketInterval\": \"<string>\" // ISO-8601 duration format (less than 24 hours)\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/:deviceId/query/raw/trend-status","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices",":deviceId","query","raw","trend-status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p>Required.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"deviceId"}]}},"response":[{"id":"28e98403-ada0-454a-bc3b-f7d9f068f334","name":"Get Raw Trend Status data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"accumulator\": \"AVG\",\n    \"interval\": {\n        \"from\": \"2025-11-10T10:14:03.631Z\",\n        \"to\": \"2025-11-10T21:14:03.631Z\"\n    },\n    \"bucketInterval\": \"PT1H\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/v3/devices/:deviceId/query/raw/trend-status","host":["{{baseUrl}}"],"path":["v3","devices",":deviceId","query","raw","trend-status"],"variable":[{"key":"deviceId","value":"0000000000000001","description":"Required."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"0000000000000001\",\n    \"topic\": \"default\",\n    \"dataKey\": \"temperature\",\n    \"trendStatus\": \"UNKNOWN\"\n}"}],"_postman_id":"ceab329a-f39b-478b-9238-189337586819"}],"id":"a863492b-8bdb-49ad-8cc9-ada8f2dd96c4","_postman_id":"a863492b-8bdb-49ad-8cc9-ada8f2dd96c4","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"query device data","id":"57dd2a34-7b27-4e9a-8049-7898ffea4412","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"topic\": \"*\",\n    \"timestamp\": {\n        \"gt\": \"<dateTime>\",\n        \"gte\": \"<dateTime>\",\n        \"lt\": \"<dateTime>\",\n        \"lte\": \"<dateTime>\"\n    },\n    \"limit\": 100,\n    \"skip\": 0\n}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query","description":"<p>Allows querying a batch of historical device data. The result will be ordered by timestamp in descending order.</p>\n<ul>\n<li>limit (optional): default 8000</li>\n<li>skip (optional): default 0</li>\n<li>topic (optional): default \"default\", use topic \"*\" for any topics</li>\n<li>timestamp (optional): allows restricting the date range</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"cc044d37-df3d-461c-933f-4f506c02be91","name":"query device data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"timestamp\": {\n        \"gte\": \"2023-08-07T13:51:00.000+02:00\",\n        \"lte\": \"2023-08-07T13:52:00.000+02:00\"\n    },\n    \"skip\": 0,\n    \"limit\": 100,\n    \"topic\": \"*\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Thu, 28 Jul 2022 15:57:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"timestamp\": \"2023-08-07T11:51:52.508+00:00\",\n        \"dateStored\": \"2023-08-07T11:51:52.809+00:00\",\n        \"deviceId\": \"akenzaDeviceId\",\n        \"data\": {\n            \"payloadVersion\": 1,\n            \"mode\": 0,\n            \"voltage\": 2.8,\n            \"batteryLevel\": 54\n        },\n        \"topic\": \"lifecycle\",\n        \"correlationId\": \"7361e60d-756e-41db-8ffa-d666f2d8813b\"\n    },\n    {\n        \"timestamp\": \"2023-08-07T11:51:36.371+00:00\",\n        \"dateStored\": \"2023-08-07T11:51:37.183+00:00\",\n        \"deviceId\": \"akenzaDeviceId\",\n        \"data\": {\n            \"event\": \"TIMED_EVENT\"\n        },\n        \"topic\": \"event\",\n        \"correlationId\": \"7361e60d-756e-41db-8ffa-d666f2d8813b\"\n    }\n]"}],"_postman_id":"57dd2a34-7b27-4e9a-8049-7898ffea4412"},{"name":"count number of data points","id":"c8e07b84-9061-40ba-8a29-d6d943c35e48","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"topic\": \"*\",\n    \"timestamp\": {\n        \"gt\": \"<dateTime>\",\n        \"gte\": \"<dateTime>\",\n        \"lt\": \"<dateTime>\",\n        \"lte\": \"<dateTime>\"\n    }\n}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/count","description":"<p>Allows querying a batch of historical device data. The result will be ordered by timestamp in descending order.</p>\n<ul>\n<li>limit (optional): default 8000</li>\n<li>skip (optional): default 0</li>\n<li>topic (optional): default \"default\", use topic \"*\" for any topics</li>\n<li>timestamp (optional): allows restricting the date range</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","query","count"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"597a7e0c-c4a7-411e-a0a4-d25d8aa4aa8b","name":"count number of data points","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"topic\": \"*\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Aug 2024 08:57:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"0"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=PQ2LeNcqktpn9x8HisF9Ho%2FJAESnAhstUQFX0%2BBOwl60czhleSJ3RFrHI9YSUgUMrABxaXsSFdL%2BIZKjEHEO7KOPCquBDmlUOt2uxT82AvLPDnlgdUwQILcRlNm8a%2FcoK4gt4jLn4w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8b9ada7a2dec6aa0-GVA"}],"cookie":[],"responseTime":null,"body":"{\n    \"numberOfSamples\": 241338\n}"}],"_postman_id":"c8e07b84-9061-40ba-8a29-d6d943c35e48"},{"name":"query device data using GET","id":"59e12f03-7f01-4ef0-9363-e1f13039a2f4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query?topic=*&limit=100&skip=0&timestamp.gt=<after>&timestamp.lt=<before>","description":"<p>Allows querying a batch of historical device data. The result will be ordered by timestamp in descending order.</p>\n<ul>\n<li>limit (optional): default 8000</li>\n<li>skip (optional): default 0</li>\n<li>topic (optional): default \"default\", use topic \"*\" for any topics</li>\n<li>timestamp (optional): allows restricting the date range</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","query"],"host":["{{baseUrl}}"],"query":[{"key":"topic","value":"*"},{"key":"limit","value":"100"},{"key":"skip","value":"0"},{"key":"timestamp.gt","value":"<after>"},{"key":"timestamp.lt","value":"<before>"}],"variable":[]}},"response":[{"id":"264c47dc-fc4c-49db-b62e-b397c24fda35","name":"query device data using GET","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query?topic=*&limit=100&skip=0","host":["{{baseUrl}}"],"path":["v3","devices","{{akenzaDeviceId}}","query"],"query":[{"key":"topic","value":"*"},{"key":"limit","value":"100"},{"key":"skip","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Thu, 28 Jul 2022 15:59:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"timestamp\": \"2022-07-28T15:55:50.257+00:00\",\n        \"dateStored\": \"2022-07-28T15:55:51.286+00:00\",\n        \"deviceId\": \"akenzaDeviceId\",\n        \"data\": {\n            \"payloadVersion\": 1,\n            \"mode\": 0,\n            \"voltage\": 2.8,\n            \"batteryLevel\": 54\n        },\n        \"topic\": \"lifecycle\",\n        \"correlationId\": \"7361e60d-756e-41db-8ffa-d666f2d8813b\"\n    },\n    {\n        \"timestamp\": \"2022-07-28T15:55:50.257+00:00\",\n        \"dateStored\": \"2022-07-28T15:55:51.271+00:00\",\n        \"deviceId\": \"akenzaDeviceId\",\n        \"data\": {\n            \"event\": \"TIMED_EVENT\"\n        },\n        \"topic\": \"event\",\n        \"correlationId\": \"7361e60d-756e-41db-8ffa-d666f2d8813b\"\n    }\n]"}],"_postman_id":"59e12f03-7f01-4ef0-9363-e1f13039a2f4"},{"name":"query last sample","id":"8b6b11b1-d366-4f9d-b6b1-46b77b88cabb","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/latest-sample","description":"<p>Allows querying the last device data sample.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","query","latest-sample"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"747ca612-5769-4d8e-8ea4-fa4ca5a6bd17","name":"query last sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/latest-sample"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.6"},{"key":"Date","value":"Thu, 28 Jul 2022 16:00:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"180"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"akenzaDeviceId\",\n    \"topic\": \"lifecycle\",\n    \"data\": {\n        \"payloadVersion\": 1,\n        \"mode\": 0,\n        \"voltage\": 2.8,\n        \"batteryLevel\": 54\n    },\n    \"timestamp\": \"2022-07-28T15:55:50.257+00:00\",\n    \"meta\": null\n}"}],"_postman_id":"8b6b11b1-d366-4f9d-b6b1-46b77b88cabb"},{"name":"query time series aggregation","id":"f29ace73-76fd-40c6-914c-7796d85b0278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"key\": \"<string>\",\n        \"topic\": \"<string>\"\n    },\n    \"timestamp\": {\n        \"from\": \"<dateTime>\",\n        \"to\": \"<dateTime>\"\n    },\n    \"bucket\": {\n        \"interval\": \"<string>\",\n        \"aggregation\": \"<string>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/time-series/aggregation","description":"<p>Allows time series aggregation of a single data key with a specified bucket interval and aggregation method. When e.g. aggregating the last hour and the bucket interval is <code>PT5M</code> (5 minutes), the response will contain a total of 12 buckets each containing an aggregation of the data key (if possible) for 5 minutes. </p>\n<p>The property <code>bucket.interval</code> needs to be provided as a <a href=\"https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm\">ISO-8601 duration</a> and specifies the bucket size. </p>\n<p>The property <code>bucket.aggregation</code> method can be one of <code>MIN</code>, <code>MAX</code>, <code>AVG</code>, <code>SUM</code>, <code>COUNT</code> or <code>FIRST</code>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","query","time-series","aggregation"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0fda2cd5-3204-448d-b117-8349f03c2de1","name":"query time series aggregation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"key\": \"temp\",\n        \"topic\": \"default\"\n    },\n    \"timestamp\": {\n        \"from\": \"2021-09-08T07:54:38.121Z\",\n        \"to\": \"2021-09-15T07:54:38.121Z\"\n    },\n    \"bucket\": {\n        \"interval\": \"PT1H\",\n        \"aggregation\": \"AVG\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/query/time-series/aggregation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"datpoints\": [],\n    \"timestamps\": []\n}"}],"_postman_id":"f29ace73-76fd-40c6-914c-7796d85b0278"},{"name":"delete device data","id":"9e2920bf-c9f2-43fd-a1f3-6ad16c0420ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \n    \"timestamp\" : {\n        \"from\": \"<dateTime>\",\n        \"to\": \"<dateTime>\"\n    },\n    \"topic\":\"<string>\"\n}"},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-delete","description":"<p>Deletes all datapoints with the the choosen topic. If * is used as topic, all datapoints regardless of topic are deleted. If no timestamps are defined all selected datapoints are deleted.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","data-delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ba869c8a-a2f6-49cc-87c9-aa725eb039db","name":"delete device data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"topic\":\"*\"}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/data-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"OPERATION_ID\",\n    \"workspaceId\": \"WORKSPACE_ID\",\n    \"creator\": \"CREATOR_ID\",\n    \"type\": \"DATA_DELETE\",\n    \"actions\": [],\n    \"started\": \"2023-07-25T15:31:10.000+00:00\",\n    \"completed\": null,\n    \"totalActionsRequired\": 1,\n    \"actionsCompleted\": 0\n}"}],"_postman_id":"9e2920bf-c9f2-43fd-a1f3-6ad16c0420ea"}],"id":"e754213a-147a-4a0f-a823-95042ff54531","description":"<p>For choosing the right endpoints, please refer to <a href=\"https://docs.akenza.io/akenza.io/get-started/reference/api-documentation/querying-device-data#id-3.-accumulators\">Quering Device Data.</a></p>\n","_postman_id":"e754213a-147a-4a0f-a823-95042ff54531","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Uplink","item":[{"name":"send HTTP uplink (JSON)","id":"0cdb063d-eaa5-410e-99d2-8f124d8b530c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-uplink-secret","value":"{{uplinkSecret}}","description":"<p>Optional. The uplink secret of the device connector of the sending device.</p>\n"},{"key":"x-device-id","value":"{{deviceId}}","description":"<p>Optional. The physical device ID of the sending device. Can be left empty for supported decoding types (e.g. TTN, Actility, Loriot etc.)</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{dataGatewayUrl}}/v3/capture?secret={{uplinkSecret}}&deviceId={{deviceId}}&timestamp={{timestamp}}&topic={{topic}}","description":"<p>Send an uplink to a Device (Device to Cloud message).</p>\n<p>Make sure the uplink secret from the appropriate device connector and the physical device ID (not the akenza ID) are used.</p>\n<p>Uplink secret and device ID can be either passed as query parameters (<code>uplinkSecret</code> and <code>deviceId</code>) or headers (<code>x-uplink-secret</code>, <code>x-device-id</code>).</p>\n<p>No additional <code>Authentication</code> header is required.</p>\n","urlObject":{"path":["v3","capture"],"host":["{{dataGatewayUrl}}"],"query":[{"description":{"content":"<p>The uplink secret of the device connector of the sending device.</p>\n","type":"text/plain"},"key":"secret","value":"{{uplinkSecret}}"},{"description":{"content":"<p>The physical device ID of the sending device. Can be left empty for supported decoding types (e.g. TTN, Actility, Loriot etc.)</p>\n","type":"text/plain"},"key":"deviceId","value":"{{deviceId}}"},{"description":{"content":"<p>Optional. The timestamp of the uplink (can be used to backfill historical data).</p>\n","type":"text/plain"},"key":"timestamp","value":"{{timestamp}}"},{"description":{"content":"<p>Optional. The topic the datapoint should be saved under. (Defaults to default if not set)</p>\n","type":"text/plain"},"key":"topic","value":"{{topic}}"}],"variable":[]}},"response":[{"id":"0357d460-e0a6-4546-8283-7024bdd3ebd1","name":"Send HTTP Uplink","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"temperature\": 26,\n    \"humidity\": 44.3\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{dataGatewayUrl}}/v3/capture?secret={{uplinkSecret}}&deviceId={{deviceId}}","host":["{{dataGatewayUrl}}"],"path":["v3","capture"],"query":[{"key":"secret","value":"{{uplinkSecret}}"},{"key":"deviceId","value":"{{deviceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.2"},{"key":"Date","value":"Fri, 06 Nov 2020 14:10:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"108"},{"key":"Connection","value":"keep-alive"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f008ccf1-c7b7-468b-8fd5-d0e34d1a0932\",\n    \"timestamp\": \"2021-03-05T14:10:18Z\",\n    \"message\": \"uplink received\"\n}"}],"_postman_id":"0cdb063d-eaa5-410e-99d2-8f124d8b530c"},{"name":"send HTTP uplink (JSON) using SAS authentication","id":"d5ac7744-dd64-46fd-a2ad-e550668f8988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-access-signature","value":"{{accessSignatureToken}}","description":"<p>Optional. The shared access signature token.</p>\n"},{"key":"x-device-id","value":"{{deviceId}}","description":"<p>Optional. The physical device ID of the sending device. Can be left empty for supported decoding types (e.g. TTN, Actility, Loriot etc.)</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{dataGatewayUrl}}/v3/capture?deviceId={{deviceId}}&timestamp={{timestamp}}","description":"<p>Send an uplink to a Device (Device to Cloud message).</p>\n<p>Make sure the uplink secret from the appropriate device connector and the physical device ID (not the akenza ID) are used.</p>\n<p>Uplink secret and device ID can be either passed as query parameters (<code>uplinkSecret</code> and <code>deviceId</code>) or headers (<code>x-uplink-secret</code>, <code>x-device-id</code>).</p>\n<p>No additional <code>Authentication</code> header is required.</p>\n","urlObject":{"path":["v3","capture"],"host":["{{dataGatewayUrl}}"],"query":[{"description":{"content":"<p>The physical device ID of the sending device. Can be left empty for supported decoding types (e.g. TTN, Actility, Loriot etc.)</p>\n","type":"text/plain"},"key":"deviceId","value":"{{deviceId}}"},{"description":{"content":"<p>Optional. The timestamp of the uplink (can be used to backfill historical data).</p>\n","type":"text/plain"},"key":"timestamp","value":"{{timestamp}}"}],"variable":[]}},"response":[{"id":"fc8753e9-b933-42ae-b5b1-b4d4d864465d","name":"Send HTTP Uplink","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"temperature\": 26,\n    \"humidity\": 44.3\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{dataGatewayUrl}}/v3/capture?secret={{uplinkSecret}}&deviceId={{deviceId}}","host":["{{dataGatewayUrl}}"],"path":["v3","capture"],"query":[{"key":"secret","value":"{{uplinkSecret}}"},{"key":"deviceId","value":"{{deviceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.2"},{"key":"Date","value":"Fri, 06 Nov 2020 14:10:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"108"},{"key":"Connection","value":"keep-alive"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f008ccf1-c7b7-468b-8fd5-d0e34d1a0932\",\n    \"timestamp\": \"2021-03-05T14:10:18Z\",\n    \"message\": \"uplink received\"\n}"}],"_postman_id":"d5ac7744-dd64-46fd-a2ad-e550668f8988"},{"name":"send HTTP uplink (XML)","id":"4f8ea949-d601-4c00-b886-2d9b2797bf5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/xml"}],"body":{"mode":"raw","raw":"<?xml version='1.0' encoding='UTF-8'?>\n<response xmlns=\"http://www.xovis.com/sensor-api/v2\">\n    <key>someValue</key>\n    <nested>\n        <nestedKey>nestedValue</nestedKey>\n    </nested>\n</response>","options":{"raw":{"language":"xml"}}},"url":"{{dataGatewayUrl}}/v3/capture?secret={{uplinkSecret}}&deviceId={{deviceId}}&timestamp={{timestamp}}","description":"<p>Generated from cURL: curl --location '<a href=\"https://data-gateway.akenza.io/v3/capture?secret=\">https://data-gateway.akenza.io/v3/capture?secret=</a>&amp;deviceId=&amp;topic=default' <br />--header 'Content-Type: application/xml' <br />--data '\n\n    someValue\n    \n        nestedValue\n    \n'</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"e22675aa-e2cf-4780-88f7-161831a8e356","id":"e22675aa-e2cf-4780-88f7-161831a8e356","name":"Uplink","type":"folder"}},"urlObject":{"path":["v3","capture"],"host":["{{dataGatewayUrl}}"],"query":[{"key":"secret","value":"{{uplinkSecret}}"},{"key":"deviceId","value":"{{deviceId}}"},{"key":"timestamp","value":"{{timestamp}}"}],"variable":[]}},"response":[],"_postman_id":"4f8ea949-d601-4c00-b886-2d9b2797bf5c"},{"name":"send HTTP uplink (CSV)","id":"20ddc8eb-8562-48fc-9a7d-4c1e67c735e4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/csv"}],"body":{"mode":"raw","raw":"value1,value2,,,,,,valueN","options":{"raw":{"language":"text"}}},"url":"{{dataGatewayUrl}}/v3/capture?secret={{uplinkSecret}}&deviceId={{deviceId}}&timestamp={{timestamp}}","description":"<p>Generated from cURL: curl --location '<a href=\"https://data-gateway.akenza.io/v3/capture?secret=\">https://data-gateway.akenza.io/v3/capture?secret=</a>&amp;deviceId=&amp;topic=default' <br />--header 'Content-Type: application/xml' <br />--data '\n\n    someValue\n    \n        nestedValue\n    \n'</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"e22675aa-e2cf-4780-88f7-161831a8e356","id":"e22675aa-e2cf-4780-88f7-161831a8e356","name":"Uplink","type":"folder"}},"urlObject":{"path":["v3","capture"],"host":["{{dataGatewayUrl}}"],"query":[{"key":"secret","value":"{{uplinkSecret}}"},{"key":"deviceId","value":"{{deviceId}}"},{"key":"timestamp","value":"{{timestamp}}"}],"variable":[]}},"response":[],"_postman_id":"20ddc8eb-8562-48fc-9a7d-4c1e67c735e4"}],"id":"e22675aa-e2cf-4780-88f7-161831a8e356","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ec5f4f9e-8eb9-4748-9630-cecf6434d164","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"271cb330-9420-4c69-b046-52690c215b7d","type":"text/javascript","exec":[""]}}],"_postman_id":"e22675aa-e2cf-4780-88f7-161831a8e356","description":""},{"name":"Downlink","item":[{"name":"Send MQTT downlink","id":"28a53aa7-f833-497b-ac54-d2b577c2da87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"mqttDownlink\": {\n        \"payload\": {\n            \"foo\": \"bar\"\n        },\n        \"topic\": \"broker/downlink/topic\",\n        \"contentType\": \"JSON\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/downlink","description":"<p>Trigger the downlink flow for an MQTT device.</p>\n<p>This downlink should only be used if a downlink encoder is present.</p>\n<p>The downlink payload in JSON is passed on to the device type where it is encoded into the final downlink and published to the downlink topic.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","downlink"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28a53aa7-f833-497b-ac54-d2b577c2da87"},{"name":"Send raw MQTT downlink","id":"c674b34c-5667-4ab0-8b80-a7378e667ced","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"mqttDownlink\": {\n        \"payload\": {\n            \"foo\": \"bar\"\n        },\n        \"topic\": \"broker/downlink/topic\",\n        \"contentType\": \"JSON\"\n    },\n    \"raw\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/downlink","description":"<p>Trigger the downlink flow for an MQTT device.</p>\n<p>The downlink payload in JSON format is published to the downlink topic.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","downlink"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c674b34c-5667-4ab0-8b80-a7378e667ced"},{"name":"Send LoRa downlink","id":"71bd82f0-b996-48ad-99f6-e981f4065243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"loraDownlink\": {\n        \"port\": 1,\n        \"confirmed\": false,\n        \"payload\": {\n            \"sendInterval\": 1200,\n            \"activeSensors\": [\"TEMPERATURE\", \"HUMIDITY\", \"CO2\"],\n            \"enableNFC\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/downlink","description":"<p>Trigger the downlink flow for a LoRaWAN device.</p>\n<p>This downlink should only be used if a downlink encoder is present.</p>\n<p>The downlink payload in JSON is passed on to the device type where it is encoded into the hexadecimal downlink format to be added to the downlink queue.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","downlink"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"71bd82f0-b996-48ad-99f6-e981f4065243"},{"name":"Send raw LoRa downlink","id":"57d4f6cd-4ff5-476a-91b8-ce31ad3bcd3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"raw\": true,\n    \"loraDownlink\": {\n        \"port\": 2,\n        \"payloadHex\": \"0e14\",\n        \"confirmed\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{akenzaDeviceId}}/downlink","description":"<p>Trigger the downlink flow for a LoRaWAN device.</p>\n<p>The downlink payload in hexadecimal format is added to the downlink queue.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{akenzaDeviceId}}","downlink"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57d4f6cd-4ff5-476a-91b8-ce31ad3bcd3b"}],"id":"a24b0383-02df-4f6d-be4f-33e4c79b1b15","_postman_id":"a24b0383-02df-4f6d-be4f-33e4c79b1b15","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Script Runs","item":[{"name":"one time script run","id":"8da992b4-7121-442f-9967-9f17254b93a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"script\": \"function consume(event) { emit('sample', {data: event.foo}); emit('foo', {data: event.foo}); emit('log', {data: event.foo}); }\",\n    \"event\": {\n        \"foo\": \"bar\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/run-script","description":"<p>Provide a script alongside an appropriate event to be executed once. Returns the result of the script execution</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","run-script"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b530cad1-3a8f-433e-970c-1b115d9ab6ac","name":"Run Script","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"script\": \"function consume(event) { emit('sample', {data: event.foo}); emit('foo', {data: event.foo}); emit('log', {data: event.foo}); }\",\n    \"event\": {\n        \"foo\": \"bar\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/run-script"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.19.2"},{"key":"Date","value":"Tue, 05 Jan 2021 09:02:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"type\": \"SAMPLE\",\n        \"event\": {\n            \"data\": \"bar\"\n        }\n    },\n    {\n        \"type\": \"ERROR\",\n        \"event\": {\n            \"message\": \"invalid emit type foo\"\n        }\n    },\n    {\n        \"type\": \"LOG\",\n        \"event\": {\n            \"data\": \"bar\"\n        }\n    }\n]"}],"_postman_id":"8da992b4-7121-442f-9967-9f17254b93a2"}],"id":"a4d28588-6162-472e-8fe7-7009a4a4579a","_postman_id":"a4d28588-6162-472e-8fe7-7009a4a4579a","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Operations","item":[{"name":"get operation by id","id":"311ec6fa-d035-44fd-8bbd-d67e18fc5c08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/operations/{{operationId}}","description":"<p>This endpoint is designed to track asynchronouse operations.</p>\n<p>Depending on the operation and success state different data can be found in each action.</p>\n<p>If an endpoint returns an operation poll this endpoint until the succeeded field is ether true or false.</p>\n<p>If the operation was completed successfully the succeeded field will be set to true and the completed will be set to the time of completion.</p>\n<p>If one of the required actions failed the succeeded field will be set to false on completions. The error reason can then be found in the actions.</p>\n<p>No rollback for failed actions will be done. Only repeat the failed actions after the reason for the error is resolved.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","operations","{{operationId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ba3c614d-7701-4e3d-9983-fcd8a33b9cf6","name":"get failed operation by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/operations/6600000000000000"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [\n        {\n            \"id\": \"6700000000000000\",\n            \"type\": \"CREATE\",\n            \"state\": \"FAILED\",\n            \"data\": {\n                \"name\": \"create device with deviceId: 125326485978979\",\n                \"error\": \"deviceId must be unique (125326485978979)\",\n                \"deviceId\": \"125326485978979\"\n            },\n            \"started\": \"2022-01-27T13:13:10.000+00:00\",\n            \"completed\": \"2022-01-27T13:13:10.000+00:00\"\n        },\n        {\n            \"id\": \"6700000000000001\",\n            \"type\": \"CREATE\",\n            \"state\": \"SUCCEEDED\",\n            \"data\": {\n                \"name\": \"create device with deviceId: 1236456785685046\",\n                \"id\": \"029f099faed1ed13\",\n                \"deviceId\": \"1236456785685046\"\n            },\n            \"started\": \"2022-01-27T13:13:10.000+00:00\",\n            \"completed\": \"2022-01-27T13:13:10.000+00:00\"\n        },\n        {\n            \"id\": \"6700000000000002\",\n            \"type\": \"CREATE\",\n            \"state\": \"SUCCEEDED\",\n            \"data\": {\n                \"name\": \"create device with deviceId: 3526485765643202\",\n                \"id\": \"02c00ef6a0f016ef\",\n                \"deviceId\": \"3526485765643202\"\n            },\n            \"started\": \"2022-01-27T13:13:10.000+00:00\",\n            \"completed\": \"2022-01-27T13:13:10.000+00:00\"\n        }\n    ],\n    \"started\": \"2022-01-27T13:13:10.000+00:00\",\n    \"completed\": \"2022-01-27T13:13:11.000+00:00\",\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 3,\n    \"succeeded\": false\n}"},{"id":"8a2bb654-8668-4ddc-9648-06739ab7c6d0","name":"get succeeded operation by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/operations/6600000000000001"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6600000000000001\",\n    \"workspaceId\": \"2900000000000000\",\n    \"creator\": \"5200000000000000\",\n    \"type\": \"BULK_CREATE\",\n    \"actions\": [\n      {\n        \"id\": \"6700000000000000\",\n        \"type\": \"CREATE\",\n        \"state\": \"SUCCEEDED\",\n        \"data\": {\n          \"name\": \"create device with deviceId: 125326485978979\",\n          \"id\": \"029bb8d4e390cfcd\",\n          \"deviceId\": \"125326485978979\"\n        },\n        \"started\": \"2022-01-27T13:05:59.000+00:00\",\n        \"completed\": \"2022-01-27T13:05:59.000+00:00\"\n      },\n      {\n        \"id\": \"6700000000000001\",\n        \"type\": \"CREATE\",\n        \"state\": \"SUCCEEDED\",\n        \"data\": {\n          \"name\": \"create device with deviceId: 1236456785768546\",\n          \"id\": \"02ca6686211fdab6\",\n          \"deviceId\": \"1236456785768546\"\n        },\n        \"started\": \"2022-01-27T13:05:59.000+00:00\",\n        \"completed\": \"2022-01-27T13:05:59.000+00:00\"\n      },\n      {\n        \"id\": \"6700000000000002\",\n        \"type\": \"CREATE\",\n        \"state\": \"SUCCEEDED\",\n        \"data\": {\n          \"name\": \"create device with deviceId: 3526485767564322\",\n          \"id\": \"0241a7704e73bfac\",\n          \"deviceId\": \"3526485767564322\"\n        },\n        \"started\": \"2022-01-27T13:05:59.000+00:00\",\n        \"completed\": \"2022-01-27T13:05:59.000+00:00\"\n      }\n    ],\n    \"started\": \"2022-01-27T13:05:58.000+00:00\",\n    \"completed\": \"2022-01-27T13:05:59.000+00:00\",\n    \"totalActionsRequired\": 3,\n    \"actionsCompleted\": 3,\n    \"succeeded\": true\n  }"}],"_postman_id":"311ec6fa-d035-44fd-8bbd-d67e18fc5c08"}],"id":"f8fe503e-9f39-405f-8dfd-b820817f2653","_postman_id":"f8fe503e-9f39-405f-8dfd-b820817f2653","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Rules","item":[{"name":"create comparison rule","id":"6c958891-8ac8-4e36-81e4-bbe0c4625555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"<actionName>\",\n            \"type\": \"<ACTION_TYPE>\"\n        }\n    ],\n    \"description\": \"<description>\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"<inputName>\",\n            \"type\": \"<INPUT_TYPE>\"\n        },\n        {\n            \"id\": \"<inputId2>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"TAG_COMBINATION\",\n            \"tagCombination\":\"<tagId> && !(!<tagId2> || <tagId3>)\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"dataKey\": \"<dataKey>\",\n                \"dataTopic\": \"<topic>\",\n                \"id\": \"<dataSourceid>\",\n                \"inputIds\": [\n                    \"<inputId>\",\n                    \"<inputId2>\"\n                ],\n                \"lastSample\": false,\n                \"triggerOnUplink\": true,\n                \"valueType\": \"<VALUE_TYPE>\"\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"actionIds\": [\n                    \"<actionId>\"\n                ],\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"dataKey\": \"<dataKey>\",\n                            \"dataSourceId\": \"<dataSourceid>\",\n                            \"type\": \"<OPERAND_TYPE>\"\n                        },\n                        \"operandSecond\": {\n                            \"type\": \"<OPERAND_TYPE>\",\n                            \"value\": \"<someConstantValue>\"\n                        },\n                        \"operator\": \"<OPERATOR>\",\n                        \"order\": 0\n                    }\n                ]\n            }\n        ],\n        \"type\": \"<LOGIC_TYPE>\"\n    },\n    \"name\": \"<ruleName>\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules","urlObject":{"path":["v3","rules"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ccf5efbc-ba3d-484c-9a33-75a250e2f2d3","name":"create comparison rule","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"Mail oc\",\n            \"type\": \"MAIL\"\n        }\n    ],\n    \"description\": \"\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"DEVICE\"\n        },\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"TAG_COMBINATION\",\n            \"tagCombination\":\"<tagId> && !(!<tagId2> || <tagId3>)\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"dataKey\": \"temperature\",\n                \"dataTopic\": \"default\",\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\",\n                    \"<inputId2>\"\n                ],\n                \"lastSample\": false,\n                \"triggerOnUplink\": true,\n                \"valueType\": \"NUMERICAL\"\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"actionIds\": [\n                    \"<actionId>\"\n                ],\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\",\n                            \"type\": \"DATA_SOURCE\"\n                        },\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"value\": 0\n                        },\n                        \"operator\": \"EQ\",\n                        \"order\": 0\n                    }\n                ]\n            }\n        ],\n        \"type\": \"COMPARISON\"\n    },\n    \"name\": \"Simple rule\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"Simple rule\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"DEVICE\"\n        },\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"TAG_COMBINATION\",\n            \"tagCombination\":\"<tagId> && !(!<tagId2> || <tagId3>)\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"logic\": {\n        \"type\": \"COMPARISON\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\",\n                    \"<inputId2>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"variableName\": null,\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"DATA_SOURCE\",\n                            \"valueType\": null,\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"EQ\",\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"Mail oc\",\n            \"type\": \"MAIL\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-04T08:17:55Z\",\n    \"updated\": \"2022-08-04T08:17:55Z\",\n    \"version\": 0,\n    \"nextExecution\": null,\n    \"id\": \"<ruleId>\"\n}"}],"_postman_id":"6c958891-8ac8-4e36-81e4-bbe0c4625555"},{"name":"get rule by id","id":"b6960ef9-4fa9-4a92-b1d3-d9bb8aa50517","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/rules/{{ruleId}}?workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","{{ruleId}}"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"b6ae8bb6-5e1d-4056-88c6-a36d891d2b35","name":"get rule by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/rules/{{ruleId}}?workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","rules","{{ruleId}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<ruleId>\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"Simple rule\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"nextExecution\": null,\n    \"logic\": {\n        \"type\": \"COMPARISON\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"variableName\": null,\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"DATA_SOURCE\",\n                            \"valueType\": null,\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"EQ\",\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"Mail oc\",\n            \"type\": \"MAIL\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-04T08:17:55Z\",\n    \"updated\": \"2022-08-04T08:17:55Z\",\n    \"version\": 0\n}"}],"_postman_id":"b6960ef9-4fa9-4a92-b1d3-d9bb8aa50517"},{"name":"update rule","id":"2985f09e-3afa-48ce-9fba-27a2d73a8ed1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<workspaceId\",\n    \"name\": \"<ruleName>\",\n    \"description\": \"<desc>\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"<inputName>\",\n            \"type\": \"<INPUT_TYPE>\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"nextExecution\": null,\n    \"logic\": {\n        \"type\": \"<LOGIC_TYPE>\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"<topic>\",\n                \"dataKey\": \"<dataKey>\",\n                \"variableName\": null,\n                \"valueType\": \"<VALUE_TYPE>\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"<OPERAND_TYPE>\",\n                            \"valueType\": null,\n                            \"dataKey\": \"<dataKey>\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"<OPERATOR_TYPE>\",\n                        \"operandSecond\": {\n                            \"type\": \"<OPERAND_TYPE>\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"<actionName>\",\n            \"type\": \"<ACTION_TYPE>\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"version\": 0,\n    \"id\": \"<ruleId>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules/{{ruleId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","{{ruleId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"35f78334-d5f9-474e-88a0-8a75c62fccba","name":"update rule","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"Simple rule updated\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"logic\": {\n        \"type\": \"COMPARISON\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"variableName\": null,\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"DATA_SOURCE\",\n                            \"valueType\": null,\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"EQ\",\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"Mail oc\",\n            \"type\": \"MAIL\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-04T08:17:55Z\",\n    \"updated\": \"2022-08-04T08:17:55Z\",\n    \"version\": 1,\n    \"nextExecution\": null,\n    \"id\": \"<ruleId>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules/{{ruleId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"Simple rule updated\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"ContentTypeHttp Device\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"logic\": {\n        \"type\": \"COMPARISON\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"variableName\": null,\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"DATA_SOURCE\",\n                            \"valueType\": null,\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"EQ\",\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"Mail oc\",\n            \"type\": \"MAIL\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-04T08:17:55Z\",\n    \"updated\": \"2022-08-04T08:41:11Z\",\n    \"version\": 1,\n    \"nextExecution\": null,\n    \"id\": \"<ruleId>\"\n}"}],"_postman_id":"2985f09e-3afa-48ce-9fba-27a2d73a8ed1"},{"name":"get all rules","id":"330eded5-b312-411a-b8f5-4b363c5fe088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/rules?size=50&workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules"],"host":["{{baseUrl}}"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"cd7cea92-98f4-4fcd-a24e-d637d2880543","name":"get all rules","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/rules?size=50&workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","rules"],"query":[{"key":"size","value":"50"},{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"<ruleId>\",\n            \"workspaceId\": \"<workspaceId>\",\n            \"name\": \"Custom Payload Test Rule\",\n            \"description\": \"\",\n            \"inputs\": [\n                {\n                    \"id\": \"<inputId>\",\n                    \"name\": \"My MQTT Device\",\n                    \"type\": \"DEVICE\"\n                }\n            ],\n            \"timer\": {\n                \"enabled\": false,\n                \"schedule\": null\n            },\n            \"nextExecution\": null,\n            \"logic\": {\n                \"type\": \"COMPARISON\",\n                \"dataSources\": [\n                    {\n                        \"id\": \"<dataSourceId>\",\n                        \"inputIds\": [\n                            \"<inputId>\"\n                        ],\n                        \"dataTopic\": \"default\",\n                        \"dataKey\": \"temperature\",\n                        \"variableName\": null,\n                        \"valueType\": \"NUMERICAL\",\n                        \"lastSample\": false,\n                        \"triggerOnUplink\": true\n                    }\n                ],\n                \"logicBlocks\": [\n                    {\n                        \"conditions\": [\n                            {\n                                \"operandFirst\": {\n                                    \"type\": \"DATA_SOURCE\",\n                                    \"valueType\": null,\n                                    \"dataKey\": \"temperature\",\n                                    \"dataSourceId\": \"<dataSourceId>\"\n                                },\n                                \"operator\": \"EQ\",\n                                \"operandSecond\": {\n                                    \"type\": \"CONSTANT\",\n                                    \"valueType\": null,\n                                    \"value\": 50\n                                },\n                                \"order\": 0,\n                                \"chainOperator\": null\n                            }\n                        ],\n                        \"actionIds\": [\n                            \"<actionId>\"\n                        ]\n                    }\n                ],\n                \"customLogic\": null\n            },\n            \"actions\": [\n                {\n                    \"id\": \"<actionId>\",\n                    \"name\": \"Test Custom DB\",\n                    \"type\": \"CUSTOM_AKENZA_DATABASE\",\n                    \"configuration\": {}\n                }\n            ],\n            \"active\": true,\n            \"deleted\": false,\n            \"created\": \"2022-08-01T11:42:34Z\",\n            \"updated\": \"2022-08-01T11:42:34Z\",\n            \"version\": 0\n        },\n        {\n            \"id\": \"<ruleId>\",\n            \"workspaceId\": \"<workspaceId>\",\n            \"name\": \"SecondRule\",\n            \"description\": \"\",\n            \"inputs\": [\n                {\n                    \"id\": \"<inputId>\",\n                    \"name\": \"ContentTypeHttp Device\",\n                    \"type\": \"DEVICE\"\n                }\n            ],\n            \"timer\": {\n                \"enabled\": false,\n                \"schedule\": null\n            },\n            \"nextExecution\": null,\n            \"logic\": {\n                \"type\": \"CUSTOM_LOGIC\",\n                \"dataSources\": [\n                    {\n                        \"id\": \"<dataSourceId>\",\n                        \"inputIds\": [\n                            \"<inputId>\"\n                        ],\n                        \"dataTopic\": \"default\",\n                        \"dataKey\": \"temperature\",\n                        \"variableName\": \"temp_1\",\n                        \"valueType\": \"NUMERICAL\",\n                        \"lastSample\": false,\n                        \"triggerOnUplink\": true\n                    }\n                ],\n                \"logicBlocks\": null,\n                \"customLogic\": {\n                    \"customLogicId\": \"<customLogicBlockId>\",\n                    \"actionIds\": [\n                        \"<actionId>\"\n                    ],\n                    \"properties\": [\n                        {\n                            \"name\": \"propName\",\n                            \"description\": \"propDesc\",\n                            \"variableName\": \"tempAdd\",\n                            \"value\": 2,\n                            \"type\": \"NUMERICAL\"\n                        }\n                    ],\n                    \"name\": \"updatedName\"\n                }\n            },\n            \"actions\": [\n                {\n                    \"id\": \"<actionId>\",\n                    \"name\": \"Test Custom DB\",\n                    \"type\": \"CUSTOM_AKENZA_DATABASE\",\n                    \"configuration\": {}\n                }\n            ],\n            \"active\": true,\n            \"deleted\": false,\n            \"created\": \"2022-08-02T07:56:04Z\",\n            \"updated\": \"2022-08-02T07:56:19Z\",\n            \"version\": 1\n        },\n        {\n            \"id\": \"<ruleId>\",\n            \"workspaceId\": \"<workspaceId>\",\n            \"name\": \"Simple rule updated\",\n            \"description\": \"\",\n            \"inputs\": [\n                {\n                    \"id\": \"<inputId>\",\n                    \"name\": \"ContentTypeHttp Device\",\n                    \"type\": \"DEVICE\"\n                }\n            ],\n            \"timer\": {\n                \"enabled\": false,\n                \"schedule\": null\n            },\n            \"nextExecution\": null,\n            \"logic\": {\n                \"type\": \"COMPARISON\",\n                \"dataSources\": [\n                    {\n                        \"id\": \"<dataSourceId>\",\n                        \"inputIds\": [\n                            \"<inputId>\"\n                        ],\n                        \"dataTopic\": \"default\",\n                        \"dataKey\": \"temperature\",\n                        \"variableName\": null,\n                        \"valueType\": \"NUMERICAL\",\n                        \"lastSample\": false,\n                        \"triggerOnUplink\": true\n                    }\n                ],\n                \"logicBlocks\": [\n                    {\n                        \"conditions\": [\n                            {\n                                \"operandFirst\": {\n                                    \"type\": \"DATA_SOURCE\",\n                                    \"valueType\": null,\n                                    \"dataKey\": \"temperature\",\n                                    \"dataSourceId\": \"<dataSourceId>\"\n                                },\n                                \"operator\": \"EQ\",\n                                \"operandSecond\": {\n                                    \"type\": \"CONSTANT\",\n                                    \"valueType\": null,\n                                    \"value\": 0\n                                },\n                                \"order\": 0,\n                                \"chainOperator\": null\n                            }\n                        ],\n                        \"actionIds\": [\n                            \"<actionId>\"\n                        ]\n                    }\n                ],\n                \"customLogic\": null\n            },\n            \"actions\": [\n                {\n                    \"id\": \"<actionId>\",\n                    \"name\": \"Mail oc\",\n                    \"type\": \"MAIL\",\n                    \"configuration\": {}\n                }\n            ],\n            \"active\": true,\n            \"deleted\": false,\n            \"created\": \"2022-08-04T08:17:55Z\",\n            \"updated\": \"2022-08-04T08:41:11Z\",\n            \"version\": 1\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"unsorted\": false,\n            \"sorted\": true,\n            \"empty\": false\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 50,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 1,\n    \"totalElements\": 3,\n    \"last\": true,\n    \"size\": 50,\n    \"number\": 0,\n    \"sort\": {\n        \"unsorted\": false,\n        \"sorted\": true,\n        \"empty\": false\n    },\n    \"numberOfElements\": 3,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"330eded5-b312-411a-b8f5-4b363c5fe088"},{"name":"delete rule","id":"63f14403-9ce9-4a45-b93c-b07aabf0e02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/rules/{{ruleId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","{{ruleId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"db5acc49-73dc-4a75-ac76-ea1c67785b62","name":"delete rule","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/rules/{{ruleId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule successfully deleted.\"\n}"}],"_postman_id":"63f14403-9ce9-4a45-b93c-b07aabf0e02d"},{"name":"create custom logic rule","id":"be835947-2f56-4997-b0cc-2358c6998971","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\"\n        }\n    ],\n    \"description\": \"\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"variableName\": \"input\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataKey\": \"temp\",\n                \"dataTopic\": \"default\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true,\n                \"valueType\": null\n            }\n        ],\n        \"customLogic\": {\n            \"customLogicId\": \"<customLogicId>\",\n            \"actionIds\": [\n                \"<actionId>\"\n            ],\n            \"properties\": []\n        },\n        \"type\": \"CUSTOM_LOGIC\"\n    },\n    \"name\": \"CustomLogicRule\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"8a74bdc2-ea4b-4d74-afc0-8ee8364f10ac","name":"create custom logic rule","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\"\n        }\n    ],\n    \"description\": \"\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"variableName\": \"input\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataKey\": \"temp\",\n                \"dataTopic\": \"default\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true,\n                \"valueType\": null\n            }\n        ],\n        \"customLogic\": {\n            \"customLogicId\": \"<customLogicId>\",\n            \"actionIds\": [\n                \"<actionId>\"\n            ],\n            \"properties\": []\n        },\n        \"type\": \"CUSTOM_LOGIC\"\n    },\n    \"name\": \"CustomLogicRule\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"CustomLogicRule\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": false,\n        \"schedule\": null\n    },\n    \"logic\": {\n        \"type\": \"CUSTOM_LOGIC\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temp\",\n                \"variableName\": \"input\",\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": false,\n                \"triggerOnUplink\": true\n            }\n        ],\n        \"logicBlocks\": null,\n        \"customLogic\": {\n            \"customLogicId\": \"<customLogicId>\",\n            \"actionIds\": [\n                \"<actionId>\"\n            ],\n            \"properties\": []\n        }\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-08T12:37:45Z\",\n    \"updated\": \"2022-08-08T12:37:45Z\",\n    \"version\": 0,\n    \"nextExecution\": null,\n    \"id\": \"<ruleId>\"\n}"}],"_postman_id":"be835947-2f56-4997-b0cc-2358c6998971"},{"name":"create comparison timed rule","id":"53a55d1c-2131-4a1a-838a-58ce5c062b73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\"\n        }\n    ],\n    \"description\": \"\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"dataKey\": \"temperature\",\n                \"dataTopic\": \"default\",\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"lastSample\": true,\n                \"triggerOnUplink\": false,\n                \"valueType\": \"NUMERICAL\"\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"actionIds\": [\n                    \"<actionId>\"\n                ],\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\",\n                            \"type\": \"DATA_SOURCE\"\n                        },\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"value\": 0\n                        },\n                        \"operator\": \"EQ\",\n                        \"order\": 0\n                    }\n                ]\n            }\n        ],\n        \"type\": \"COMPARISON\"\n    },\n    \"name\": \"TimedRule\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {\n        \"enabled\": true,\n        \"schedule\": \"36 43 12/1 ? * * *\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"321be527-932e-48a7-bbae-f1e5293e0a27","name":"create comparison timed rule","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"actions\": [\n        {\n            \"configuration\": {},\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\"\n        }\n    ],\n    \"description\": \"\",\n    \"active\": true,\n    \"id\": null,\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"logic\": {\n        \"dataSources\": [\n            {\n                \"dataKey\": \"temperature\",\n                \"dataTopic\": \"default\",\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"lastSample\": true,\n                \"triggerOnUplink\": false,\n                \"valueType\": \"NUMERICAL\"\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"actionIds\": [\n                    \"<actionId>\"\n                ],\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\",\n                            \"type\": \"DATA_SOURCE\"\n                        },\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"value\": 0\n                        },\n                        \"operator\": \"EQ\",\n                        \"order\": 0\n                    }\n                ]\n            }\n        ],\n        \"type\": \"COMPARISON\"\n    },\n    \"name\": \"TimedRule\",\n    \"workspaceId\": \"<workspaceId>\",\n    \"timer\": {\n        \"enabled\": true,\n        \"schedule\": \"36 43 12/1 ? * * *\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"workspaceId\": \"<workspaceId>\",\n    \"name\": \"TimedRule\",\n    \"description\": \"\",\n    \"inputs\": [\n        {\n            \"id\": \"<inputId>\",\n            \"name\": \"http device 1\",\n            \"type\": \"DEVICE\"\n        }\n    ],\n    \"timer\": {\n        \"enabled\": true,\n        \"schedule\": \"36 43 12/1 ? * * *\"\n    },\n    \"logic\": {\n        \"type\": \"COMPARISON\",\n        \"dataSources\": [\n            {\n                \"id\": \"<dataSourceId>\",\n                \"inputIds\": [\n                    \"<inputId>\"\n                ],\n                \"dataTopic\": \"default\",\n                \"dataKey\": \"temperature\",\n                \"variableName\": null,\n                \"valueType\": \"NUMERICAL\",\n                \"lastSample\": true,\n                \"triggerOnUplink\": false\n            }\n        ],\n        \"logicBlocks\": [\n            {\n                \"conditions\": [\n                    {\n                        \"operandFirst\": {\n                            \"type\": \"DATA_SOURCE\",\n                            \"valueType\": null,\n                            \"dataKey\": \"temperature\",\n                            \"dataSourceId\": \"<dataSourceId>\"\n                        },\n                        \"operator\": \"EQ\",\n                        \"operandSecond\": {\n                            \"type\": \"CONSTANT\",\n                            \"valueType\": null,\n                            \"value\": 0\n                        },\n                        \"order\": 0,\n                        \"chainOperator\": null\n                    }\n                ],\n                \"actionIds\": [\n                    \"<actionId>\"\n                ]\n            }\n        ],\n        \"customLogic\": null\n    },\n    \"actions\": [\n        {\n            \"id\": \"<actionId>\",\n            \"name\": \"custom\",\n            \"type\": \"CUSTOM_AKENZA_DATABASE\",\n            \"configuration\": {}\n        }\n    ],\n    \"active\": true,\n    \"deleted\": false,\n    \"created\": \"2022-08-08T12:44:20Z\",\n    \"updated\": \"2022-08-08T12:44:20Z\",\n    \"version\": 0,\n    \"nextExecution\": \"2022-08-08T13:43:36Z\",\n    \"id\": \"<ruleId>\"\n}"}],"_postman_id":"53a55d1c-2131-4a1a-838a-58ce5c062b73"}],"id":"3d6b62ba-b607-4a7d-9d71-a6b49b269e50","_postman_id":"3d6b62ba-b607-4a7d-9d71-a6b49b269e50","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Device Configuration","item":[{"name":"create configuration","id":"d92872e5-877b-4687-b53d-a760bb8c7061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\":\"{{workspaceId}}\",\n    \"configuration\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration","description":"<p>This will automatically push the configuration change to the device if it is online. Otherwise, if the automaticConfigurationPush option is enabled on the device connector, the latest configuration will be sent when the device connects.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d99226d8-bb58-4716-ab3a-a9eeb927adcb","name":"create configuration","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"workspaceId\":\"{{workspaceId}}\",\n    \"configuration\": {\n        \"foo\":\"bar\",\n        \"bar\":{\n            \"foo\":\"bar\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:32:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"020000000000000\",\n    \"workspaceId\": \"290000000000000\",\n    \"configuration\": {\n        \"bar\": {\n            \"foo\": \"bar\"\n        },\n        \"foo\": \"bar\"\n    },\n    \"created\": \"2022-07-28T15:55:50.257+00:00\",\n    \"version\": 2\n}"}],"_postman_id":"d92872e5-877b-4687-b53d-a760bb8c7061"},{"name":"get configuration list","id":"75b44e33-82ea-40ca-b328-5c474536bbd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration?workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration"],"host":["{{baseUrl}}"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"e978a8e2-d605-4440-a685-fb0378754242","name":"get configuration list","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration?workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","devices","{{deviceId}}","configuration"],"query":[{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:38:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"633"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"deviceId\": \"020000000000000\",\n            \"workspaceId\": \"290000000000000\",\n            \"configuration\": {\n                \"bar\": {\n                    \"foo\": \"bar\"\n                },\n                \"foo\": \"bar\"\n            },\n            \"created\": \"2022-07-28T15:55:50.257+00:00\",\n            \"version\": 1\n        },\n        {\n            \"deviceId\": \"020000000000002\",\n            \"workspaceId\": \"290000000000000\",\n            \"configuration\": {\n                \"bar\": {\n                    \"foo\": \"bar\"\n                },\n                \"foo\": \"bar\"\n            },\n            \"created\": \"2022-07-28T15:55:50.257+00:00\",\n            \"version\": 2\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"empty\": false,\n            \"sorted\": true,\n            \"unsorted\": false\n        },\n        \"offset\": 0,\n        \"pageNumber\": 0,\n        \"pageSize\": 20,\n        \"paged\": true,\n        \"unpaged\": false\n    },\n    \"totalPages\": 1,\n    \"totalElements\": 2,\n    \"last\": true,\n    \"size\": 20,\n    \"number\": 0,\n    \"sort\": {\n        \"empty\": false,\n        \"sorted\": true,\n        \"unsorted\": false\n    },\n    \"numberOfElements\": 2,\n    \"first\": true,\n    \"empty\": false\n}"}],"_postman_id":"75b44e33-82ea-40ca-b328-5c474536bbd4"},{"name":"get latest configuration","id":"b23a9b30-bf88-4083-be58-7609ccdab94c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/latest","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration","latest"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1ff9e223-1666-4b22-8e6e-bbaeb0223ded","name":"get latest configuration","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/latest"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:45:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"020000000000000\",\n    \"workspaceId\": \"290000000000000\",\n    \"configuration\": {\n        \"bar\": {\n            \"foo\": \"bar\"\n        },\n        \"foo\": \"bar\"\n    },\n    \"created\": \"2022-07-28T15:55:50.257+00:00\",\n    \"version\": 2\n}"}],"_postman_id":"b23a9b30-bf88-4083-be58-7609ccdab94c"},{"name":"get configuration by version","id":"4310ce20-6b86-43b3-ad2f-06e887032f63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/{{configurationVersion}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration","{{configurationVersion}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e4db8215-edbc-49d9-9277-fe6f68479ee4","name":"get configuration by version","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:47:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"020000000000000\",\n    \"workspaceId\": \"290000000000000\",\n    \"configuration\": {\n        \"bar\": {\n            \"foo\": \"bar\"\n        },\n        \"foo\": \"bar\"\n    },\n    \"created\": \"2022-07-28T15:55:50.257+00:00\",\n    \"version\": 2\n}"}],"_postman_id":"4310ce20-6b86-43b3-ad2f-06e887032f63"},{"name":"send configuration downlink","id":"309ce5c2-b1d0-4837-9297-adfd9000a84b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/push","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration","push"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"5ee02857-1b6f-434b-9d2d-f6840a578115","name":"send configuration downlink","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/push"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:47:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Configuration successfully sent\"\n}"}],"_postman_id":"309ce5c2-b1d0-4837-9297-adfd9000a84b"},{"name":"delete configuration","id":"b1221c8c-c8a5-4499-ac60-5b6c3ea7078a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/{{configurationVersion}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","devices","{{deviceId}}","configuration","{{configurationVersion}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e1b463ef-73a8-4036-b543-d18763f17daf","name":"delete configuration","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/devices/{{deviceId}}/configuration/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.23.2"},{"key":"Date","value":"Thu, 17 Nov 2022 10:49:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-RateLimit-Remaining","value":"24"},{"key":"X-RateLimit-Requested-Tokens","value":"1"},{"key":"X-RateLimit-Burst-Capacity","value":"25"},{"key":"X-RateLimit-Replenish-Rate","value":"10"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1 ; mode=block"},{"key":"Referrer-Policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"deviceId\": \"020000000000000\",\n    \"workspaceId\": \"290000000000000\",\n    \"configuration\": {\n        \"bar\": {\n            \"foo\": \"bar\"\n        },\n        \"foo\": \"bar\"\n    },\n    \"created\": \"2022-07-28T15:55:50.257+00:00\",\n    \"version\": 2\n}"}],"_postman_id":"b1221c8c-c8a5-4499-ac60-5b6c3ea7078a"}],"id":"330a150e-a7be-476b-90a8-050364477516","_postman_id":"330a150e-a7be-476b-90a8-050364477516","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Device Credentials","item":[{"name":"create device credential","id":"3179e9d3-17b2-483e-af92-a4646b808987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"algorithm\": \"<enum>\",\n    \"publicKey\": \"<public key or certificate in PEM format>\",\n    \"expiration\": \"<iso-8601-timestamp>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials","description":"<p>name and expration are optional</p>\n<p>valid values for the algorithm enum are:</p>\n<ul>\n<li>RSA256_PEM</li>\n<li>RSA256_X509_PEM</li>\n<li>EC256_PEM</li>\n<li>EC256_X509_PEM</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-authorization","devices","{{akenzaDeviceId}}","credentials"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2846cd04-e18a-4df0-b6be-a5d962460f36","name":"Create Device Credential","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"algorithm\": \"<enum>\",\n    \"publicKey\": \"<public key or certificate in PEM format>\",\n    \"expiration\": \"<iso-8601-timestamp>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"akenzaDeviceId\": \"<string>\",\n    \"deviceId\": \"<string>\",\n    \"algorithm\": \"<enum>\",\n    \"publicKey\": \"<string>\",\n    \"finerprint\": \"<string>\",\n    \"expiration\": \"<iso-8601-timestamp>\",\n    \"created\": \"<iso-8601-timestamp>\"\n}"}],"_postman_id":"3179e9d3-17b2-483e-af92-a4646b808987"},{"name":"get device credentials by device","id":"885d3951-b974-4279-a92d-f80c9d73b13e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-authorization","devices","{{akenzaDeviceId}}","credentials"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3f54e0aa-5a3a-4fcc-80a0-ba02a881c33a","name":"Get All Device Credentials for a Device","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\",\n            \"akenzaDeviceId\": \"<string>\",\n            \"deviceId\": \"<string>\",\n            \"algorithm\": \"<enum>\",\n            \"publicKey\": \"<string>\",\n            \"finerprint\": \"<string>\",\n            \"expiration\": \"<iso-8601-timestamp>\",\n            \"created\": \"<iso-8601-timestamp>\"\n        }\n    ]\n}"}],"_postman_id":"885d3951-b974-4279-a92d-f80c9d73b13e"},{"name":"delete device credential","id":"a0631a24-98ee-464f-a554-ff2de73e4e54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","device-authorization","devices","{{akenzaDeviceId}}","credentials"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a5d0c3ce-ed64-4bd5-bdc8-e9353ec51cc7","name":"Delete a Device Credential","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/device-authorization/devices/{{akenzaDeviceId}}/credentials/{{deviceCredentialId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"<string>\"\n}"}],"_postman_id":"a0631a24-98ee-464f-a554-ff2de73e4e54"}],"id":"1daae76d-f88a-48fd-8a4c-f32cd079bd76","_postman_id":"1daae76d-f88a-48fd-8a4c-f32cd079bd76","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Custom Logic","item":[{"name":"create custom logic block","id":"956b717b-7dca-4dae-ad39-aa8590a36fa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"akenza - CLB\",\n    \"description\": null,\n    \"organizationId\": \"2800000000000001\",\n    \"script\": \"function consume(event) {\\n  var temperature = event.inputs[\\\"temperature\\\"]\\n  var threshold = event.properties[\\\"threshold\\\"]\\n  if(temperature < threshold) {\\n    emit(\\\"action\\\", { message: \\\"it is too cold\\\" });\\n  }\\n}\",\n    \"dataSources\": [\n        {\n            \"name\": \"temp\",\n            \"description\": null,\n            \"variableName\": \"temperature\",\n            \"defaultTopic\": \"default\",\n            \"defaultDataKey\": null\n        }\n    ],\n    \"properties\": [\n        {\n            \"name\": \"temp - threshold\",\n            \"variableName\": \"threshold\",\n            \"type\": \"NUMERICAL\",\n            \"defaultValue\": \"18\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules/custom","description":"<p>Create a custom logic block.</p>\n<p>The property <code>properties[x].type</code> can be one of <code>NUMERICAL, STRING</code> or <code>BOOLEAN</code>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","custom"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"72a9d6c6-1613-47d8-be6e-69079265739d","name":"Create Custom Logic Block","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"akenza - CLB\",\n    \"description\": null,\n    \"organizationId\": \"2800000000000001\",\n    \"script\": \"function consume(event) {\\n  var temperature = event.inputs[\\\"temperature\\\"]\\n  var threshold = event.properties[\\\"threshold\\\"]\\n  if(temperature < threshold) {\\n    emit(\\\"action\\\", { message: \\\"it is too cold\\\" });\\n  }\\n}\",\n    \"dataSources\": [\n        {\n            \"name\": \"temp\",\n            \"description\": null,\n            \"variableName\": \"temperature\",\n            \"defaultTopic\": \"default\",\n            \"defaultDataKey\": null\n        }\n    ],\n    \"properties\": [\n        {\n            \"name\": \"temp - threshold\",\n            \"variableName\": \"threshold\",\n            \"type\": \"NUMERICAL\",\n            \"defaultValue\": \"18\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules/custom"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"customLogicId\": \"3700000000000000\",\n    \"organizationId\": \"2800000000000001\",\n    \"name\": \"akenza - CLB\",\n    \"description\": null,\n    \"dataSources\": [\n        {\n            \"name\": \"temp\",\n            \"description\": null,\n            \"variableName\": \"temperature\",\n            \"defaultTopic\": \"default\",\n            \"defaultDataKey\": null,\n            \"lastSample\": false,\n            \"triggerOnUplink\": false\n        }\n    ],\n    \"properties\": [\n        {\n            \"name\": \"temp - threshold\",\n            \"description\": null,\n            \"variableName\": \"threshold\",\n            \"defaultValue\": \"18\",\n            \"type\": \"NUMERICAL\"\n        }\n    ],\n    \"script\": \"function consume(event) {\\n  var temperature = event.inputs[\\\"temperature\\\"]\\n  var threshold = event.properties[\\\"threshold\\\"]\\n  if(temperature < threshold) {\\n    emit(\\\"action\\\", { message: \\\"it is too cold\\\" });\\n  }\\n}\",\n    \"id\": \"3700000000000000\"\n}"}],"_postman_id":"956b717b-7dca-4dae-ad39-aa8590a36fa7"},{"name":"update custom logic block","id":"e622cb95-81b0-4ffc-ae2f-c113786275f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"3700000000000000\",\n    \"name\": \"akenza - CLB - update\",\n    \"description\": null,\n    \"organizationId\": \"2800000000000001\",\n    \"script\": \"function consume(event) {\\n  var temperature = event.inputs[\\\"temperature\\\"]\\n  var threshold = event.properties[\\\"threshold\\\"]\\n  if(temperature < threshold) {\\n    emit(\\\"action\\\", { message: \\\"it is too cold\\\" });\\n  }\\n}\",\n    \"dataSources\": [\n        {\n            \"name\": \"temp\",\n            \"description\": null,\n            \"variableName\": \"temperature\",\n            \"defaultTopic\": \"default\",\n            \"defaultDataKey\": null,\n            \"lastSample\": false,\n            \"triggerOnUplink\": false\n        }\n    ],\n    \"properties\": [\n        {\n            \"name\": \"temp - threshold\",\n            \"description\": null,\n            \"variableName\": \"threshold\",\n            \"defaultValue\": \"18\",\n            \"type\": \"NUMERICAL\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/rules/custom/{{customLogicBlockId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","custom","{{customLogicBlockId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e622cb95-81b0-4ffc-ae2f-c113786275f5"},{"name":"get custom logic block by id","id":"2d5fa835-120f-46dd-95bc-0b4489ff65d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/rules/custom/{{customLogicBlockId}}?details=true","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","custom","{{customLogicBlockId}}"],"host":["{{baseUrl}}"],"query":[{"key":"details","value":"true"}],"variable":[]}},"response":[],"_postman_id":"2d5fa835-120f-46dd-95bc-0b4489ff65d7"},{"name":"delete custom logic block","id":"480d0022-606a-4142-9f59-d6fc11817abb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/rules/custom/{{customLogicBlockId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","rules","custom","{{customLogicBlockId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"480d0022-606a-4142-9f59-d6fc11817abb"}],"id":"bcef243a-6b01-4b8b-8be4-3e6bfbf38e1b","_postman_id":"bcef243a-6b01-4b8b-8be4-3e6bfbf38e1b","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Custom Field","item":[{"name":"get custom fields","id":"639bf513-9891-47f7-86f7-6ffb10ab2a3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta?size=100&workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta"],"host":["{{baseUrl}}"],"query":[{"key":"size","value":"100"},{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"960bb533-545a-4510-a23d-880d7886adca","name":"get custom fields","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"content\": [\n    {\n      \"id\": \"6900000000000000\",\n      \"workspaceId\": \"2900000000000000\",\n      \"name\": \"custom_string_field\",\n      \"type\": \"STRING\",\n      \"description\": null,\n      \"required\": true,\n      \"selectOptions\": [],\n      \"created\": \"2022-10-20T11:24:08.000+00:00\",\n      \"updated\": \"2022-10-20T11:24:08.000+00:00\"\n    },\n    {\n      \"id\": \"6900000000000001\",\n      \"workspaceId\": \"2900000000000000\",\n      \"name\": \"custom_number_field\",\n      \"type\": \"NUMBER\",\n      \"description\": \"custom field description\",\n      \"required\": false,\n      \"selectOptions\": [\n        \"123\",\n        \"0.456\"\n      ],\n      \"created\": \"2022-09-06T09:57:39.000+00:00\",\n      \"updated\": \"2022-10-17T15:05:51.000+00:00\"\n    },\n    {\n      \"id\": \"6900000000000002\",\n      \"workspaceId\": \"2900000000000000\",\n      \"name\": \"custom_date_field\",\n      \"type\": \"DATE\",\n      \"description\": null,\n      \"required\": false,\n      \"selectOptions\": null,\n      \"created\": \"2021-08-10T10:17:02.000+00:00\",\n      \"updated\": \"2022-10-17T15:05:51.000+00:00\"\n    },\n    {\n      \"id\": \"6900000000000003\",\n      \"workspaceId\": \"2900000000000000\",\n      \"name\": \"custom_gps_field\",\n      \"type\": \"GPS_COORDINATES\",\n      \"description\": null,\n      \"required\": false,\n      \"selectOptions\": null,\n      \"created\": \"2021-09-09T09:50:23.000+00:00\",\n      \"updated\": \"2022-10-17T15:05:51.000+00:00\"\n    },\n    {\n      \"id\": \"6900000000000004\",\n      \"workspaceId\": \"2900000000000000\",\n      \"name\": \"custom_json_field\",\n      \"type\": \"JSON\",\n      \"description\": null,\n      \"required\": false,\n      \"selectOptions\": null,\n      \"created\": \"2022-01-24T13:18:25.000+00:00\",\n      \"updated\": \"2022-10-17T15:05:51.000+00:00\"\n    }\n  ],\n  \"pageable\": {\n    \"sort\": {\n      \"empty\": false,\n      \"sorted\": true,\n      \"unsorted\": false\n    },\n    \"offset\": 0,\n    \"pageNumber\": 0,\n    \"pageSize\": 100,\n    \"paged\": true,\n    \"unpaged\": false\n  },\n  \"totalPages\": 1,\n  \"totalElements\": 5,\n  \"last\": true,\n  \"size\": 100,\n  \"number\": 0,\n  \"sort\": {\n    \"empty\": false,\n    \"sorted\": true,\n    \"unsorted\": false\n  },\n  \"numberOfElements\": 5,\n  \"first\": true,\n  \"empty\": false\n}\n"}],"_postman_id":"639bf513-9891-47f7-86f7-6ffb10ab2a3b"},{"name":"get custom field by id","id":"4185cbf9-6fd8-4402-9cb9-f00b6d945b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta/{{customFieldId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta","{{customFieldId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"24d1a7f3-56da-48ef-b5cb-f04fbef78772","name":"get custom field by id","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta/{{customFieldId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6900000000000000\",\n    \"workspaceId\": \"2900000000000000\",\n    \"name\": \"custom_string_field\",\n    \"type\": \"STRING\",\n    \"description\": null,\n    \"required\": false,\n    \"selectOptions\": [],\n    \"created\": \"2022-10-20T11:24:08.000+00:00\",\n    \"updated\": \"2022-10-20T11:24:08.000+00:00\"\n}"}],"_postman_id":"4185cbf9-6fd8-4402-9cb9-f00b6d945b17"},{"name":"delete custom field by id","id":"0f269cae-3067-41d6-a9bb-df435cd11903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta/{{customFieldId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta","{{customFieldId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d1a7e51e-485d-4817-9320-ea44f5524f97","name":"delete custom field by id","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/custom-fields/meta/{{customFieldId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\"message\":\"custom field meta with id 6900000000000000 successfully deleted\"}"}],"_postman_id":"0f269cae-3067-41d6-a9bb-df435cd11903"},{"name":"create custom field","id":"108d1c44-39ee-4310-b2d6-0c44688f27a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"custom_string_field\",\n    \"type\": \"STRING\",\n    \"required\": true,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"selectOptions\": [\n        \"some text\",\n        \"some other text\",\n        \"another option\"\n    ],\n    \"description\": \"some description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0763971f-a9ec-4453-a027-3d85fef5913b","name":"create custom fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"custom_string_field\",\n    \"type\": \"STRING\",\n    \"required\": true,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"selectOptions\": [\n        \"some text\",\n        \"some other text\",\n        \"another option\"\n    ],\n    \"description\": \"some description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"6900000000000000\",\n  \"workspaceId\": \"2900000000000000\",\n  \"name\": \"custom_string_field\",\n  \"type\": \"STRING\",\n  \"description\": \"some description\",\n  \"required\": true,\n  \"selectOptions\": [\n    \"some text\",\n    \"some other text\",\n    \"another option\"\n  ],\n  \"created\": \"2023-02-22T07:54:48.000+00:00\",\n  \"updated\": \"2023-02-22T07:54:48.000+00:00\"\n}"}],"_postman_id":"108d1c44-39ee-4310-b2d6-0c44688f27a9"},{"name":"update custom field","id":"fa708183-a021-411e-b448-5f6bf0eaa608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"custom_string_field\",\n    \"required\": true,\n    \"selectOptions\": [\n        \"some text\",\n        \"some other text\",\n        \"another option\"\n    ],\n    \"description\": \"some description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta/{{customFieldId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta","{{customFieldId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"484ab8b1-34f5-4bcc-b016-94a13a81b053","name":"update custom fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"custom_string_field\",\n    \"type\": \"STRING\",\n    \"required\": true,\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"selectOptions\": [\n        \"some text\",\n        \"some other text\",\n        \"another option\"\n    ],\n    \"description\": \"some description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"6900000000000000\",\n  \"workspaceId\": \"2900000000000000\",\n  \"name\": \"custom_string_field\",\n  \"type\": \"STRING\",\n  \"description\": \"some description\",\n  \"required\": true,\n  \"selectOptions\": [\n    \"some text\",\n    \"some other text\",\n    \"another option\"\n  ],\n  \"created\": \"2023-02-22T07:54:48.000+00:00\",\n  \"updated\": \"2023-02-22T07:54:48.000+00:00\"\n}"}],"_postman_id":"fa708183-a021-411e-b448-5f6bf0eaa608"},{"name":"bulk create custom fields","id":"0739be36-9115-41cc-9a96-493e22989ed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"custom_string_field\",\n        \"type\": \"STRING\",\n        \"required\": true,\n        \"workspaceId\": \"{{workspaceId}}\",\n        \"selectOptions\": [\n            \"some text\",\n            \"some other text\",\n            \"another option\"\n        ],\n        \"description\": \"some description\"\n    },\n    {\n        \"name\": \"custom_number_field\",\n        \"type\": \"NUMBER\",\n        \"required\": false,\n        \"workspaceId\": \"{{workspaceId}}\",\n        \"selectOptions\": [],\n        \"description\": \"some description\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta/bulk-create","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","custom-fields","meta","bulk-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e6d095b1-7238-4674-8f93-26ddf5dcaa3e","name":"bulk create custom fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"custom_string_field\",\n        \"type\": \"STRING\",\n        \"required\": true,\n        \"workspaceId\": \"{{workspaceId}}\",\n        \"selectOptions\": [\n            \"some text\",\n            \"some other text\",\n            \"another option\"\n        ],\n        \"description\": \"some description\"\n    },\n    {\n        \"name\": \"custom_number_field\",\n        \"type\": \"NUMBER\",\n        \"required\": false,\n        \"workspaceId\": \"{{workspaceId}}\",\n        \"selectOptions\": [],\n        \"description\": \"some description\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/custom-fields/meta/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"6900000000000000\",\n        \"workspaceId\": \"2900000000000000\",\n        \"name\": \"custom_string_field\",\n        \"type\": \"STRING\",\n        \"description\": \"some description\",\n        \"required\": true,\n        \"selectOptions\": [\n            \"some text\",\n            \"some other text\",\n            \"another option\"\n        ],\n        \"created\": \"2023-02-22T07:54:48.000+00:00\",\n        \"updated\": \"2023-02-22T07:54:48.000+00:00\"\n    },\n    {\n        \"id\": \"6900000000000001\",\n        \"workspaceId\": \"2900000000000000\",\n        \"name\": \"custom_number_field\",\n        \"type\": \"NUMBER\",\n        \"description\": \"some description\",\n        \"required\": false,\n        \"selectOptions\": [],\n        \"created\": \"2023-02-22T07:54:48.000+00:00\",\n        \"updated\": \"2023-02-22T07:54:48.000+00:00\"\n    }\n]"}],"_postman_id":"0739be36-9115-41cc-9a96-493e22989ed2"}],"id":"0de97404-adc3-4262-8f8b-98c9f6bfaa67","_postman_id":"0de97404-adc3-4262-8f8b-98c9f6bfaa67","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Tags","item":[{"name":"get tags","id":"f4a29233-a4e2-4901-b9ac-62a908484231","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"user-agent":true,"accept":true,"accept-encoding":true}},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v3/tags?size=100&workspaceId={{workspaceId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags"],"host":["{{baseUrl}}"],"query":[{"key":"size","value":"100"},{"key":"workspaceId","value":"{{workspaceId}}"}],"variable":[]}},"response":[{"id":"f67e021b-0317-4745-b706-be1d2b79a6f3","name":"get tags","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/tags?size=100&workspaceId={{workspaceId}}","host":["{{baseUrl}}"],"path":["v3","tags"],"query":[{"key":"size","value":"100"},{"key":"workspaceId","value":"{{workspaceId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"id\": \"0000000000000000\",\n            \"name\": \"Brightness\",\n            \"description\": null,\n            \"workspaceId\": \"222223333333\",\n            \"color\": \"#FADB14\",\n            \"taggedDevices\": 0,\n            \"created\": \"2022-12-22T15:54:43.000+00:00\",\n            \"updated\": \"2022-12-22T15:54:43.000+00:00\"\n        },\n        {\n            \"id\": \"0000000000000001\",\n            \"name\": \"CO2\",\n            \"description\": null,\n            \"workspaceId\": \"222223333333\",\n            \"color\": \"#13C2C2\",\n            \"taggedDevices\": 0,\n            \"created\": \"2022-02-25T12:18:17.000+00:00\",\n            \"updated\": \"2022-10-24T13:14:19.000+00:00\"\n        }\n    ],\n    \"totalPages\": 1,\n    \"totalElements\": 2,\n    \"last\": true,\n    \"size\": 100,\n    \"number\": 0,\n    \"first\": true,\n    \"numberOfElements\": 2,\n    \"empty\": false\n}"}],"_postman_id":"f4a29233-a4e2-4901-b9ac-62a908484231"},{"name":"create tag","id":"98f33d00-8ad9-45ef-abe8-b3e98fcf8d02","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"color\": \"hex code for the color, example: #595959\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2f4a24f3-14c5-4edd-89c1-1d3bd5f80a93","name":"create tag","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"color\": \"hex code for the color, example: #595959\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0000000000000001\",\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"222223333333\",\n    \"color\": \"#595959\",\n    \"taggedDevices\": 0,\n    \"created\": \"2024-06-27T14:58:37.000+00:00\",\n    \"updated\": \"2024-06-27T14:58:37.000+00:00\"\n}"}],"_postman_id":"98f33d00-8ad9-45ef-abe8-b3e98fcf8d02"},{"name":"update tag","id":"a4110929-76c1-4c4d-90ff-4cc806bedbcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"color\": \"hex code for the color, example: #595959\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/{{tagId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags","{{tagId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3ae68c9f-4401-47da-9f8e-601454949104","name":"update tag","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"{{workspaceId}}\",\n    \"color\": \"#595959\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v3/tags/{{tagId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0000000000000001\",\n    \"name\": \"tag name\",\n    \"description\": \"tag description\",\n    \"workspaceId\": \"222223333333\",\n    \"color\": \"#595959\",\n    \"taggedDevices\": 0,\n    \"created\": \"2024-06-27T14:58:37.000+00:00\",\n    \"updated\": \"2024-06-27T14:58:37.000+00:00\"\n}"}],"_postman_id":"a4110929-76c1-4c4d-90ff-4cc806bedbcf"},{"name":"delete tag by id","id":"ab0cd496-f223-4d6b-8c39-bee7b563716e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/tags/{{tagId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","tags","{{tagId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2f689383-d13b-42d5-a986-178d97160b13","name":"delete tag by id","originalRequest":{"method":"DELETE","header":[],"url":"{{baseUrl}}/v3/tags/{{tagId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"tag successfully deleted\"\n}"}],"_postman_id":"ab0cd496-f223-4d6b-8c39-bee7b563716e"}],"id":"79723e25-b09a-4340-8976-5ae19f6278af","_postman_id":"79723e25-b09a-4340-8976-5ae19f6278af","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"File Gateway","item":[{"name":"request upload (basic auth)","id":"09c8b62a-b973-41b4-ab88-c85a59eb6758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"{{uplinkSecret}}","username":"{{deviceId}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"<string>\",\n    \"filename\": \"<string>\",\n    \"type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{fileGatewayUrl}}/v3/capture/request-upload","urlObject":{"path":["v3","capture","request-upload"],"host":["{{fileGatewayUrl}}"],"query":[],"variable":[]}},"response":[{"id":"146ce1e0-9a3a-4c5d-ab9e-5f7c45b00d75","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{deviceId}}:{{uplinkSecret}}"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"<string>\",\n    \"filename\": \"<string>\",\n    \"type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{fileGatewayUrl}}/v3/capture/request-upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"correlationId\": \"<uuid>\",\n    \"azureProperties\": {\n        \"storageBlobUrl\": \"<string>\",\n        \"sasToken\": \"<string>\",\n        \"containerName\": \"<string>\"\n    },\n    \"blobName\": \"<string>\"\n}"}],"_postman_id":"09c8b62a-b973-41b4-ab88-c85a59eb6758"},{"name":"request upload (JWT auth)","id":"bf261879-4775-40f1-95a6-50971b12d36d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"<string>\",\n    \"filename\": \"<string>\",\n    \"type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{fileGatewayUrl}}/v3/capture/request-upload","urlObject":{"path":["v3","capture","request-upload"],"host":["{{fileGatewayUrl}}"],"query":[],"variable":[]}},"response":[{"id":"60e0aa37-f27e-4252-8001-2bab682aae04","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"<string>\",\n    \"filename\": \"<string>\",\n    \"type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"{{fileGatewayUrl}}/v3/capture/request-upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"correlationId\": \"<uuid>\",\n    \"azureProperties\": {\n        \"storageBlobUrl\": \"<string>\",\n        \"sasToken\": \"<string>\",\n        \"containerName\": \"<string>\"\n    },\n    \"blobName\": \"<string>\"\n}"}],"_postman_id":"bf261879-4775-40f1-95a6-50971b12d36d"},{"name":"list uploads by device","id":"abdc5e89-8b09-4239-8fde-37f44a7d692b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/v3/file-uploads/list-files?deviceId=<string>&type=<string>","urlObject":{"path":["v3","file-uploads","list-files"],"host":["{{baseUrl}}"],"query":[{"key":"deviceId","value":"<string>"},{"key":"type","value":"<string>"}],"variable":[]}},"response":[{"id":"9d3f7c58-9aa3-4077-8954-62625a2b4eab","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/file-uploads/list-files?deviceId=<string>&type=<string>","host":["{{baseUrl}}"],"path":["v3","file-uploads","list-files"],"query":[{"key":"deviceId","value":"<string>"},{"key":"type","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"<string>\",\n        \"contentType\": \"<string>\",\n        \"createdAt\": \"<timestamp>\",\n        \"lastModifiedAt\": \"<timestamp>\",\n        \"size\": \"<number>\",\n        \"metadata\": {\n            \"correlationId\": \"<uuid>\"\n        }\n    }\n]"}],"_postman_id":"abdc5e89-8b09-4239-8fde-37f44a7d692b"},{"name":"download file by name and device","id":"0157cd20-a0b1-4993-a0b9-783903009aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/v3/file-uploads/download-file?deviceId=<string>&filename=<string>","urlObject":{"path":["v3","file-uploads","download-file"],"host":["{{baseUrl}}"],"query":[{"key":"deviceId","value":"<string>"},{"key":"filename","value":"<string>"}],"variable":[]}},"response":[{"id":"ca0fc1c7-57be-42bd-a543-1ee39e483f85","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v3/file-uploads/download-file?deviceId=<string>&filename=<string>","host":["{{baseUrl}}"],"path":["v3","file-uploads","download-file"],"query":[{"key":"deviceId","value":"<string>"},{"key":"filename","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0157cd20-a0b1-4993-a0b9-783903009aa3"}],"id":"a04ba4f5-c469-4374-9619-f39418351ed7","description":"<p>This feature is only available on Enterprise deployments.</p>\n","_postman_id":"a04ba4f5-c469-4374-9619-f39418351ed7","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}},{"name":"Blobs","item":[{"name":"Upload blob","id":"607f88c5-3920-4a1e-a9f2-ba8e48579eb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"<fileName>.<extension>","description":"<p>The file to be uploaded</p>\n","type":"file","uuid":"b7841639-ce41-4b16-a6f1-df115f2e981e","value":null}]},"url":"{{baseUrl}}/v3/blobs/upload?deviceId=<string>&workspaceId=<string>&organizationId=<string>&expiry=-1&uploadType=<string>&contentType=<string>","description":"<p>When providing a deviceId, requires Workspace.UPDATE permissions.</p>\n<p>When providing a workspace, requires Workspace.UPDATE permissions.</p>\n<p>When providing an organizationId, requires Organization.UPDATE permissions.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}},"urlObject":{"path":["v3","blobs","upload"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Optional. Akenza device id of the blob owner</p>\n","type":"text/plain"},"key":"deviceId","value":"<string>"},{"description":{"content":"<p>Optional. Akenza workspace id of the blob owner</p>\n","type":"text/plain"},"key":"workspaceId","value":"<string>"},{"description":{"content":"<p>Optional. Akenza organization id of the blob owner</p>\n","type":"text/plain"},"key":"organizationId","value":"<string>"},{"description":{"content":"<p>Optional. Expiry in seconds of the blob download URL (default -1; do not expire)</p>\n","type":"text/plain"},"key":"expiry","value":"-1"},{"description":{"content":"<p>IMAGE_UPLOAD or USER_DATA</p>\n","type":"text/plain"},"key":"uploadType","value":"<string>"},{"description":{"content":"<p>Mime type of the upload</p>\n","type":"text/plain"},"key":"contentType","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"607f88c5-3920-4a1e-a9f2-ba8e48579eb3"},{"name":"Download blob","id":"5c108142-924f-4f26-b43c-d8cfe41b5b78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/v3/blobs/download-sas?objectPath&objectName&type&token&exp=-1","urlObject":{"path":["v3","blobs","download-sas"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Required. Object path</p>\n","type":"text/plain"},"key":"objectPath","value":""},{"description":{"content":"<p>Required. Blob name</p>\n","type":"text/plain"},"key":"objectName","value":""},{"description":{"content":"<p>Required. Upload type</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>Required. SAS token</p>\n","type":"text/plain"},"key":"token","value":""},{"description":{"content":"<p>Required. Expiry</p>\n","type":"text/plain"},"key":"exp","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"5c108142-924f-4f26-b43c-d8cfe41b5b78"}],"id":"6e03da5a-5f1d-43ff-892b-1fd80b4fb2a5","_postman_id":"6e03da5a-5f1d-43ff-892b-1fd80b4fb2a5","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"},"isInherited":true,"source":{"_postman_id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","id":"d2b7c876-df53-40e6-8774-dbd972e41fb6","name":"akenza API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"{{apiKeyHeaderName}}"}},"event":[{"listen":"prerequest","script":{"id":"424257c7-3cce-4c83-bdb7-83c08796d2de","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3d89d85b-5247-4497-9acd-debc604f5861","type":"text/javascript","exec":[""]}}]}