{"info":{"_postman_id":"1f0d5a82-9664-9e47-a3e1-059174fe0229","name":"OPC UA Web Platform","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This API provides to a generic client a way to interact with the OPC UA Web Platform in order to access to OPC UA Servers information without knowing the OPC UA protocol.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The authentication is token-based, managed by the platform using JWT authentication.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Authentication","slug":"authentication"}],"owner":"1090837","collectionId":"1f0d5a82-9664-9e47-a3e1-059174fe0229","publishedId":"RVfyAUSR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-04-20T15:38:44.000Z"},"item":[{"name":"Authenticate","event":[{"listen":"test","script":{"id":"91f0f89e-6a86-4938-a1bf-f09137ea3915","type":"text/javascript","exec":["postman.setEnvironmentVariable(\"token\", pm.response.json().token);"]}}],"id":"bb783733-32f7-a758-db6a-9fa0f4506902","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"http://{{base_url}}/auth/authenticate","urlObject":{"protocol":"http","path":["auth","authenticate"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb783733-32f7-a758-db6a-9fa0f4506902"},{"name":"GetDataSets","event":[{"listen":"test","script":{"id":"d6a10985-5170-40a9-b5a4-a56f735f1b7d","type":"text/javascript","exec":["postman.setEnvironmentVariable(\"token\", postman.getResponseHeader(\"x-token\"));"]}}],"id":"f3d49022-ef6f-3cab-e6ca-77daeef16ede","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{base_url}}/api/data-sets","urlObject":{"protocol":"http","path":["api","data-sets"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3d49022-ef6f-3cab-e6ca-77daeef16ede"},{"name":"GetEntryPoint","event":[{"listen":"test","script":{"id":"da094b31-5352-46d1-8850-2c30b6a9e4ae","type":"text/javascript","exec":[""]}}],"id":"a10a06d9-168e-2c5a-80c6-ccec2487f396","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{base_url}}/api/data-sets/3/nodes","urlObject":{"protocol":"http","path":["api","data-sets","3","nodes"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a10a06d9-168e-2c5a-80c6-ccec2487f396"},{"name":"GetNode","event":[{"listen":"test","script":{"id":"72fbedea-9b2e-49a3-b8a8-6d231d5d7c29","exec":[""],"type":"text/javascript"}}],"id":"9bd3f1f9-d3b9-db4c-ff42-829aee79236f","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"}],"url":"http://192.168.0.50:5000/api/data-sets/3/nodes/1-1000","urlObject":{"protocol":"http","port":"5000","path":["api","data-sets","3","nodes","1-1000"],"host":["192","168","0","50"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bd3f1f9-d3b9-db4c-ff42-829aee79236f"},{"name":"WriteValue","event":[{"listen":"test","script":{"id":"dc664a07-5738-444f-b23c-ab18fdeb0176","type":"text/javascript","exec":["postman.setEnvironmentVariable(\"token\", postman.getResponseHeader(\"x-token\"));"]}}],"id":"ffc9fcf0-be10-26eb-1f90-13602447dee2","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"value\": {\n        \"ID\": \"9240890a-6ea8-41fc-8e84-f47edd3e3595\",\n        \"AssetID\": \"123-X-Y-Z\",\n        \"StartTime\": \"2018-04-20T14:24:39.085941Z\",\n        \"NoOfStatusComments\": 2,\n        \"StatusComments\": [\n            {\n                \"Actor\": \"Dylan Thomas\",\n                \"Timestamp\": \"2018-04-20T14:24:39.085941Z\",\n                \"Comment\": {\n                    \"Locale\": \"en-US\",\n                    \"Text\": \"Do not go gentle into that good night\"\n                }\n            },\n            {\n                \"Actor\": \"William Shakespeare\",\n                \"Timestamp\": \"2018-04-20T14:24:39.085941Z\",\n                \"Comment\": {\n                    \"Locale\": \"en-US\",\n                    \"Text\": \"There is nothing either good or bad, but thinking makes it so.\"\n                }\n            }\n        ]\n    }\n}"},"url":"http://{{base_url}}/api/data-sets/{{dataset-id}}/nodes/{{node-id}}","urlObject":{"protocol":"http","path":["api","data-sets","{{dataset-id}}","nodes","{{node-id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffc9fcf0-be10-26eb-1f90-13602447dee2"},{"name":"Monitor","event":[{"listen":"test","script":{"id":"93359d84-e41c-45f6-aa8d-7479fecee25e","type":"text/javascript","exec":["postman.setEnvironmentVariable(\"token\", postman.getResponseHeader(\"x-token\"));"]}}],"id":"1b3b1745-2cc2-0e4c-2d74-d17d3bda8b89","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"monitorableNodes\": [\n    {\n      \"nodeId\":\"2-Demo.Dynamic.Scalar.Int16\", \n      \"samplingInterval\": 2000, \n      \"DeadBand\":\"Absolute\", \n      \"DeadBandValue\": 2\n    },\n    {\n      \"nodeId\":\"2-Demo.Dynamic.Scalar.String\", \n      \"samplingInterval\": 500, \n      \"DeadBand\":\"None\", \n      \"DeadBandValue\": 2\n    }\n  ],\n  \"brokerUrl\": \"signalr:http://localhost:8080\",\n  \"topic\": \"erenove\"\n}"},"url":"http://{{base_url}}/api/data-sets/{{dataset-id}}/monitor","urlObject":{"protocol":"http","path":["api","data-sets","{{dataset-id}}","monitor"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b3b1745-2cc2-0e4c-2d74-d17d3bda8b89"},{"name":"StopMonitor","event":[{"listen":"test","script":{"id":"45947fcf-7d48-4dd7-a3fe-ba0708816ce8","type":"text/javascript","exec":["postman.setEnvironmentVariable(\"token\", postman.getResponseHeader(\"x-token\"));"]}}],"id":"b9daf035-9576-0808-da2d-65295471fc0d","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"brokerUrl\": \"signalr:http://localhost:8080\",\n\t\"topic\": \"erenove\"\n}"},"url":"http://{{base_url}}/api/data-sets/{{dataset-id}}/stop-monitor","urlObject":{"protocol":"http","path":["api","data-sets","{{dataset-id}}","stop-monitor"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9daf035-9576-0808-da2d-65295471fc0d"}]}