{"info":{"_postman_id":"4f3d70ec-a17d-4036-8e5d-ea31ea163957","name":"Libify GeoX REST API - Docs v1.0.2","description":"<html><head></head><body><p>The Libify GeoX-Backend API.</p>\n<p>Version: 1.0.2</p>\n<p>Created by Libify Technologies GmbH<br>Visit us at <a href=\"http://www.libify.com/\">www.libify.com</a>.<br><a href=\"mailto:development-web@libify.de\">Contact the developers</a>.<br>Licence is proprietary.</p>\n<p>Old versions and more API descriptions <a href=\"http://01b.in/lgx-api-doc/index.html\">here</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"383833","collectionId":"4f3d70ec-a17d-4036-8e5d-ea31ea163957","publishedId":"RW1XLgox","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"FBB90E"},"publishDate":"2018-04-23T16:33:54.000Z"},"item":[{"name":"Sessions","item":[{"name":"create","id":"d1ee728e-e9be-4f1b-8f66-285936b031bd","request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN}}","description":"<p>The username or email of the user who needs a session</p>\n","type":"text"},{"key":"password","value":"{{PASSWORD}}","description":"<p>Password chosen by the user</p>\n","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions","description":"<p>Requests and creates a new session for a user (login).</p>\n<p>Login user / get session by user name / authenticate credentials against service.</p>\n<p><em>TODO: Success response code is currently 200. It should be 201.</em></p>\n","urlObject":{"path":["v1","sessions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"02cfed88-a80f-4631-b826-e8d5ef09037f","name":"400: Invalid username or email supplied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN}}a","description":"The username or email of the user who needs a session","type":"text"},{"key":"password","value":"{{PASSWORD}}","description":"Password chosen at registration","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 28 Mar 2018 12:13:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Thu Mar 28 2019 12:13:13 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"api.geox.ws","path":"/","secure":false,"value":"di57bfifugqm7cb2so1oqfjvh5","key":"sessionId"}],"responseTime":null,"body":""},{"id":"29da4e0c-4c83-4ed5-a3f2-4afc7b49209d","name":"404: User not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN_NOT_EXISTING}}","description":"The username or email of the user who needs a session","type":"text"},{"key":"password","value":"{{PASSWORD}}","description":"Password chosen at registration","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 28 Mar 2018 12:11:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Thu Mar 28 2019 12:06:40 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"api.geox.ws","path":"/","secure":false,"value":"p97fnniunfhmf8vobardrlf2o7","key":"sessionId"}],"responseTime":null,"body":"{\"code\":631011,\"message\":\"USER NOT FOUND\",\"description\":\"User cannot be found by the given identifier.\",\"remoteMethod\":\"login\",\"remoteService\":\"UserService\"}"},{"id":"64b7878a-df48-49db-979f-a1b8de6d49e7","name":"401: Login credentials do not match","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN}}","description":"The username or email of the user who needs a session","type":"text"},{"key":"password","value":"{{WRONG_PASSWORD}}","description":"Password chosen at registration","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 28 Mar 2018 12:11:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Thu Mar 28 2019 12:06:40 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"api.geox.ws","path":"/","secure":false,"value":"p97fnniunfhmf8vobardrlf2o7","key":"sessionId"}],"responseTime":null,"body":"{\"code\":631023,\"message\":\"CREDENTIALS INVALID\",\"description\":\"Username\\/Email or password is wrong or password too long.\",\"remoteMethod\":\"login\",\"remoteService\":\"UserService\"}"},{"id":"a1c58220-0a5f-4883-9e03-d68a9adc1f19","name":"403: User not allowed to login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN}}","description":"The username or email of the user who needs a session","type":"text"},{"key":"password","value":"{{PASSWORD}}","description":"Password chosen at registration","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 28 Mar 2018 12:11:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Thu Mar 28 2019 12:06:40 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"api.geox.ws","path":"/","secure":false,"value":"p97fnniunfhmf8vobardrlf2o7","key":"sessionId"}],"responseTime":null,"body":"{\n  \"code\": 0,\n  \"message\": \"string\",\n  \"description\": \"string\"\n}"},{"id":"b3eea6f4-7b41-41b8-a62c-c4731608d726","name":"200: Session created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"login","value":"{{LOGIN}}","description":"The username or email of the user who needs a session","type":"text"},{"key":"password","value":"{{PASSWORD}}","description":"Password chosen at registration","type":"text"}]},"url":"{{BASE_URL}}/v1/sessions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 28 Mar 2018 12:06:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"sessionId=p97fnniunfhmf8vobardrlf2o7; Expires=Thu, 28-Mar-2019 12:06:40 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Thu Mar 28 2019 12:06:40 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"api.geox.ws","path":"/","secure":false,"value":"p97fnniunfhmf8vobardrlf2o7","key":"sessionId"}],"responseTime":null,"body":"{\n    \"sessionId\": \"p97fnxiunfhxf8vobarxrlf2ox\",\n    \"userId\": \"bf4f97e3-da4a-4f7c-b9fc-7f359d1ffe8c\",\n    \"apiKey\": \"f968b6ed-43c2-48cc-b4f2-8a2e9b3cc0e9\",\n    \"data\": {},\n    \"warnings\": [\n        {\n            \"code\": 630001,\n            \"message\": \"Passwortänderung erforderlich\"\n        }\n    ]\n}"}],"_postman_id":"d1ee728e-e9be-4f1b-8f66-285936b031bd"}],"id":"a978dcaf-2438-4018-b781-b771aa220507","_postman_id":"a978dcaf-2438-4018-b781-b771aa220507","description":""},{"name":"Messages","item":[{"name":"create","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"abab69ec-ef0e-4ce6-b356-39fd828c6478","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"userIdentifier\": \"appuser@example.com\",\r\n  \"fromPhoneNumber\": \"+4916000000000\",\r\n  \"psapIdentifier\": \"psap_medical_a001\",\r\n  \"messageText\": \"SOS - 14:20 h\\nGC5-000000\\nLetzte Position\\nhttp://maps.google.com/maps?q=geocare@49.000,12.000&z=12\\nMETER von\\nHEIM 100 N\\nCR\\n262,01,1637,7690\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/messages","description":"<p>Send out a message to a PSAP (public-safety answering point / Notrufzentrale).</p>\n<p>List of available PSAPs:  </p>\n<ul>\n<li>ASB Köln: <code>psap_medical_a001</code></li>\n<li>ASB <code>psap_medical_a002</code> (with toPhoneNumber - will be filled automatically)</li>\n</ul>\n<p>Parameter explanation:  </p>\n<ul>\n<li><code>userIdentifier</code> is an email address of the user.  </li>\n<li><code>fromPhoneNumber</code> is the phone number of the app user (mostly the mobile phone's number itself).  </li>\n<li><code>toPhoneNumber</code> (needed for psap_medical_a002) is the phone number to send the sms (ASB phone number).</li>\n<li><code>psapIdentifier</code> is a unique identifier of the PSAP (see above).  </li>\n<li><code>messageText</code> is the content of the SMS.  </li>\n<li><code>test</code> flag set to true does not send a SMS.</li>\n</ul>\n","urlObject":{"path":["v1","messages"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"114426e1-b8b4-4c47-ba34-344c978fe37c","name":"Error: Unknown PSAP identifier","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"userIdentifier\": \"appuser@example.com\",\r\n  \"fromPhoneNumber\": \"+4916000000000\",\r\n  \"psapIdentifier\": \"psap_medical_a001\",\r\n  \"messageText\": \"SOS - 14:20 h\\nGC5-000000\\nLetzte Position\\nhttp://maps.google.com/maps?q=geocare@49.000,12.000&z=12\\nMETER von\\nHEIM 100 N\\nCR\\n262,01,1637,7690\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/messages"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 28 Nov 2017 20:11:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[],"responseTime":null,"body":"{\"code\":\"611002\",\"message\":\"Invalid params.\",\"remoteService\":null,\"remoteMethod\":null,\"additionalInformation\":{\"psapIdentifier\":{\"notInArray\":\"The input was not found in the haystack\"}}}"},{"id":"a6b5862b-e060-4691-8519-47ff7de5d738","name":"Success: Sent an SOS to a PSAP","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"userIdentifier\": \"appuser@example.com\",\r\n  \"fromPhoneNumber\": \"+4916000000000\",\r\n  \"psapIdentifier\": \"psap_medical_a001\",\r\n  \"messageText\": \"SOS - 14:20 h\\nGC5-000000\\nLetzte Position\\nhttp://maps.google.com/maps?q=geocare@49.000,12.000&z=12\\nMETER von\\nHEIM 100 N\\nCR\\n262,01,1637,7690\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/messages"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 28 Nov 2017 20:03:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[],"responseTime":null,"body":"{\"messageQueued\":true}"}],"_postman_id":"abab69ec-ef0e-4ce6-b356-39fd828c6478"}],"id":"12093b7e-760b-4979-b4e6-ff447c36b0c5","_postman_id":"12093b7e-760b-4979-b4e6-ff447c36b0c5","description":""},{"name":"Messages/Verifications","item":[{"name":"create","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"40a40453-90f8-4d17-bd40-b1ab8573f28b","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/messages/verifications","description":"<p>Send out a verification SMS. The sender's phone number is <code>libify</code>, but this might vary.</p>\n<p>Parameter explanation:  </p>\n<ul>\n<li><code>phoneNumber</code> is the phone number of the APP user who should receive a verification code.  </li>\n<li><code>messageText</code> is the content of the SMS.  </li>\n<li><code>test</code> flag set to true does not send a SMS.</li>\n</ul>\n","urlObject":{"path":["v1","messages","verifications"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d8f89a6e-b31f-43cf-9d50-eb5e35846166","name":"Success: Sent out a verification code","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/messages/verifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 28 Nov 2017 20:20:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[],"responseTime":null,"body":"{\"messageQueued\":true}"}],"_postman_id":"40a40453-90f8-4d17-bd40-b1ab8573f28b"}],"id":"285c8a00-9ad2-4add-a93f-07f05f995c13","event":[{"listen":"prerequest","script":{"id":"e14d1662-cd40-4bc4-8594-3648ff09ffbe","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dfafa578-9615-4a43-ab42-228b4c5fa274","type":"text/javascript","exec":[""]}}],"_postman_id":"285c8a00-9ad2-4add-a93f-07f05f995c13","description":""},{"name":"Organization","item":[{"name":"read","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"5bf7e3d9-a397-4685-9675-be2aec7a82ab","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}","description":"<p>Read out organization configuration.</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bf7e3d9-a397-4685-9675-be2aec7a82ab"},{"name":"update","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"662a6d08-4c60-4bb2-8c71-321a42a594a3","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"settings\": {\r\n    \"dayButton\": [\"alarm@example.com\"]\r\n  }\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}","description":"<p>Update a organization configuration.</p>\n<p>Possible settings are:</p>\n<ul>\n<li><code>dayButton</code>: An email is sent out to the recipients if a <em>day button not pressed</em> event is coming from a device</li>\n<li><code>?</code>: An email is sent out to the recipients if a <em>day button not pressed</em> event is coming from a device</li>\n</ul>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"662a6d08-4c60-4bb2-8c71-321a42a594a3"}],"id":"9645e1b2-ed98-4357-be3c-924071ae8804","_postman_id":"9645e1b2-ed98-4357-be3c-924071ae8804","description":""},{"name":"Organization/Users","item":[{"name":"read","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"fb2cc89e-7116-44c8-bfd8-11a4406a59b9","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users","description":"<p>Read out organization users.</p>\n<p>Parameter explanation:</p>\n<p>organizations/{{ORGANIZATION_ID}}/users?page=1&amp;limit=3</p>\n<ul>\n<li><code>page</code> current page number.  </li>\n<li><code>limit</code> item per page. (default value is 15)</li>\n</ul>\n<p>organizations/{{ORGANIZATION_ID}}/users?filter=Name</p>\n<ul>\n<li><code>filter</code> search value. (email, lastname, firstname)</li>\n</ul>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","users"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"37f6b362-3a2c-4afe-a11a-cf7a17380bda","name":"200: success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":false},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","disabled":false},{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 09 May 2018 11:07:05 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Sun Aug 05 2018 07:35:37 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"interfaceservice.stage.geox.ws","path":"/","secure":false,"value":"hsjh37pif15i3ihfqa9vp193r5","key":"sessionId"}],"responseTime":null,"body":"{\n    \"pagingInformation\": {\n        \"pageCount\": 1,\n        \"itemCountPerPage\": 15,\n        \"first\": 1,\n        \"current\": 1,\n        \"last\": 1,\n        \"pagesInRange\": {\n            \"1\": 1\n        },\n        \"firstPageInRange\": 1,\n        \"lastPageInRange\": 1,\n        \"currentItemCount\": 1,\n        \"totalItemCount\": 1,\n        \"firstItemNumber\": 1,\n        \"lastItemNumber\": 1\n    },\n    \"data\": [\n        {\n            \"account\": {\n                \"uuid\": \"4ea64ee7-26ca-4d30-b136-674cac35f75d\",\n                \"email\": \"email\",\n                \"username\": null,\n                \"roles\": [\n                    \"Customer\",\n                    \"Manager\"\n                ],\n                \"referenceId\": null\n            },\n            \"person\": {\n                \"salutation\": null,\n                \"title\": null,\n                \"firstName\": \"firstName\",\n                \"lastName\": \"lastname\",\n                \"nationality\": \"de_DE\"\n            },\n            \"phoneContact\": {\n                \"private\": null,\n                \"cellPhone\": null,\n                \"office\": null,\n                \"fax\": null\n            }\n        }\n    ]\n}"},{"id":"a8f0e859-d966-4a6a-87e0-994a0b548922","name":"403: Forbidden","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 09 May 2018 11:24:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Sun Aug 05 2018 07:35:37 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"interfaceservice.stage.geox.ws","path":"/","secure":false,"value":"hsjh37pif15i3ihfqa9vp193r5","key":"sessionId"}],"responseTime":null,"body":"{\"code\":\"631002\",\"message\":\"NOT_ALLOWED\",\"description\":\"You are not allowed to access this content.\"}"}],"_postman_id":"fb2cc89e-7116-44c8-bfd8-11a4406a59b9"},{"name":"create","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"a92cbb5e-951b-4979-8f63-5fb65774124d","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"uuid\": \"{{USER_ID}}\",\n  \"roles\": [\"Manager\",\"Customer\"]\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users","description":"<p>Add user to the organization with a given role</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","users"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a92cbb5e-951b-4979-8f63-5fb65774124d"},{"name":"update","id":"0bfde866-1b33-4911-abcf-b7ae4442fc66","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"roles\": [\"Manager\",\"Carrier\"]\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users/{{USER_ID}}","description":"<p>Update user configuration for this organization.</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","users","{{USER_ID}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bfde866-1b33-4911-abcf-b7ae4442fc66"},{"name":"delete","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"0454d748-7c5c-4391-82d1-ed1d795b9a90","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/users/{{USER_ID}}","description":"<p>remove a user from the organization.</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","users","{{USER_ID}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0454d748-7c5c-4391-82d1-ed1d795b9a90"}],"id":"db8ad214-cb27-422d-bf52-fd9e1aec0f5a","_postman_id":"db8ad214-cb27-422d-bf52-fd9e1aec0f5a","description":""},{"name":"Organization/Roles","item":[{"name":"read","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"f5f159df-5e82-4705-9b4f-8b42c08c8e2b","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/roles","description":"<p>Read out organization users.</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","roles"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5f159df-5e82-4705-9b4f-8b42c08c8e2b"}],"id":"3aba2dc5-9ead-40cc-811d-087c219328bf","_postman_id":"3aba2dc5-9ead-40cc-811d-087c219328bf","description":""},{"name":"Organization/Devices","item":[{"name":"read","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"8a1c88be-1ee7-40d3-a4d1-c76a8af9ed4b","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\": \"+4916000000000\",\r\n  \"messageText\": \"Your verification code is 12345\",\r\n  \"test\": true\r\n}"},"url":"{{BASE_URL}}/v1/organizations/{{ORGANIZATION_ID}}/devices","description":"<p>Read out organization devices.</p>\n","urlObject":{"path":["v1","organizations","{{ORGANIZATION_ID}}","devices"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a1c88be-1ee7-40d3-a4d1-c76a8af9ed4b"}],"id":"0f74459f-b446-490e-a6fe-718a27eb8f19","_postman_id":"0f74459f-b446-490e-a6fe-718a27eb8f19","description":""},{"name":"Users/relatedUsers","item":[{"name":"read","id":"39606410-135e-4101-b725-071f3f6910c3","request":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/users/{{currentUserUuid}}/relatedUsers","description":"<p>Read out related users.</p>\n<p>Parameter explanation:</p>\n<p>users/{{USER_ID}}/relatedUsers?page=1&amp;limit=3</p>\n<ul>\n<li>page current page number.</li>\n<li>limit item per page. (default value is 15)</li>\n</ul>\n","urlObject":{"path":["v1","users","{{currentUserUuid}}","relatedUsers"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"39606410-135e-4101-b725-071f3f6910c3"},{"name":"create","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"2e67d29d-3510-4d9b-aec3-72f2aa14395e","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"firstname\": \"string\",\r\n  \"lastname\":\"string\",\r\n  \"email\": \"string\",\r\n  \"role\":\"string\"\r\n}"},"url":"{{BASE_URL}}/v1/users/{{currentUserUuid}}/relatedUsers","description":"<p>Add user to the relations with a given role</p>\n","urlObject":{"path":["v1","users","{{currentUserUuid}}","relatedUsers"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e67d29d-3510-4d9b-aec3-72f2aa14395e"},{"name":"update","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"eea7aee9-82e7-4d9e-9e23-0a228ecf51eb","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"role\":\"string\"\r\n}"},"url":"{{BASE_URL}}/v1/users/{{currentUserUuid}}/relatedUsers/{{relatedUser_id}}","description":"<p>Change user relation by given role name.</p>\n","urlObject":{"path":["v1","users","{{currentUserUuid}}","relatedUsers","{{relatedUser_id}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eea7aee9-82e7-4d9e-9e23-0a228ecf51eb"},{"name":"delete","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"8b7bf136-f23b-401a-9a3d-1de5fada0ad6","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/v1/users/{{currentUserUuid}}/relatedUsers/{{relatedUserUuid}}","description":"<p>Remove a user from relations</p>\n","urlObject":{"path":["v1","users","{{currentUserUuid}}","relatedUsers","{{relatedUserUuid}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b7bf136-f23b-401a-9a3d-1de5fada0ad6"}],"id":"0ca00263-5945-4292-8061-446a4ee9dfe3","_postman_id":"0ca00263-5945-4292-8061-446a4ee9dfe3","description":""},{"name":"Devices/SimCards","item":[{"name":"create","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"2d9f3010-37bc-401a-8787-c227a62dbed8","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"phoneNumber\":\"+49xxxxxxxxx\"\r\n}"},"url":"{{BASE_URL}}/v1/devices/{{DEVICE_UUID}}/simCards","description":"<p>Attach a new sim card to the device</p>\n","urlObject":{"path":["v1","devices","{{DEVICE_UUID}}","simCards"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d9f3010-37bc-401a-8787-c227a62dbed8"},{"name":"delete","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[" "]}}],"id":"023a1343-13b6-44d8-8589-68a7a111ff76","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"{{AUTH_PASS}}"}],"advancedConfig":[{"key":"showPassword","value":"<show-password>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/v1/devices/{{DEVICE_UUID}}/simCards","description":"<p>Detach a sim card from the device</p>\n","urlObject":{"path":["v1","devices","{{DEVICE_UUID}}","simCards"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"023a1343-13b6-44d8-8589-68a7a111ff76"}],"id":"7ab66d56-ed5c-4293-9ec0-9feae3a9cdd7","_postman_id":"7ab66d56-ed5c-4293-9ec0-9feae3a9cdd7","description":""},{"name":"DeviceGroups","item":[{"name":"read","id":"fd479c98-4f16-4d4b-81bb-9048f944bf42","request":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups","description":"<p>All device groups, which belong to the given user, are read out.</p>\n<ul>\n<li>For roles management is needed a response with userslist and pagination.</li>\n</ul>\n<ul>\n<li><em>{{BASE_URL}}/v1/deviceGroups?mode=usersList</em></li>\n</ul>\n<ul>\n<li><p><em>Note: the following filters and paramteres works only with mode=usersList</em></p>\n</li>\n<li><p><em>{{BASE_URL}}/v1/deviceGroups?mode=usersList&amp;filter=&amp;limit=&amp;page=</em></p>\n<ul>\n<li>filter  - search string to find a user by lastname, firstname and email</li>\n<li>limit  - devices count per page</li>\n<li>page  - page number to display</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","deviceGroups"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4a12891f-fafd-4a5f-98bd-21ec401c2957","name":"200: success","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"id\": \"string\",\r\n    \"ownerId\": \"string\",\r\n    \"name\": \"string\",\r\n    \"devices\": [\r\n      \"string\"\r\n    ],\r\n    \"members\": [\r\n      \"string\"\r\n    ]\r\n  }\r\n]"},{"id":"ecb8c1a9-3fc7-4120-a6ac-ee69b7aa55bd","name":"200: success -  mode=usersList","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"pagingInformation\": {\r\n        \"pageCount\": 1,\r\n        \"itemCountPerPage\": 15,\r\n        \"first\": 1,\r\n        \"current\": 1,\r\n        \"last\": 1,\r\n        \"pagesInRange\": {\r\n            \"1\": 1\r\n        },\r\n        \"firstPageInRange\": 1,\r\n        \"lastPageInRange\": 1,\r\n        \"currentItemCount\": 1,\r\n        \"totalItemCount\": 1,\r\n        \"firstItemNumber\": 1,\r\n        \"lastItemNumber\": 1\r\n    },\r\n    \"groupList\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"name\": \"string\",\r\n            \"role\": {\r\n                \"roleName\": \"string\",\r\n                \"status\": \"string\",\r\n                \"description\": \"string\",\r\n                \"uuid\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdBy\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdAt\": null,\r\n                \"organization\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"predefined\": int,\r\n                \"level\": int,\r\n                \"color\": \"string\"\r\n            }\r\n        },\r\n    \"data\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"email\": \"string\",\r\n            \"username\": \"string\",\r\n            \"firstName\": \"string\",\r\n            \"lastName\": \"string\",\r\n            \"language\": \"string\",\r\n            \"locked\": bol,\r\n            \"emailConfirmed\": bol,\r\n            \"groups\": [\r\n                {\r\n                    \"groupName\": \"string\",\r\n                    \"roleName\": \"string\"\r\n                }\r\n            ]\r\n        }\r\n}"}],"_postman_id":"fd479c98-4f16-4d4b-81bb-9048f944bf42"},{"name":"read(id)","id":"83a100e2-e160-4f7a-b8cc-9a1f64d06702","request":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups/{{deviceGroup_id}}?limit=1&page=1","description":"<p>The response from a single device group with pagination</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>* limit  - devices count per page\n* page  - page number to display\n</code></pre>","urlObject":{"path":["v1","deviceGroups","{{deviceGroup_id}}"],"host":["{{BASE_URL}}"],"query":[{"key":"limit","value":"1"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"2b963b4c-8873-44ac-90f2-8a23237eaeec","name":"200 : get single device group","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups/{{deviceGroup_id}}"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"per_page\": 15,\n    \"current_page\": 1,\n    \"last_page\": 1,\n    \"next_page_url\": null,\n    \"prev_page_url\": null,\n    \"from\": 0,\n    \"to\": 0,\n    \"alarms\": 0,\n    \"data\": [\n        {\n            \"base\": {\n                \"id\": \"0e9e7f87-d742-4069-8bef-054909bfc270\",\n                \"serialNumber\": \"string\",\n                \"identifier\": \"string\",\n                \"type\": 5,\n                \"kind\": 200,\n                \"imei\": \"string\",\n                \"firmwareVersion\": \"G5JA25WWG301\",\n                \"technicalAlarm\": null,\n                \"runningProcesses\": false\n            },\n            \"owner\": {\n                \"id\": null\n            },\n            \"carrier\": {\n                \"firstName\": \"string\",\n                \"lastName\": \"string\",\n                \"gender\": null,\n                \"phoneNumber\": \"\",\n                \"birthday\": null,\n                \"identificationNumber\": \"23342323\"\n            },\n            \"settings\": {\n                \"general\": null,\n                \"peers\": null,\n                \"rf\": null,\n                \"simCard\": {\n                    \"serialNumber\": \"string\",\n                    \"phoneNumber\": \"+string\",\n                    \"imeiNumber\": \"string\"\n                },\n                \"sound\": null,\n                \"zones\": null\n            },\n            \"features\": {\n                \"turnOffDevice\": true,\n                \"restartDevice\": true,\n                \"emitSiren\": true,\n                \"pairExternalDevice\": true,\n                \"unpairExternalDevice\": true,\n                \"startGsmLog\": true,\n                \"factoryReset\": true,\n                \"syncDeviceSettings\": false,\n                \"systemInformation\": true,\n                \"peerSettings\": true,\n                \"rfSettings\": true,\n                \"carrierInformation\": true,\n                \"position\": true,\n                \"owner\": true,\n                \"baseConfiguration\": false,\n                \"simCardSettings\": true,\n                \"speakerSettings\": true,\n                \"zoneSettings\": false,\n                \"updateSimCard\": false\n            },\n            \"relatedUsers\": []\n        }\n    ]\n}"},{"id":"6f802b83-38a9-47c1-ad3e-cb2f84eda8b9","name":"200: success","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"id\": \"string\",\r\n    \"ownerId\": \"string\",\r\n    \"name\": \"string\",\r\n    \"devices\": [\r\n      \"string\"\r\n    ],\r\n    \"members\": [\r\n      \"string\"\r\n    ]\r\n  }\r\n]"},{"id":"bb79399b-8777-44c9-8a13-cb2fa7e1608a","name":"200: success -  mode=usersList","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"pagingInformation\": {\r\n        \"pageCount\": 1,\r\n        \"itemCountPerPage\": 15,\r\n        \"first\": 1,\r\n        \"current\": 1,\r\n        \"last\": 1,\r\n        \"pagesInRange\": {\r\n            \"1\": 1\r\n        },\r\n        \"firstPageInRange\": 1,\r\n        \"lastPageInRange\": 1,\r\n        \"currentItemCount\": 1,\r\n        \"totalItemCount\": 1,\r\n        \"firstItemNumber\": 1,\r\n        \"lastItemNumber\": 1\r\n    },\r\n    \"groupList\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"name\": \"string\",\r\n            \"role\": {\r\n                \"roleName\": \"string\",\r\n                \"status\": \"string\",\r\n                \"description\": \"string\",\r\n                \"uuid\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdBy\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdAt\": null,\r\n                \"organization\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"predefined\": int,\r\n                \"level\": int,\r\n                \"color\": \"string\"\r\n            }\r\n        },\r\n    \"data\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"email\": \"string\",\r\n            \"username\": \"string\",\r\n            \"firstName\": \"string\",\r\n            \"lastName\": \"string\",\r\n            \"language\": \"string\",\r\n            \"locked\": bol,\r\n            \"emailConfirmed\": bol,\r\n            \"groups\": [\r\n                {\r\n                    \"groupName\": \"string\",\r\n                    \"roleName\": \"string\"\r\n                }\r\n            ]\r\n        }\r\n}"}],"_postman_id":"83a100e2-e160-4f7a-b8cc-9a1f64d06702"},{"name":"create","id":"8190a17d-b2d7-4995-86e1-036ed907b8f5","request":{"method":"POST","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"ownerId\": \"{{ownerUuid}}\",\r\n  \"name\": \"New Group for PG!1234\"\r\n}"},"url":"{{BASE_URL}}/v1/deviceGroups","description":"<p>Create a new device group</p>\n","urlObject":{"path":["v1","deviceGroups"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"48d0492d-9825-4c96-bd3c-c460fcbe331a","name":"200: success -  mode=usersList","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"pagingInformation\": {\r\n        \"pageCount\": 1,\r\n        \"itemCountPerPage\": 15,\r\n        \"first\": 1,\r\n        \"current\": 1,\r\n        \"last\": 1,\r\n        \"pagesInRange\": {\r\n            \"1\": 1\r\n        },\r\n        \"firstPageInRange\": 1,\r\n        \"lastPageInRange\": 1,\r\n        \"currentItemCount\": 1,\r\n        \"totalItemCount\": 1,\r\n        \"firstItemNumber\": 1,\r\n        \"lastItemNumber\": 1\r\n    },\r\n    \"groupList\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"name\": \"string\",\r\n            \"role\": {\r\n                \"roleName\": \"string\",\r\n                \"status\": \"string\",\r\n                \"description\": \"string\",\r\n                \"uuid\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdBy\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"createdAt\": null,\r\n                \"organization\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n                \"predefined\": int,\r\n                \"level\": int,\r\n                \"color\": \"string\"\r\n            }\r\n        },\r\n    \"data\": [\r\n        {\r\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"email\": \"string\",\r\n            \"username\": \"string\",\r\n            \"firstName\": \"string\",\r\n            \"lastName\": \"string\",\r\n            \"language\": \"string\",\r\n            \"locked\": bol,\r\n            \"emailConfirmed\": bol,\r\n            \"groups\": [\r\n                {\r\n                    \"groupName\": \"string\",\r\n                    \"roleName\": \"string\"\r\n                }\r\n            ]\r\n        }\r\n}"},{"id":"9e214182-0f5a-4756-ba51-62a788ac90f6","name":"200: success","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/deviceGroups"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"id\": \"string\",\r\n    \"ownerId\": \"string\",\r\n    \"name\": \"string\",\r\n    \"devices\": [\r\n      \"string\"\r\n    ],\r\n    \"members\": [\r\n      \"string\"\r\n    ]\r\n  }\r\n]"}],"_postman_id":"8190a17d-b2d7-4995-86e1-036ed907b8f5"},{"name":"update","id":"e573acda-ef63-4efa-8450-7ceb275c632e","request":{"method":"PUT","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"addDevices\":[\n\t\t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n\t\t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"\n\t\t],\n\t\"removeDevices\": [\n\t\t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n\t\t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"\n\t\t],\n    \"addMembers\": [\n    \t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n    \t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"\n\t],\n\t\"removeMembers\": [\n    \t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n    \t\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"\n\t]\n}\n\n\t\n"},"url":"{{BASE_URL}}/v1/deviceGroups/{{deviceGroup_id}}","description":"<p>Update device group</p>\n<ul>\n<li>Note:</li>\n<li>If a new member should be added, we have to add the user by email.</li>\n<li>In this case the request looks like this:<pre>\n{\n  \"firstname\": \"string\",\n  \"lastname\": \"string\",\n  \"email\":\"string\",\n  \"role\":{\n          \"uuid\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n          \"name\": \"string\",\n          \"description\": \"string\",\n          \"permissions\": [],\n          \"color\": \"string\",\n          \"level\": int\n      }</pre></li>\n</ul>\n<p>}\n</p>\n<ul>\n<li>Available roles: </li>\n<li>Customer, Manager, Observer, Caregiver, Observer</li>\n<li>For more details please see Roles Endpoint</li>\n</ul>\n","urlObject":{"path":["v1","deviceGroups","{{deviceGroup_id}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"551349d9-4be8-4ebf-8e68-8020cebd0ee5","name":"200: add member","originalRequest":{"method":"PUT","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"string\",\n    \"lastname\": \"string\",\n    \"email\":\"string\",\n    \"role\":{\n            \"uuid\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n            \"name\": \"string\",\n            \"description\": \"string\",\n            \"permissions\": [],\n            \"color\": \"string\",\n            \"level\": 1\n        }\n}\n\t\n"},"url":"{{BASE_URL}}/v1/deviceGroups/{{deviceGroup_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"pagingInformation\": {\n        \"pageCount\": 1,\n        \"itemCountPerPage\": 15,\n        \"first\": 1,\n        \"current\": 1,\n        \"last\": 1,\n        \"pagesInRange\": {\n            \"1\": 1\n        },\n        \"firstPageInRange\": 1,\n        \"lastPageInRange\": 1,\n        \"currentItemCount\": 2,\n        \"totalItemCount\": 2,\n        \"firstItemNumber\": 1,\n        \"lastItemNumber\": 2\n    },\n    \"groupList\": [\n        {\n            \"id\": \"3e4e1356-44a6-4881-8ad7-fa32db514e3b\",\n            \"name\": \"GroupFor Chris\",\n            \"role\": []\n        }\n    ],\n    \"data\": [\n        {\n            \"id\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n            \"email\": \"string\",\n            \"username\": null,\n            \"firstName\": \"string\",\n            \"lastName\": \"string\",\n            \"language\": null,\n            \"locked\": false,\n            \"emailConfirmed\": false,\n            \"groups\": [\n                {\n                    \"groupName\": \"string\",\n                    \"roleName\": \"string\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"e573acda-ef63-4efa-8450-7ceb275c632e"},{"name":"delete","id":"98a8c5da-68f0-432a-8684-78aee1f0aa9e","request":{"method":"DELETE","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/v1/deviceGroups/{{deviceGroup_id}}","description":"<p>Delete device group</p>\n<ul>\n<li>Note: if a device group is shared can not be deleted</li>\n</ul>\n","urlObject":{"path":["v1","deviceGroups","{{deviceGroup_id}}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98a8c5da-68f0-432a-8684-78aee1f0aa9e"}],"id":"5be36fdc-4912-4ca8-8e34-fe30a7dc8dcb","_postman_id":"5be36fdc-4912-4ca8-8e34-fe30a7dc8dcb","description":""},{"name":"Roles","item":[{"name":"read","id":"89c641b2-d67f-4cf5-b413-a78f8c23e956","request":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/roles","description":"<p>Get all roles for roles management</p>\n","urlObject":{"path":["v1","roles"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e6d96ff3-231a-4aeb-862a-7dd9d578baf9","name":"200: successful","originalRequest":{"method":"GET","header":[{"key":"Libify-Service-Access-Key","value":"{{API_KEY}}","disabled":false},{"key":"Accept","value":"application/json","disabled":false},{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"origin, content-type, accept, Libify-Service-Access-Key, Libify-Service-Access-Password","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Expose-Headers","value":"location","name":"Access-Control-Expose-Headers","description":"Lets a server whitelist headers that browsers are allowed to access."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 23 Jul 2018 09:03:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.11.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[{"expires":"Sun Aug 05 2018 07:35:37 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"interfaceservice.stage.geox.ws","path":"/","secure":false,"value":"hsjh37pif15i3ihfqa9vp193r5","key":"sessionId"}],"responseTime":null,"body":"[{\"uuid\":\"15a4f49c-3f82-4e30-8927-98a016c412bf\",\"name\":\"Manager\",\"description\":\"Person, who manages the device\",\"permissions\":[],\"color\":\"red\",\"level\":4},{\"uuid\":\"8c0f894c-54a4-439b-9e4e-6973a76d196a\",\"name\":\"Customer\",\"description\":\"Person who receives and pays the invoices\",\"permissions\":[],\"color\":\"green\",\"level\":5},{\"uuid\":\"d1b8cdb3-00c2-499f-85c1-82b9fb93a562\",\"name\":\"Organization\",\"description\":\"Service Provider\",\"permissions\":[],\"color\":\"magenta\",\"level\":6},{\"uuid\":\"42739ded-f3e1-448f-8571-052c7a2a8fbd\",\"name\":\"Observer\",\"description\":\"Observer\",\"permissions\":[],\"color\":\"orange\",\"level\":1},{\"uuid\":\"fa684394-8dda-43c9-b154-cb9199a8565a\",\"name\":\"Deployer\",\"description\":\"Technician who deploys device\",\"permissions\":[],\"color\":\"blue\",\"level\":3},{\"uuid\":\"747aec72-c439-4864-8eeb-852432376fae\",\"name\":\"Caregiver\",\"description\":\"Caregiver\",\"permissions\":[],\"color\":\"yellow\",\"level\":2}]"}],"_postman_id":"89c641b2-d67f-4cf5-b413-a78f8c23e956"}],"id":"2ee6509c-3670-407a-8341-26d9d4126efe","_postman_id":"2ee6509c-3670-407a-8341-26d9d4126efe","description":""},{"name":"Migration","item":[{"name":"createMessage","id":"e3d5d70c-c9dc-47c0-a5ad-83371f8fffd6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Libify-Service-Access-Key","value":"5a6ca3f4-7c8b-4687-b6ea-896b73ae3394","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"jsonrpc\": \"2.0\",\r\n    \"id\": \"Ke43jnGeQsk2z9GYvFmrax\",\r\n    \"method\": \"createMessage\",\r\n    \"params\": {\r\n        \"accountKey\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n        \"message\": \"Alive%0A20160228064330%0A100%25%0AC%0AI%0A262%2C7%2CC771%2C2F88%2C33%2C99\",\r\n        \"to\": \"4915158019605\",\r\n        \"from\": \"345901007984762\",\r\n        \"flags\": \"A\",\r\n        \"priority\": \"1\",\r\n        \"vp\": \"0\",\r\n        \"scts\": \"051113154059\",\r\n        \"pending\": \"0\",\r\n        \"elementid\": \"GSM_51f583164e0b59511648geodog_gsm.....001\"\r\n    }\r\n}"},"url":"https://interfaceservice.geox.ws/migration/v1/messages","urlObject":{"protocol":"https","path":["migration","v1","messages"],"host":["interfaceservice","geox","ws"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3d5d70c-c9dc-47c0-a5ad-83371f8fffd6"}],"id":"ce1e56c8-bc0f-45d1-b74c-4510173743fb","_postman_id":"ce1e56c8-bc0f-45d1-b74c-4510173743fb","description":""}]}