{"info":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<p>PROGET APIs facilitate integration with third-party tools, systems, and applications by respecting RESTful principles. These APIs enable you to programmatically fetch, put and edit data. All the APIs follow HTTP rules and error codes.</p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<p>All PROGET APIs require one mandatory field in the header.</p>\n<ul>\n<li>Authorization - Authentication request token</li>\n</ul>\n<h2 id=\"http-methods\">HTTP Methods</h2>\n<p>PROGET APIs enable data manipulation and retrieval through different HTTP methods.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method</strong></th>\n<th><strong>Purpose</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>Retrieve resources</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>Create resources and perform resource actions</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td>Update resources</td>\n</tr>\n<tr>\n<td>PATCH</td>\n<td>Partially update resources</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td>Delete resources</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"errors\">Errors</h2>\n<p>PROGET uses HTTP status codes to indicate the success or failure of API calls. Status codes in the 2xx range indicate success, the 4xx range suggests an error in the information provided, and the 5xx range means server-side errors. The following table lists some commonly used HTTP status codes.</p>\n<h4 id=\"http-status-codes\">HTTP Status Codes</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n</tr>\n<tr>\n<td>201</td>\n<td>Created</td>\n</tr>\n<tr>\n<td>204</td>\n<td>No Content</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n</tr>\n<tr>\n<td>405</td>\n<td>Method Not Allowed</td>\n</tr>\n<tr>\n<td>413</td>\n<td>Request Entity Too Large</td>\n</tr>\n<tr>\n<td>415</td>\n<td>Unsupported Media Type</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too Many Requests</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Error</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"conventions\">Conventions</h2>\n<p>Always ignore undocumented fields or enum values present in the API response. These fields could be either experimental or deprecated.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1028368","collectionId":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","publishedId":"2s93Y2SMM4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-15T14:27:17.000Z"},"item":[{"name":"Authentication","item":[{"name":"Authentication","event":[{"listen":"test","script":{"id":"4105246c-642a-4c67-a962-33fbb9e4ceac","exec":["pm.response.to.have.status(200);","pm.expect(pm.response.json().token).not.equal(null);","pm.environment.set(\"TOKEN\", pm.response.json().token);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2eaa9913-d349-4367-9e3d-610e7d36af8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{USER}}\",\n    \"password\": \"{{PASSWORD}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/login","description":"<p>This POST request allows you to obtain a Bearer Token. The token is sent to the backend server to access the protected resources. It provides secure and temporary access to PROGET APIs and is used by applications to make requests to the connected app.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","login"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"5e4eed10-249f-4921-bdfb-cc7b2c607918","name":"200 OK - Authentication token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{USER}}\",\n    \"password\": \"{{PASSWORD}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Apr 2023 09:23:17 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzUxMiJ9.eyJpYXQiOjE2ODEyOTEzOTcsImV4cCI6MTY4MTI5NDk5Nywicm9sZXMiOlsiUk9MRV9VU0VSIl0sImlkIjoiOGU5OTY4ZGYtYTZkNS00YmJiLWFkNWYtNmIwZjUyN2FkOTJmIiwidXNlcm5hbWUiOiJqb2huLmRvZSIsImxlZ2FjeUlkIjoxfQ.BCTbJpA_b0hU7jamGtUYxVXDihItuGeeulHyBrOtzAqkBXoWshnUSSP19fLuR9K9-nXsLSIKnbJx4-plz3D-SH55p4fRwQLKoGOHxShQZSNbxcENOeLIrJ1r0Ka_Dk64aNG68S0tnNlYLmss0V1CQEw0PEbiMGkFoJPYoop9Im0pNg_pzNwffSvFqo622LQx5DXssCJ53_XwPXDPZOhe6u-nKoo0AFQAg0Ym5WHhhoUZXj39jj_RhCbBMKj8xrkCKjgBAoA6gqiUr__Mq1eg3eLWbo-MD5zXcd1JJG6OOXKWyuaeZ5dHaguvW3VkiRCvQKjEz8ijh73nWuQ3NtVQJMevUfOLzpboXxhP5vBK5Hw7tcqz4xDcJ_ZvoY6M4_xf5mQaWGSgB3y5UZFmC2Ob_FPhFodcCJ8hGArY25CAkTH8oeFEeq2lpsm3g1BFAyJd-ew8U16vb4ezjw7R1vhXH9fK-W_XcRlRkW8z4tQw35hl_LTRQpeEOxmJnw9aNfJKHunuDgQsDQKOcNWNXmyF7zzGLLqUqm_ceQ-TsqMWjMP06p5YiCqTfFT7B5cipuIX_A08jk99OFMfn9Aiir0SH0pCBGlJD5omxFlojL-rqqvu-IYL4B1SMO_Goo2hyfKIUy7DAsdHQ7ug_two3cHOo7WVvA5tO9j4YlAkfpH-MsQ\",\n    \"permissions\": [],\n    \"eulaConfirmed\": true,\n    \"passwordChanged\": true,\n    \"defaultTenantAlias\": \"example\",\n    \"chatEnabled\": false,\n    \"superAdmin\": true,\n    \"lastLoginAt\": {\n        \"positive\": \"2023-01-01 12:00:00\",\n        \"negative\": \"2023-01-01 11:00:00\"\n    }\n}"}],"_postman_id":"2eaa9913-d349-4367-9e3d-610e7d36af8a"}],"id":"a262527d-dd84-4319-897b-84ff187c7bc2","description":"<p>To authenticate each request, a client must send a JSON Web Token (JWT) in the authorization header of the HTTP request to the backend API. The server validates a JWT and caches it for sixty minutes (default). You can request a token by sending POST on <code>/api/mdm/login</code> endpoint with a username and password in BODY.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"2db036ad-f83f-41d2-94c4-7c002a6c11d5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e6081d6c-839e-48e4-be0a-07ba6bdefba6","type":"text/javascript","exec":[""]}}],"_postman_id":"a262527d-dd84-4319-897b-84ff187c7bc2"},{"name":"Users management","item":[{"name":"Get Users list with details","event":[{"listen":"test","script":{"id":"1fc42bf1-8f2f-4a16-acb7-b48534475fa2","exec":["pm.response.to.have.status(200);","pm.expect(pm.response.json().items[0].id).not.equal(null);","pm.environment.set(\"USER_ID\", pm.response.json().items[0].id);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c82ce55d-8573-488c-a6f4-45cd7507382f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/user","description":"<p>The <code>/api/mdm/user</code> endpoint returns a list of users with their attributes, groups, and devices. The list can be narrowed down by using the proper parameters.</p>\n<p>List of available params:</p>\n<ul>\n<li><p>firstName</p>\n</li>\n<li><p>lastName</p>\n</li>\n<li><p>email</p>\n</li>\n<li><p>username</p>\n</li>\n<li><p>phoneNumber</p>\n</li>\n<li><p>withoutDevices</p>\n</li>\n<li><p>activation</p>\n</li>\n<li><p>model[]</p>\n</li>\n<li><p>system[]</p>\n</li>\n<li><p>group[]</p>\n</li>\n<li><p>groupless</p>\n</li>\n<li><p>vip</p>\n</li>\n<li><p>superAdmin</p>\n</li>\n<li><p>blockedUser</p>\n</li>\n<li><p>account</p>\n</li>\n</ul>\n<p>In this case, all parameters are optional.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","user"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a user's first name.</p>\n","type":"text/plain"},"key":"firstName","value":"John"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a user's last name.</p>\n","type":"text/plain"},"key":"lastName","value":"Doe"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a user's email address.</p>\n","type":"text/plain"},"key":"email","value":"john.doe@example.com"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a user's username.</p>\n","type":"text/plain"},"key":"username","value":"john.doe"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a user's phone number.</p>\n","type":"text/plain"},"key":"phoneNumber","value":"+11112223333"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the user has a device.</p>\n","type":"text/plain"},"key":"withoutDevices","value":"false"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value determines whether device activation is:</p>\n<ul>\n<li><code>0</code> (not set)</li>\n<li><code>1</code> (already set)</li>\n<li><code>2</code> (expired)</li>\n</ul>\n","type":"text/plain"},"key":"activation","value":"0"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a device model name. Multiple models can be provided as: <code>?model[]=SM-A536B&amp;model[]=iPhone 12</code>.</p>\n","type":"text/plain"},"key":"model[]","value":"moto g(100)"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a device operating system version. Multiple versions can be provided as: <code>?system[]=Android 10&amp;system[]=Android 11</code>.</p>\n","type":"text/plain"},"key":"system[]","value":"Android 12"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value with a user group id. Multiple group can be provided as: <code>?group[]=11&amp;system[]=group 12</code>.</p>\n","type":"text/plain"},"key":"group[]","value":"13"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the user does not belong to any group.</p>\n","type":"text/plain"},"key":"groupless","value":"false"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the user is marked as VIP.</p>\n","type":"text/plain"},"key":"vip","value":"false"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the user has a super admin rights.</p>\n","type":"text/plain"},"key":"superAdmin","value":"false"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the user is currently blocked.</p>\n","type":"text/plain"},"key":"blockedUser","value":"false"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines whether the user was imported from Active Directory or created as a local user.</p>\n<ul>\n<li><code>local</code> (means created as a local user)</li>\n<li><code>ad</code> (means imported from Active Directory)</li>\n</ul>\n","type":"text/plain"},"key":"account","value":"local"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"c3bfa45d-0467-44cc-a3d9-77ae88458565","name":"200 OK - User(s) with details","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/user","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","user"],"query":[{"key":"firstName","value":"John","description":"(optional) ","disabled":true},{"key":"lastName","value":"Doe","description":"(optional) ","disabled":true},{"key":"email","value":"{{USER_EMAIL}}","description":"(optional) User's email address","disabled":true},{"key":"username","value":"{{USER}}","description":"(optional) ","disabled":true},{"key":"phoneNumber","value":"000 000 000","description":"(optional) ","disabled":true},{"key":"withoutDevices","value":"false","description":"(optional) true/false","disabled":true},{"key":"activation","value":"0","description":"(optional) 1,2,3","disabled":true},{"key":"model[]","value":"moto g(100)","description":"(optional) ","disabled":true},{"key":"system[]","value":"Android 12","description":"(optional) ","disabled":true},{"key":"group[]","value":"13","description":"(optional) ","disabled":true},{"key":"groupless","value":"false","description":"(optional) true/false","disabled":true},{"key":"vip","value":"false","description":"(optional) true/false","disabled":true},{"key":"superAdmin","value":"false","description":"(optional) true/false","disabled":true},{"key":"blockedUser","value":"false","description":"(optional) true/false","disabled":true},{"key":"account","value":"local","description":"(optional) local/ad","disabled":true},{"key":"limit","value":"50","description":"(optional) The limit indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources","disabled":true},{"key":"offset","value":"0","description":"(optional) The offset indicates from which point the records are to be fetched. The default value of from parameter is 0","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 11:17:14 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"8e9968df-a6d5-4bbb-ad5f-6b0f527ad92f\",\n            \"legacyId\": 1,\n            \"account\": \"local\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Doe\",\n            \"username\": \"john.doe\",\n            \"email\": \"john.doe@example.com\",\n            \"createdAt\": \"2023-01-01\",\n            \"locked\": false,\n            \"vip\": false,\n            \"superAdmin\": true,\n            \"phoneNumber\": \"0000000000001\",\n            \"groups\": [\n                {\n                    \"id\": 76,\n                    \"name\": \"Group: Test\"\n                }\n            ],\n            \"azureGroups\": [],\n            \"devices\": [\n                {\n                    \"id\": 3308,\n                    \"uuid\": \"e6f2b3f9-14dc-4080-991e-076dcc60a341\",\n                    \"vendor\": \"MOTOROLA\",\n                    \"model\": \"moto g(100)\",\n                    \"contact\": \"2023-01-01 13:00:00\"\n                }\n            ],\n            \"activationExpiresAt\": null,\n            \"ldap\": null,\n            \"policies\": [],\n            \"profiles\": [],\n            \"autoEnrollment\": false,\n            \"hasValidCertificate\": false\n        },\n        {\n            \"id\": \"a04f4a2b-9a82-4695-ba19-bf44cab08587\",\n            \"legacyId\": 3,\n            \"account\": \"local\",\n            \"firstName\": \"Richard\",\n            \"lastName\": \"Roe\",\n            \"username\": \"richard.roe\",\n            \"email\": \"richard.roe@example.com\",\n            \"createdAt\": \"2023-01-01\",\n            \"locked\": false,\n            \"vip\": false,\n            \"superAdmin\": false,\n            \"phoneNumber\": \"0000000000002\",\n            \"groups\": [],\n            \"azureGroups\": [],\n            \"devices\": [],\n            \"activationExpiresAt\": null,\n            \"ldap\": null,\n            \"policies\": [],\n            \"profiles\": [],\n            \"autoEnrollment\": false,\n            \"hasValidCertificate\": false\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 2\n}"}],"_postman_id":"c82ce55d-8573-488c-a6f4-45cd7507382f"}],"id":"8f912935-f428-465f-9937-f9fac8778b17","description":"<p>This set of endpoints allows you to manage user accounts within the system. You can retrieve detailed information about existing users and add and remove labels. All requests must be authenticated using a valid JSON Web Token (JWT) in the authorization header. The system ensures that only authorized administrators can perform user-related actions. All operations respect control over user access and roles within the platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"04342cf2-decf-40a8-9914-f5c226639188","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"205d7c47-0b5a-4d6c-8357-69f871120358","type":"text/javascript","exec":[""]}}],"_postman_id":"8f912935-f428-465f-9937-f9fac8778b17"},{"name":"Activations","item":[{"name":"Generate Manual activation details without user","id":"33054523-fb04-4cde-8abd-5293b215bc6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n    \"sendEmail\": false,\n    \"count\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation","description":"<p>This POST request allows you to generate activation details for a device without a user. Through this endpoint, you can get details on how to enroll a single device.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"33fa4ed9-ac18-4f13-86d0-037ee6c64289","name":"201 Created - Manual activation details without user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n    \"sendEmail\": false,\n    \"count\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:45:32 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"activation\": {\n        \"id\": 1108,\n        \"uuid\": \"1649580f-e845-4484-833d-772510ae1e9f\",\n        \"pin\": \"1291\",\n        \"createdAt\": \"2023-01-01 23:59:59\",\n        \"expirationDate\": \"2023-01-02 23:59:59\",\n        \"type\": \"android_for_work_device_owner\",\n        \"email\": null,\n        \"active\": true,\n        \"identifier\": \"0DE91E9D\",\n        \"templateConfiguration\": {\n            \"allowMultipleActivations\": false,\n            \"expirationDays\": 1,\n            \"maxAttempts\": 3,\n            \"passwordLength\": 4,\n            \"identifierLength\": 8,\n            \"emailData\": {\n                \"deliveryMode\": \"ask\",\n                \"subject\": \"Activation subject details here...\",\n                \"message\": \"Activation message details here...\"\n            },\n            \"leaveSystemApplications\": false,\n            \"wifiData\": null,\n            \"addAndroidEnterpriseAccount\": true\n        },\n        \"eula\": {\n            \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n            \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n        }\n    },\n    \"serverHostname\": \"example.domain.com\",\n    \"userDisplayName\": null,\n    \"qrcode\": \"data:image/svg+xml;base64,base64QRcodeencodedvalue\"\n}"},{"id":"8f250d5e-9084-44cd-af8d-143eab419184","name":"400 Bad Request - Activation template not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"009b4f75-e5da-4b75-a454-20b007931532\",\n    \"sendEmail\": false,\n    \"count\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:59:24 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"sendEmail\": [],\n            \"user\": [],\n            \"count\": [],\n            \"activationTemplateId\": {\n                \"errors\": [\n                    \"Activation template not found\"\n                ]\n            }\n        },\n        \"_extraFields\": []\n    }\n}"}],"_postman_id":"33054523-fb04-4cde-8abd-5293b215bc6b"},{"name":"Generate Manual activation details with user","id":"21f07e11-340f-4f1c-aa4e-ed8c6a462b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n    \"sendEmail\": false,\n    \"user\": \"{{USER_UUID}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation","description":"<p>This POST request allows you to generate activation details for a device with a user. Through this endpoint, you can get details on how to enroll a single device associated with a user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"f5249a30-9321-4e55-8cbe-e082c45a8c4c","name":"201 Created - Manual activation details with user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n    \"sendEmail\": false,\n    \"user\": \"{{USER_UUID}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:46:27 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"activation\": {\n        \"id\": 1108,\n        \"uuid\": \"1649580f-e845-4484-833d-772510ae1e9f\",\n        \"pin\": \"1291\",\n        \"createdAt\": \"2023-01-01 23:59:59\",\n        \"expirationDate\": \"2023-01-02 23:59:59\",\n        \"type\": \"android_for_work_device_owner\",\n        \"email\": \"john.doe@example.com\",\n        \"active\": true,\n        \"identifier\": \"DDDD4C70\",\n        \"templateConfiguration\": {\n            \"allowMultipleActivations\": false,\n            \"expirationDays\": 1,\n            \"maxAttempts\": 3,\n            \"passwordLength\": 4,\n            \"identifierLength\": 8,\n            \"emailData\": {\n                \"deliveryMode\": \"ask\",\n                \"subject\": \"Activation subject details here...\",\n                \"message\": \"Activation message details here...\"\n            },\n            \"leaveSystemApplications\": false,\n            \"wifiData\": null,\n            \"addAndroidEnterpriseAccount\": true\n        },\n        \"eula\": {\n            \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n            \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n        }\n    },\n    \"serverHostname\": \"example.domain.com\",\n    \"userDisplayName\": \"John Doe\",\n    \"qrcode\": \"data:image/svg+xml;base64,base64QRcodeencodedvalue\"\n}"},{"id":"7d7cb3d9-0f7f-4162-a13a-0e28d3608e32","name":"400 Bad Request - Activation template not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"009b4f75-e5da-4b75-a454-20b007931532\",\n    \"sendEmail\": false,\n    \"user\": \"{{USER_UUID}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:58:26 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"sendEmail\": [],\n            \"user\": [],\n            \"count\": [],\n            \"activationTemplateId\": {\n                \"errors\": [\n                    \"Activation template not found\"\n                ]\n            }\n        },\n        \"_extraFields\": []\n    }\n}"},{"id":"3710d5b9-ba6c-4564-9891-423e90d08a79","name":"404 Not Found - User not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n    \"sendEmail\": false,\n    \"user\": \"009b4f75-e5da-4b75-a454-20b007931533\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/activation"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:58:51 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"21f07e11-340f-4f1c-aa4e-ed8c6a462b17"},{"name":"Get the list of Activation templates","id":"3f88b79e-40df-4deb-859d-effd6bb030b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation-template","description":"<p>The <code>/api/mdm/activation-template</code> endpoint returns a list of activation templates. The list can be narrowed down by using the proper parameters.</p>\n<ul>\n<li><p>name</p>\n</li>\n<li><p>activationTypes[]</p>\n</li>\n<li><p>eulaId[]</p>\n</li>\n</ul>\n<p>In this case, all parameters are optional.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation-template"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a template's name.</p>\n","type":"text/plain"},"key":"name","value":"Android Enterprise Device Owner"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with the EULA's uuid.</p>\n","type":"text/plain"},"key":"eulaId[]","value":"ae09a1d8-85be-4222-93d4-a57f47180797"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines what activation template is searched.</p>\n<ul>\n<li><code>android_for_work_device_owner</code></li>\n<li><code>android_for_work_work_profile</code></li>\n<li><code>android_mdm</code></li>\n<li><code>ios_mdm</code></li>\n<li><code>macos_mdm</code></li>\n<li><code>windows_mdm</code></li>\n</ul>\n","type":"text/plain"},"key":"activationTypes[]","value":"ios_mdm"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"baf8aca1-ad7f-40f6-afc1-d36f6f125b9b","name":"200 OK - List of Activation templates","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/activation-template?limit=50&offset=0","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","activation-template"],"query":[{"key":"limit","value":"50"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:46:52 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"e678c051-dc0a-4134-9846-862d08f3ce1a\",\n            \"name\": \"Android Enterprise Device Owner\",\n            \"activation\": \"android_for_work_device_owner\",\n            \"eula\": null,\n            \"modification\": {\n                \"createdAt\": \"2023-01-01 23:59:59\",\n                \"updatedAt\": null,\n                \"createdBy\": {\n                    \"id\": \"bb6838c6-62c7-4e0d-abad-4a4df8099352\",\n                    \"type\": \"user\",\n                    \"name\": \"John\",\n                    \"surname\": \"Doe\",\n                    \"email\": \"john.doe@example.com\"\n                },\n                \"updatedBy\": null\n            },\n            \"entraIdRelationCount\": 0,\n            \"ldapRelationCount\": 0,\n            \"autoEnrollRelationCount\": 0\n        },\n        {\n            \"id\": \"a04f4a2b-9a82-4695-ba19-bf44cab08587\",\n            \"name\": \"Android Enterprise Device Owner\",\n            \"activation\": \"android_for_work_device_owner\",\n            \"eula\": null,\n            \"modification\": {\n                \"createdAt\": \"2023-01-01 23:58:59\",\n                \"updatedAt\": null,\n                \"createdBy\": {\n                    \"id\": \"e6f2b3f9-14dc-4080-991e-076dcc60a341\",\n                    \"type\": \"user\",\n                    \"name\": \"Richard\",\n                    \"surname\": \"Roe\",\n                    \"email\": \"richard.roe@example.com\"\n                },\n                \"updatedBy\": null\n            },\n            \"entraIdRelationCount\": 0,\n            \"ldapRelationCount\": 0,\n            \"autoEnrollRelationCount\": 0\n        }\n    ],\n    \"limit\": 50,\n    \"offset\": 0,\n    \"total\": 2\n}"}],"_postman_id":"3f88b79e-40df-4deb-859d-effd6bb030b1"},{"name":"Get Activation template details by template uuid","id":"b4763d97-5ee6-4e95-9839-f45d0b36249c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation-template/{{ACTIVATION_TEMPLATE_UUID}}","description":"<p>The <code>/api/mdm/activation-template/{{ACTIVATION_TEMPLATE_UUID}}</code> endpoint returns details of a specific activation template. Activation template details could be retrieved by providing an activation template's UUID.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation-template","{{ACTIVATION_TEMPLATE_UUID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"824f00cf-0416-4d55-bce1-dd54fee40668","name":"200 OK - Activation template details","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation-template/{{ACTIVATION_TEMPLATE_UUID}}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:47:13 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"009b4f75-e5da-4b75-a454-20b007931533\",\n    \"name\": \"Android Enterprise Device Owner\",\n    \"eula\": {\n        \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n        \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n    },\n    \"configuration\": {\n        \"activation\": \"android_for_work_device_owner\",\n        \"allowMultipleActivations\": false,\n        \"expirationDays\": 1,\n        \"maxAttempts\": 3,\n        \"passwordLength\": 4,\n        \"identifierLength\": 8,\n        \"emailData\": {\n            \"deliveryMode\": \"ask\",\n            \"subject\": \"Activation subject details here...\",\n            \"message\": \"Activation message details here...\"\n        },\n        \"leaveSystemApplications\": false,\n        \"addAndroidEnterpriseAccount\": true,\n        \"wifiData\": null\n    }\n}"},{"id":"11508adf-8011-4fb0-b438-e5328c763169","name":"404 Not Found","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation-template/009b4f75-e5da-4b75-a454-20b007931532"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:57:46 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"b4763d97-5ee6-4e95-9839-f45d0b36249c"},{"name":"Add Automatic registration with Proget by IMEI","event":[{"listen":"test","script":{"id":"fd4045b2-d22b-4df3-91f8-dddb925d600e","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(pm.response.code === 201){","    pm.test(\"Proget transaction created\", function () {","        pm.expect(pm.response.json().transactionId).to.exist;","        pm.environment.set(\"PROGET_TRANSACTIONID\", pm.response.json().transactionId);","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d72966c8-074a-4a90-aea5-0e1e4606e297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll","description":"<p>This POST request allows you to add an automatic enrollment record by the device IMEI number.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","auto-enroll"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"d248bdea-08cb-407a-afef-ad45d115e704","name":"201 Created - Automatic registration transaction id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:47:36 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"de92ef49-fc4d-4de5-95d8-1d3e0dfc9dca\"\n}"},{"id":"32537729-c526-4c35-a4d8-1bd336bd312a","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"fdgfdg\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:55:22 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"d72966c8-074a-4a90-aea5-0e1e4606e297"},{"name":"Add Automatic registration with KME by IMEI","event":[{"listen":"test","script":{"id":"fd4045b2-d22b-4df3-91f8-dddb925d600e","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(pm.response.code === 201){","    pm.test(\"Proget transaction created\", function () {","        pm.expect(pm.response.json().transactionId).to.exist;","        pm.environment.set(\"PROGET_TRANSACTIONID\", pm.response.json().transactionId);","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"8bf95542-b569-40d2-95e8-efc52ce72bb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"kme\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll","description":"<p>This POST request allows you to add an automatic enrollment record by the device IMEI number.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","auto-enroll"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"549b73f8-b6bd-425b-898d-7fb37cfae020","name":"201 Created - Automatic registration transaction id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"kme\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 May 2026 21:26:43 GMT"},{"key":"server-version","value":"20260401"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"c9f319b8-c228-4dbf-aab6-2c4587b3a91b\"\n}"},{"id":"7aae4b82-2732-4e9b-81c2-bc6fdc55e35e","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"imei\",\n    \"integration\": \"kme\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_IMEI}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 May 2026 21:27:15 GMT"},{"key":"server-version","value":"20260401"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"integration\": [],\n            \"type\": [],\n            \"autoEnrollments\": {\n                \"children\": [\n                    {\n                        \"children\": {\n                            \"user\": [],\n                            \"activationTemplateId\": [],\n                            \"alias\": [],\n                            \"policy\": [],\n                            \"actionOnActivate\": [],\n                            \"id\": {\n                                \"errors\": [\n                                    \"Ta wartość jest nieprawidłowa.\"\n                                ]\n                            }\n                        }\n                    }\n                ]\n            }\n        },\n        \"_extraFields\": []\n    }\n}"}],"_postman_id":"8bf95542-b569-40d2-95e8-efc52ce72bb6"},{"name":"Add Automatic registration with Proget by SN","event":[{"listen":"test","script":{"id":"fd4045b2-d22b-4df3-91f8-dddb925d600e","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(pm.response.code === 201){","    pm.test(\"Proget transaction created\", function () {","        pm.expect(pm.response.json().transactionId).to.exist;","        pm.environment.set(\"PROGET_TRANSACTIONID\", pm.response.json().transactionId);","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c6fd629a-cf4d-440a-9a2e-9e0defefbe4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"serial-number\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_SN}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll","description":"<p>This POST request allows you to add an automatic enrollment record by the device serial number.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","auto-enroll"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"c13d38ea-adea-4e8d-b4e2-e3581b55ff47","name":"201 Created - Automatic registration transaction id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"serial-number\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_SN}}\",\n            \"activationTemplateId\": \"{{ACTIVATION_TEMPLATE_UUID}}\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:48:49 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"c9303c91-18d3-466f-8eb0-81e78aec3fad\"\n}"},{"id":"a7a24d29-7d26-4b39-930c-42a650a0c4be","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"serial-number\",\n    \"integration\": \"proget\",\n    \"autoEnrollments\": [\n        {\n            \"id\": \"{{DEVICE_SN}}\",\n            \"activationTemplateId\": \"23456\",\n            \"policy\": null,\n            \"alias\": \"\",\n            \"actionOnActivate\": \"noAction\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:54:33 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"c6fd629a-cf4d-440a-9a2e-9e0defefbe4b"},{"name":"Delete Automatic registration with Proget by device ID(s)","id":"3f1ef37a-32d1-4d53-a1e1-05829cb347fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"{{DEVICE_ID}}\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll/proget","description":"<p>This DELETE request allows you to remove an automatic device enrollment record by device ID(s), such as the device's IMEI or serial number.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","auto-enroll","proget"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"fb8cad01-d5be-4287-be4f-348c04b0cf31","name":"204 No Content - Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"{{DEVICE_SN}}\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll/proget"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:49:28 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":null},{"id":"2376d504-65d8-48a2-a564-aed634f57995","name":"400 Bad Request - The object with id '%id%' does not exist","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"{{DEVICE_SN}}\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/auto-enroll/proget"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:54:02 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"ids\": {\n                \"children\": [\n                    {\n                        \"errors\": [\n                            \"The object with id '%id%' does not exist.\"\n                        ]\n                    }\n                ]\n            }\n        },\n        \"_extraFields\": []\n    }\n}"}],"_postman_id":"3f1ef37a-32d1-4d53-a1e1-05829cb347fb"},{"name":"Get list of Activations","id":"92c28ca8-0c1f-40bb-81af-e6dbb4ce2625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation","description":"<p>The <code>/api/mdm/activation</code> endpoint returns a list of activation records in the system. The list can be narrowed down by using the proper parameters.</p>\n<ul>\n<li><p>identifier</p>\n</li>\n<li><p>activationType[]</p>\n</li>\n<li><p>eulaId[]</p>\n</li>\n<li><p>createdFor</p>\n</li>\n</ul>\n<p>In this case, all parameters are optional.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with an identifier number.</p>\n","type":"text/plain"},"key":"identifier","value":"BFC8 8D58"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines what activation template is searched.</p>\n<ul>\n<li><code>android_for_work_device_owner</code></li>\n<li><code>android_for_work_work_profile</code></li>\n<li><code>android_mdm</code></li>\n<li><code>ios_mdm</code></li>\n<li><code>macos_mdm</code></li>\n<li><code>windows_mdm</code></li>\n</ul>\n","type":"text/plain"},"key":"activationType[]","value":"android_for_work_device_owner"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with the EULA's uuid.</p>\n","type":"text/plain"},"key":"eulaId[]","value":"ae09a1d8-85be-4222-93d4-a57f47180797"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with the admin user's uuid.</p>\n","type":"text/plain"},"key":"createdFor","value":"15489f8a-44f6-4abc-a9f7-0c6870c9fc10"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"058f4c76-b23b-4d57-befd-414ba16d4cb6","name":"200 OK - List of Activations","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/activation?limit=50&offset=0","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","activation"],"query":[{"key":"limit","value":"50"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:50:05 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"3d56868b-73e2-42dd-ade4-4897cdd31360\",\n            \"createdAt\": \"2023-01-01 23:59:59\",\n            \"expirationDate\": \"2023-01-02 23:59:59\",\n            \"type\": \"android_for_work_device_owner\",\n            \"createdFor\": {\n                \"id\": \"15489f8a-44f6-4abc-a9f7-0c6870c9fc10\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"email\": \"john.doe@example.com\"\n            },\n            \"createdBy\": {\n                \"id\": \"0a175d3e-27d7-4ccb-8cae-e24c70ffe350\",\n                \"firstName\": \"Company\",\n                \"lastName\": \"Admin\",\n                \"email\": \"company.admin@example.com\"\n            },\n            \"active\": true,\n            \"identifier\": \"DDDD4C70\",\n            \"eula\": {\n                \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n                \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n            }\n        },\n        {\n            \"id\": \"1649580f-e845-4484-833d-772510ae1e9f\",\n            \"createdAt\": \"2023-01-01 23:59:59\",\n            \"expirationDate\": \"2023-01-02 23:59:59\",\n            \"type\": \"android_for_work_device_owner\",\n            \"createdFor\": {\n                \"id\": null,\n                \"firstName\": null,\n                \"lastName\": null,\n                \"email\": null\n            },\n            \"createdBy\": {\n                \"id\": \"0a175d3e-27d7-4ccb-8cae-e24c70ffe350\",\n                \"firstName\": \"Company\",\n                \"lastName\": \"Admin\",\n                \"email\": \"company.admin@example.com\"\n            },\n            \"active\": true,\n            \"identifier\": \"0DE91E9D\",\n            \"eula\": {\n                \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n                \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n            }\n        }\n    ],\n    \"limit\": 50,\n    \"offset\": 0,\n    \"total\": 2\n}"}],"_postman_id":"92c28ca8-0c1f-40bb-81af-e6dbb4ce2625"},{"name":"Get Activation details by activation uuid","id":"f3d3aebb-ff10-4ad4-a23a-f82cbdd91464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation/{{ACTIVATION_UUID}}","description":"<p>The <code>/api/mdm/activation/{{ACTIVATION_UUID}}</code> endpoint returns details of a specific activation. Activation details could be retrieved by providing an activation record's UUID.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","activation","{{ACTIVATION_UUID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"ba150c18-fd3f-4da1-bd4d-22afaba1784d","name":"404 Not Found","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation/{{ACTIVATION_UUID}}"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:51:05 GMT"},{"key":"server-version","value":"20260302"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"},{"id":"970e3a9f-23be-4743-9f0a-e57092d5dc85","name":"200 OK - Activation details","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/activation/{{ACTIVATION_UUID}}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 10 Apr 2026 19:52:43 GMT"},{"key":"server-version","value":"20260302"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"activation\": {\n        \"id\": 1111,\n        \"uuid\": \"63bd03a8-7635-4487-a224-6f97a8e36480\",\n        \"pin\": \"3440\",\n        \"createdAt\": \"2023-01-01 23:59:59\",\n        \"expirationDate\": \"2023-01-02 23:59:59\",\n        \"type\": \"android_for_work_device_owner\",\n        \"email\": null,\n        \"active\": true,\n        \"identifier\": \"65185183\",\n        \"templateConfiguration\": {\n            \"allowMultipleActivations\": false,\n            \"expirationDays\": 1,\n            \"maxAttempts\": 3,\n            \"passwordLength\": 4,\n            \"identifierLength\": 8,\n            \"emailData\": {\n                \"deliveryMode\": \"ask\",\n                \"subject\": \"Activation subject details here...\",\n                \"message\": \"Activation message details here...\"\n            },\n            \"leaveSystemApplications\": false,\n            \"wifiData\": null,\n            \"addAndroidEnterpriseAccount\": true\n        },\n        \"eula\": {\n            \"id\": \"ae09a1d8-85be-4222-93d4-a57f47180797\",\n            \"name\": \"Custom Eula - Android Enterprise Device Owner\"\n        }\n    },\n    \"serverHostname\": \"example.domain.com\",\n    \"userDisplayName\": null,\n    \"qrcode\": \"data:image/svg+xml;base64,base64QRcodeencodedvalue\"\n}"}],"_postman_id":"f3d3aebb-ff10-4ad4-a23a-f82cbdd91464"}],"id":"6d8ed3a1-b6ed-4b31-90c5-ec7f751ee1dc","description":"<p>This set of endpoints allows you to manage activation within the system. You can generate detailed device enrollment information, with or without a user. You can also retrieve detailed information about existing activations. All requests must be authenticated using a valid JSON Web Token (JWT) in the authorization header. The system ensures that only authorized administrators can perform user-related actions. All operations respect control over user access and roles within the platform.</p>\n","_postman_id":"6d8ed3a1-b6ed-4b31-90c5-ec7f751ee1dc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}}},{"name":"Devices management","item":[{"name":"Device Owner","item":[{"name":"Wipe company data (deactivate Device)","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"091bfe9a-2e2d-495b-a4bc-e34de06ecad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"javascript"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate","description":"<p>This POST request allows you to send a <code>Wipe company data</code> (deactivate device) command to a particular device.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","deactivate"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"0e245abc-4514-4c96-9ab7-6f33ef44148d","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:26:35 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"06ac8182-11ee-48d2-afa0-532b83291dec","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:41:31 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"091bfe9a-2e2d-495b-a4bc-e34de06ecad8"},{"name":"Send message","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"9ace59a0-40c2-4a60-b834-5f26ae45001f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":[{{DEVICE_ID}}],\n    \"message\":\"Sample message\",\n    \"audible\":true,\n    \"vibrate\":true,\n    \"dialog\":{\n        \"timeToRead\":10\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/message","description":"<p>This POST request allows you to send a text message to a particular device with the required <code>device id</code> and <code>message</code>. Below you can find the possible keys and values of a request body.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param Name</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id  <br /><em><code>reqired</code></em></td>\n<td>string</td>\n<td>The unique ID or IDs of the devices to which the notification will be sent.</td>\n</tr>\n<tr>\n<td>message  <br /><em><code>reqired</code></em></td>\n<td>string</td>\n<td>The field specifies the content of the text message to be delivered to the device.</td>\n</tr>\n<tr>\n<td>audible  <br /><em><code>optional</code></em></td>\n<td>boolean</td>\n<td>The parameter determines whether the device should use sound to notify about the arrival of a message.</td>\n</tr>\n<tr>\n<td>vibrate  <br /><em><code>optional</code></em></td>\n<td>boolean</td>\n<td>The parameter determines whether the device should use vibrations to notify about the arrival of a message.</td>\n</tr>\n<tr>\n<td>dialog  <br /><em><code>optional</code></em></td>\n<td>object</td>\n<td>The parameter determines whether the message is a dialog (pop-up window). The message will be sent as a standard Android notification if the parameter is not used. The parameter must contain a timeToRead object.</td>\n</tr>\n<tr>\n<td>timeToRead  <br /><em><code>required</code></em></td>\n<td>int</td>\n<td>The parameter defines the number of seconds after which the option to close the dialog (popup window) will be available on the device. 0 means that the possibility to close the dialog (popup window) will be available immediately.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","mdm","device","message"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"b2fdf860-55a2-427c-8c28-26f6bc524a9c","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:26:35 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"2fda61d9-c3b7-49bc-80bd-e9a29a9ebb43","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:41:31 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"9ace59a0-40c2-4a60-b834-5f26ae45001f"},{"name":"Restart device","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript","packages":{}}}],"id":"ddde9f6f-bce7-4399-a468-35de9f7c2dce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/restart","description":"<p>This POST request lets you send a restart command to a particular device. The endpoint URI must point to the device's UUID.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","restart"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"7e532e34-4ebc-425d-91b4-4983de5c65e0","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:26:35 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"35ced7a9-8414-434d-9645-691acc3e93a1","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:41:31 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"ddde9f6f-bce7-4399-a468-35de9f7c2dce"},{"name":"Disable Kiosk","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a99393cb-608a-4a06-8976-1cd6695557ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/disable","description":"<p>This POST request disables kiosk mode on a specific device.</p>\n<p>The endpoint targets the device identified by <code>{{DEVICE_UUID}}</code> and removes or deactivates the kiosk mode currently applied to that device in Proget MDM.</p>\n<h4 id=\"url\">URL</h4>\n<p><code>/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/disable</code></p>\n<h4 id=\"behavior\">Behavior</h4>\n<ul>\n<li><p>Disables kiosk mode for the selected device</p>\n</li>\n<li><p>Uses the device UUID in the request path</p>\n</li>\n<li><p>Returns <code>204 No Content</code> when the operation succeeds</p>\n</li>\n</ul>\n<h4 id=\"variables-used\">Variables used</h4>\n<ul>\n<li><p><code>{{SERVER}}</code> — Proget API server base URL</p>\n</li>\n<li><p><code>{{DEVICE_UUID}}</code> — unique identifier of the target device</p>\n</li>\n</ul>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>This request does not require a request body</p>\n</li>\n<li><p>Ensure the target device exists and is currently configured for kiosk mode before calling this endpoint</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","profile","kiosk","disable"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"ad49d616-4484-4da9-9ea8-0161143c8535","name":"204 No Content","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/disable"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:33:30 GMT"},{"key":"server-version","value":"20260600"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":null},{"id":"61ef2506-be1d-4f15-a3b2-ebf24f7e57d8","name":"404 - Not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/disable"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:33:45 GMT"},{"key":"server-version","value":"20260600"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"a99393cb-608a-4a06-8976-1cd6695557ad"},{"name":"Enable Kiosk","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"27716d11-693c-4098-bd83-a03d8b1a28cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/enable","description":"<p>This POST request enables kiosk mode on a specific device.</p>\n<p>The endpoint targets the device identified by <code>{{DEVICE_UUID}}</code> and applies the kiosk profile configuration associated with that device in Proget MDM.</p>\n<h4 id=\"url\">URL</h4>\n<p><code>/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/enable</code></p>\n<h4 id=\"behavior\">Behavior</h4>\n<ul>\n<li><p>Enables kiosk mode for the selected device</p>\n</li>\n<li><p>Uses the device UUID in the request path</p>\n</li>\n<li><p>Returns <code>204 No Content</code> when the operation succeeds</p>\n</li>\n</ul>\n<h4 id=\"variables-used\">Variables used</h4>\n<ul>\n<li><p><code>{{SERVER}}</code> — Proget API server base URL</p>\n</li>\n<li><p><code>{{DEVICE_UUID}}</code> — unique identifier of the target device</p>\n</li>\n</ul>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>This request does not require a request body</p>\n</li>\n<li><p>Ensure the target device exists and has a kiosk-capable profile assigned before calling this endpoint</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","profile","kiosk","enable"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"16e95d4a-6ad9-4df2-9f59-fea1fbb28e41","name":"204 - No Content","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/enable"},"status":"No Content","code":204,"_postman_previewlanguage":"","header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:32:28 GMT"},{"key":"server-version","value":"20260600"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""},{"id":"afa38caa-eb21-44cf-9914-9db5974fd0d9","name":"404 - Not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/profile/kiosk/enable"},"status":"Not Found","code":404,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:32:44 GMT"},{"key":"server-version","value":"20260600"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"27716d11-693c-4098-bd83-a03d8b1a28cd"},{"name":"Sent alert","event":[{"listen":"test","script":{"id":"260fa2e3-6a6c-490a-86d1-2e48d64c82c8","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"6a33d4cd-5bf4-4c27-9350-066c1d3c3432","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":[{{DEVICE_ID}}],\n    \"message\":\"Sample message\",\n    \"vibrate\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/alarm","description":"<p>This POST request allows you to send an alert message to a particular device with the required <code>device id</code> and <code>message</code>. The alarm message generates a sound by default, regardless of the device's volume profile. Below you can find the possible keys and values of a request body.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param Name</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id  <br /><em><code>reqired</code></em></td>\n<td>string</td>\n<td>The unique ID or IDs of the devices to which the notification will be sent.</td>\n</tr>\n<tr>\n<td>message  <br /><em><code>reqired</code></em></td>\n<td>string</td>\n<td>The field specifies the content of the text message to be delivered to the device.</td>\n</tr>\n<tr>\n<td>vibrate  <br /><em><code>optional</code></em></td>\n<td>boolean</td>\n<td>The parameter determines whether the device should use vibrations to notify about the arrival of a message.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","mdm","device","alarm"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"7e36c077-322c-42c0-9101-4267e810c160","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:26:35 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"eebe23d0-473a-4b17-a04d-8c731c112674","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/deactivate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:41:31 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"6a33d4cd-5bf4-4c27-9350-066c1d3c3432"},{"name":"Wipe device","event":[{"listen":"test","script":{"id":"67616e8c-a976-4e54-955f-bfbd5a716934","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"713f990c-2a1e-4056-a122-db6b631f892e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"javascript"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/wipe","description":"<p>This POST request allows you to send a <code>Wipe device</code> command to a particular device.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","wipe"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"4d1dc4a4-79c6-4fb8-902c-cf68575157a9","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/wipe"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:28:23 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"0bbfe928-36ec-43ce-81af-8204ced34abe","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/wipe"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:39:12 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"713f990c-2a1e-4056-a122-db6b631f892e"},{"name":"Block device","id":"0af0bbfa-f371-4f0b-b0ec-ce3eeb8fcf6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"Your device has been blocked!\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock","description":"<p>This POST request allows you to send a <code>Block device</code> command to a particular device.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param Name</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message  <br /><code>_reqired_</code></td>\n<td>string</td>\n<td>The message that will be displayed on the screen of the blocked device.</td>\n</tr>\n<tr>\n<td>phoneNumber  <br /><code>_reqired_</code></td>\n<td>string</td>\n<td>The phone number that will be used as a contact with the administrator on a locked device.</td>\n</tr>\n<tr>\n<td>emergencyNumber  <br /><code>_optional_</code></td>\n<td>string</td>\n<td>The phone number that will be used as an emergency number on a locked device.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","lock"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"a8711e6b-bfa4-4745-88e4-d21c1f791449","name":"204 No Content - The device has been blocked","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"message on a locked device\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:27:33 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"f248aaa5-a9c9-4fc0-be51-6cfc40098e69","name":"400 Bad request - Validation failed. Required params or body are missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"\",\n    \"phoneNumber\":\"\",\n    \"emergencyNumber\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:45:42 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"message\": {\n                \"errors\": [\n                    \"This value should not be null.\"\n                ]\n            },\n            \"phoneNumber\": {\n                \"errors\": [\n                    \"This value should not be null.\"\n                ]\n            },\n            \"emergencyNumber\": []\n        },\n        \"_extraFields\": []\n    }\n}"},{"id":"5ace4457-54c0-4d4d-8855-efb10e8d4a48","name":"403 Forbidden - You don't have permission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"Your device has been blocked!\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Apr 2023 12:49:16 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403\n}"},{"id":"ba4a4330-754c-4ce2-9d94-6b79ccc842b9","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"message on a locked device\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:30:43 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"0af0bbfa-f371-4f0b-b0ec-ce3eeb8fcf6b"},{"name":"Device unlock","id":"f01f30d3-2935-472f-9abb-93b273e9e56c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"javascript"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/unlock","description":"<p>This POST request allows you to send a <code>Unlock device</code> command to a particular device.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<p><code>none</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","unlock"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"374a0d6d-9ce2-4444-983b-62cfe89eed8f","name":"204 No Content - The device has been unblocked","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/unlock"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:29:52 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"60872312-f82a-4674-ac7f-6eec9e664839","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/unlock"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:31:24 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"f01f30d3-2935-472f-9abb-93b273e9e56c"},{"name":"Clear app data","id":"65167fbf-a41c-4384-9ceb-01ff5c8cbe29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"allocation\":\"device\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/application/{{APP_ID}}/clear-data","description":"<p>This POST request allows you to send a <code>Unblock device</code> command to a particular device.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<p><code>none</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","application","{{APP_ID}}","clear-data"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"5caf8957-a902-4cb4-b3e4-30eacdd8f58c","name":"204 No Content - The device has been unblocked","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/unlock"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:29:52 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"77b02e8e-75b0-4470-92cd-cec72dd66b3f","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/unlock"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 14:31:24 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"65167fbf-a41c-4384-9ceb-01ff5c8cbe29"}],"id":"c877c773-438e-473f-b98a-7d7168e6309c","description":"<p>This endpoint group delivers functionality for managing devices registering as Android Enterprise in Device Owner mode.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"71d5a051-6b94-42ec-82c0-4b96f0103a05","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c09052b1-209a-4b13-b8f5-a4ac6cfa1e15","type":"text/javascript","exec":[""]}}],"_postman_id":"c877c773-438e-473f-b98a-7d7168e6309c"},{"name":"iOS","item":[{"name":"Device lock","event":[{"listen":"test","script":{"id":"10f7e295-cdaa-4d68-a3fc-f4d6ba82cf4f","exec":["pm.test(\"Status code is 204 - lost mode command sent\", function () {","    pm.response.to.have.status(204);","});"],"type":"text/javascript","packages":{}}}],"id":"c0943b92-0e3a-433f-bf41-59884eb9a3d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode","description":"<p>This POST request allows you to send a <code>Block device</code> command to a particular device.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param Name</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message  <br /><code>_reqired_</code></td>\n<td>string</td>\n<td>The message that will be displayed on the screen of the blocked device.</td>\n</tr>\n<tr>\n<td>phoneNumber  <br /><code>_reqired_</code></td>\n<td>string</td>\n<td>The phone number that will be used as a contact with the administrator on a locked device.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","lostmode"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"27f94713-c08f-4d77-92e1-eb5bf2733b23","name":"204 No Content - The command has been sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"server","value":"nginx"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:33:23 GMT"},{"key":"server-version","value":"20241000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"099015ce-2add-4dd7-89d7-417b7364aa2c","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:34:16 GMT"},{"key":"server-version","value":"20241000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"},{"id":"ab65d8e7-f114-4173-bbdb-5593f2577f49","name":"400 Bad request - Validation failed. Required params or body are missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:38:34 GMT"},{"key":"server-version","value":"20241000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"message\": {\n                \"errors\": [\n                    \"Ta wartość nie powinna być nullem.\"\n                ]\n            },\n            \"phoneNumber\": []\n        },\n        \"_extraFields\": []\n    }\n}"},{"id":"bdc34895-c389-40f3-bf96-7bc8294e22a0","name":"403 Forbidden - You don't have permission Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"Your device has been blocked!\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Apr 2023 12:49:16 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403\n}"}],"_postman_id":"c0943b92-0e3a-433f-bf41-59884eb9a3d9"},{"name":"Refresh the device data","event":[{"listen":"test","script":{"id":"10f7e295-cdaa-4d68-a3fc-f4d6ba82cf4f","exec":["pm.test(\"Status code is 204 - lost mode command sent\", function () {","    pm.response.to.have.status(204);","});"],"type":"text/javascript","packages":{}}}],"id":"7c347fbf-3057-404f-a950-6515a8215bb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/status","description":"<p>This POST request allows you to refresh the device data.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<p><code>none</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","status"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"38d382b6-37da-492e-82d8-81649686988b","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/status"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Oct 2024 14:16:39 GMT"},{"key":"server-version","value":"20241000"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"},{"id":"5cd32256-ba61-4048-a4af-d08b7b5b2ebd","name":"204 No Content - The command has been sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/status"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Oct 2024 14:18:19 GMT"},{"key":"server-version","value":"20241000"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7c347fbf-3057-404f-a950-6515a8215bb2"},{"name":"Clear device passcode","event":[{"listen":"test","script":{"id":"10f7e295-cdaa-4d68-a3fc-f4d6ba82cf4f","exec":["pm.test(\"Status code is 204 - lost mode command sent\", function () {","    pm.response.to.have.status(204);","});"],"type":"text/javascript","packages":{}}}],"id":"6745b7ca-490f-4051-bebe-94af9af14af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/reset-password","description":"<p>This POST request allows you to clear device passcode.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n<h4 id=\"request-body-schema\">Request Body schema</h4>\n<p><code>none</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","reset-password"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"63427b5e-1f33-47c0-8797-2bd5ca0b2bda","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/status"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Oct 2024 14:16:39 GMT"},{"key":"server-version","value":"20241000"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"},{"id":"45b8b7b2-4172-4754-aac1-2b7693c1e54a","name":"204 No Content - The command has been sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"12345\",\n\t\"phoneNumber\": \"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/reset-password"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Oct 2024 14:19:53 GMT"},{"key":"server-version","value":"20241000"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6745b7ca-490f-4051-bebe-94af9af14af8"},{"name":"Device unlock","event":[{"listen":"test","script":{"id":"f1c5177c-9828-49b5-9b3a-aa253878d302","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});",""],"type":"text/javascript","packages":{}}}],"id":"235c7a39-691a-4b8b-9ba1-5888ede118f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode","description":"<p>This DELETE request allows you to send a <code>Unlock device</code> command to a particular device.</p>\n<h4 id=\"content-type\">Content-Type</h4>\n<p><code>application/json</code></p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","lostmode"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"b61f20fb-f635-424d-9498-6d6f7ff5ce35","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:36:05 GMT"},{"key":"server-version","value":"20241000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"},{"id":"be6b3f7f-b9b2-4c9b-a60b-2c6c613b1b10","name":"204 No Content - The command has been sent","originalRequest":{"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/lostmode"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"server","value":"nginx"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:36:31 GMT"},{"key":"server-version","value":"20241000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"665df4c4-63e2-4830-b18d-18beb5be1052","name":"403 Forbidden - You don't have permission Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\":\"Your device has been blocked!\",\n    \"phoneNumber\":\"1234567890\",\n    \"emergencyNumber\":\"112\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/lock"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Apr 2023 12:49:16 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403\n}"}],"_postman_id":"235c7a39-691a-4b8b-9ba1-5888ede118f4"},{"name":"Assign Apple Business profile","id":"2258611f-c97b-41ae-890d-c18055401214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/profile/dep/{{AB_PROFILE_ID}}","description":"<p>Assigns an Apple Business profile to one or more managed devices.</p>\n<p>This endpoint sends a request to associate the Apple Business profile identified by <code>{{AB_PROFILE_ID}}</code> with the specified device IDs. The request body accepts an <code>ids</code> array containing the target device identifiers, allowing profile assignment to selected devices in a single call.</p>\n<p>Request details:</p>\n<ul>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p>URL: <code>https://{{SERVER}}/api/mdm/device/profile/dep/{{AB_PROFILE_ID}}</code></p>\n</li>\n</ul>\n<p>Request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}\n\n</code></pre>\n<p>Expected response:</p>\n<ul>\n<li><code>204 No Content</code> when the profile has been successfully assigned and no response body is returned.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","device","profile","dep","{{AB_PROFILE_ID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"81da36a6-902b-4f5a-84ab-6b70d149c0a2","name":"204 No Content - Apple Business profile has been assigned","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/profile/dep/{{AB_PROFILE_ID}}"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 17 Jun 2026 14:03:04 GMT"},{"key":"server-version","value":"20260401"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":null},{"id":"9ee43060-85f2-4fe1-9895-b3f2ecd22c93","name":"404 Not Found - Wrong Apple Business profile id or profile does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/profile/dep/{{AB_PROFILE_ID}}"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 17 Jun 2026 14:08:04 GMT"},{"key":"server-version","value":"20260401"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"2258611f-c97b-41ae-890d-c18055401214"},{"name":"Unassign Apple Business profile","id":"77e29f76-08d3-46a8-8d3e-6ccf72c260d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/profile/dep","description":"<p>Unassigns an Apple Business profile from one or more managed devices.</p>\n<p>This endpoint sends a request to remove the association between Apple Business profiles and the specified device IDs. The request body accepts an <code>ids</code> array containing the target device identifiers, allowing profile unassignment from selected devices in a single call.</p>\n<p>Request details:</p>\n<ul>\n<li><p>Method: <code>DELETE</code></p>\n</li>\n<li><p>URL: <code>https://{{SERVER}}/api/mdm/device/profile/dep</code></p>\n</li>\n</ul>\n<p>Request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}\n\n</code></pre>\n<p>Expected response:</p>\n<ul>\n<li><code>204 No Content</code> when the profile has been successfully unassigned and no response body is returned.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","device","profile","dep"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"01d3e252-e102-412c-95ab-703b882e0864","name":"204 No Content - Apple Business profile has been unassigned","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        {{DEVICE_ID}}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/profile/dep"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 17 Jun 2026 14:02:48 GMT"},{"key":"server-version","value":"20260401"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"77e29f76-08d3-46a8-8d3e-6ccf72c260d0"}],"id":"6e0e0fbe-66d4-45cf-b756-72916db35e4d","description":"<p>This endpoint group delivers functionality for managing devices registering as iOS.</p>\n","_postman_id":"6e0e0fbe-66d4-45cf-b756-72916db35e4d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}}},{"name":"Get Devices list with details","event":[{"listen":"test","script":{"id":"5e6018ac-e76b-48c2-be0b-2076a335abe3","exec":["pm.response.to.have.status(200);","pm.expect(pm.response.json().items[0].uuid).not.equal(null);","pm.expect(pm.response.json().items[0].id).not.equal(null);","pm.environment.set(\"DEVICE_UUID\", pm.response.json().items[0].uuid);","pm.environment.set(\"DEVICE_ID\", pm.response.json().items[0].id);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bda89211-dfd2-42cb-b6c7-adfff955fca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device","description":"<p>The <code>/api/mdm/device</code> endpoint returns a list of devices with their attributes The list can be narrowed down by using the proper parameters.</p>\n<p>List of available params:</p>\n<ul>\n<li><p>imei</p>\n</li>\n<li><p>serialNumberalias</p>\n</li>\n<li><p>iccId</p>\n</li>\n<li><p>inactiveFrom</p>\n</li>\n<li><p>inactiveTo</p>\n</li>\n<li><p>active</p>\n</li>\n<li><p>securityStatus</p>\n</li>\n<li><p>androidEnterpriseStatus[]</p>\n</li>\n<li><p>ownership</p>\n</li>\n<li><p>progetId</p>\n</li>\n<li><p>activatedAtFrom</p>\n</li>\n<li><p>activatedAtUntil</p>\n</li>\n<li><p>activation[]</p>\n</li>\n<li><p>locked</p>\n</li>\n<li><p>vendor[]</p>\n</li>\n<li><p>model[]</p>\n</li>\n<li><p>system[]</p>\n</li>\n<li><p>group[]</p>\n</li>\n<li><p>depStatus</p>\n</li>\n<li><p>groupless</p>\n</li>\n<li><p>limit</p>\n</li>\n<li><p>offset</p>\n</li>\n</ul>\n<p>In this case, all parameters are optional.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a device's IMEI number.</p>\n","type":"text/plain"},"key":"imei","value":"{{DEVICE_IMEI}}"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a device's serial number.</p>\n","type":"text/plain"},"key":"serialNumber","value":"{{DEVICE_SN}}"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a device's alias.</p>\n","type":"text/plain"},"key":"alias","value":"Alice's device"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a SIM card ICCID.</p>\n","type":"text/plain"},"key":"iccId","value":"00000000000000000001"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value determines the beginning of the range of days for the device's last contact. Values in the range of 0-90 are accepted.</p>\n","type":"text/plain"},"key":"inactiveFrom","value":"0"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value determines the end of the range of days for the device's last contact. Values in the range of 0-90 are accepted.</p>\n","type":"text/plain"},"key":"inactiveTo","value":"90"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the device is active.</p>\n","type":"text/plain"},"key":"active","value":"true"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the level of device security. Available values: </p>\n<ul>\n<li><code>safe</code></li>\n<li><code>unsafe</code></li>\n<li><code>critical</code></li>\n</ul>\n","type":"text/plain"},"key":"securityStatus","value":"safe"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the state of Android Enterprise activation. Available values:</p>\n<ul>\n<li><code>activated</code></li>\n<li><code>duringActivation</code></li>\n<li><code>notActivated</code>\nMultiple state can be provided as: <code>?androidEnterpriseStatus[]=duringActivation&amp;androidEnterpriseStatus[]=notActivated</code>.</li>\n</ul>\n","type":"text/plain"},"key":"androidEnterpriseStatus[]","value":"activated"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the ownership of a device. Available values:</p>\n<ul>\n<li><code>private</code></li>\n<li><code>work</code></li>\n<li><code>work-profile</code> (WPC)</li>\n</ul>\n","type":"text/plain"},"key":"ownership","value":"private"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value with a unique device identifier.</p>\n","type":"text/plain"},"key":"progetId","value":"000 001"},{"disabled":true,"description":{"content":"<p>The optional <code>date</code> value determines the date of device activation. The parameter defines the beginning of the period. Date format: <code>YYYY-MM-DD</code>.</p>\n","type":"text/plain"},"key":"activatedAtFrom","value":"2023-04-17"},{"disabled":true,"description":{"content":"<p>The optional <code>date</code> value determines the date of device activation. The parameter defines the end of the period. Date format: <code>YYYY-MM-DD</code>.</p>\n","type":"text/plain"},"key":"activatedAtUntil","value":"2023-04-18"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the device activation type(s). Available values:</p>\n<ul>\n<li><code>android_for_work_device_owner</code> (Android Enterprise Device Owner)</li>\n<li><code>android_for_work_work_profile</code> (Android Enterprise Profile Owner / COPE)</li>\n<li><code>android_mdm</code> (Android)</li>\n<li><code>ios_mdm</code> (iOS)</li>\n<li><code>macos_mdm</code> (macOS)</li>\n<li><code>knox_mdm</code> (Samsung Knox) - depreciated\nMultiple activation types can be provided as: <code>?activation[]=android_for_work_device_owner&amp;activation[]=ios_mdm</code>.</li>\n</ul>\n","type":"text/plain"},"key":"activation[]","value":"android_for_work_device_owner"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) determines whether the device is blocked.</p>\n","type":"text/plain"},"key":"locked","value":"true"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the device's manufacturers. For example:</p>\n<ul>\n<li><code>APPLE</code></li>\n<li><code>SAMSUNG</code></li>\n<li><code>MOTOROLA</code></li>\n<li><code>HMD GLOBAL</code>\nMultiple manufacturers can be provided as: <code>?vendor[]=APPLE&amp;vendor[]=SAMSUNG</code>.</li>\n</ul>\n","type":"text/plain"},"key":"vendor[]","value":"MOTOROLA"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the device's models. For example:</p>\n<ul>\n<li><code>iPhone 12</code></li>\n<li><code>SM-A536B</code></li>\n<li><code>moto g(100)</code>\nMultiple models can be provided as: <code>?model[]=iPhone 12&amp;model[]=SM-A536B</code>.</li>\n</ul>\n","type":"text/plain"},"key":"model[]","value":"moto g(100)"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the device's operating system. For example:</p>\n<ul>\n<li><code>Android 13</code></li>\n<li><code>iOS 16.4.1</code>\nMultiple operating systems can be provided as: <code>?system[]=Android 13&amp;system[]=iOS 16.4.1</code>.</li>\n</ul>\n","type":"text/plain"},"key":"system[]","value":"Android 13"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value specifies the group id(s) in which the user of a given device is located. For example:</p>\n<ul>\n<li><code>11</code></li>\n<li><code>12</code>\nMultiple group ids can be provided as: <code>?group[]=11&amp;group[]=12</code>.</li>\n</ul>\n","type":"text/plain"},"key":"group[]","value":"2"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the Apple device has an Apple Business Manager profile assigned. Available values:</p>\n<ul>\n<li><code>assigned</code></li>\n<li><code>unassigned</code></li>\n</ul>\n","type":"text/plain"},"key":"depStatus","value":"assigned"},{"disabled":true,"description":{"content":"<p>The optional <code>boolean</code> value (true/false) specifies whether a given device's user does not belong to any group.</p>\n","type":"text/plain"},"key":"groupless","value":"true"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"5b80cbb1-b059-4736-9759-3e952370cb79","name":"200 OK - Device(s) with details","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/device","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device"],"query":[{"key":"imei","value":"{{DEVICE_IMEI}}","description":"The optional `string` value with a device's IMEI number.","disabled":true},{"key":"serialNumber","value":"{{DEVICE_SN}}","description":"The optional `string` value with a device's serial number.","disabled":true},{"key":"alias","value":"Alice's device","description":"The optional `string` value with a device's alias.","disabled":true},{"key":"iccId","value":"00000000000000000001","description":"The optional `string` value with a SIM card ICCID.","disabled":true},{"key":"inactiveFrom","value":"0","description":"The optional `int` value determines the beginning of the range of days for the device's last contact. Values in the range of 0-90 are accepted.","disabled":true},{"key":"inactiveTo","value":"90","description":"The optional `int` value determines the end of the range of days for the device's last contact. Values in the range of 0-90 are accepted.","disabled":true},{"key":"active","value":"true","description":"The optional `boolean` value (true/false) determines whether the device is active.","disabled":true},{"key":"securityStatus","value":"safe","description":"The optional `string` value determines the level of device security. Available values: \n- `safe`\n- `unsafe`\n- `critical`","disabled":true},{"key":"androidEnterpriseStatus[]","value":"activated","description":"The optional `string` value determines the state of Android Enterprise activation. Available values:\n- `activated`\n- `duringActivation`\n- `notActivated`\nMultiple state can be provided as: `?androidEnterpriseStatus[]=duringActivation&androidEnterpriseStatus[]=notActivated`.","disabled":true},{"key":"ownership","value":"private","description":"The optional `string` value determines the ownership of a device. Available values:\n- `private`\n- `work`\n- `work-profile` (WPC)","disabled":true},{"key":"progetId","value":"000 001","description":"The optional `string` value with a unique device identifier.","disabled":true},{"key":"activatedAtFrom","value":"2023-04-17","description":"The optional `date` value determines the date of device activation. The parameter defines the beginning of the period. Date format: `YYYY-MM-DD`.","disabled":true},{"key":"activatedAtUntil","value":"2023-04-18","description":"The optional `date` value determines the date of device activation. The parameter defines the end of the period. Date format: `YYYY-MM-DD`.","disabled":true},{"key":"activation[]","value":"android_for_work_device_owner","description":"The optional `string` value determines the device activation type(s). Available values:\n- `android_for_work_device_owner` (Android Enterprise Device Owner)\n- `android_for_work_work_profile` (Android Enterprise Profile Owner / COPE)\n- `android_mdm` (Android)\n- `ios_mdm` (iOS)\n- `macos_mdm` (macOS)\n- `knox_mdm` (Samsung Knox) - depreciated\nMultiple activation types can be provided as: `?activation[]=android_for_work_device_owner&activation[]=ios_mdm`.","disabled":true},{"key":"locked","value":"true","description":"The optional `boolean` value (true/false) determines whether the device is blocked.","disabled":true},{"key":"vendor[]","value":"MOTOROLA","description":"The optional `string` value determines the device's manufacturers. For example:\n- `APPLE`\n- `SAMSUNG`\n- `MOTOROLA`\n- `HMD GLOBAL`\nMultiple manufacturers can be provided as: `?vendor[]=APPLE&vendor[]=SAMSUNG`.","disabled":true},{"key":"model[]","value":"moto g(100)","description":"The optional `string` value determines the device's models. For example:\n- `iPhone 12`\n- `SM-A536B`\n- `moto g(100)`\nMultiple models can be provided as: `?model[]=iPhone 12&model[]=SM-A536B`.","disabled":true},{"key":"system[]","value":"Android 13","description":"The optional `string` value determines the device's operating system. For example:\n- `Android 13`\n- `iOS 16.4.1`\nMultiple operating systems can be provided as: `?system[]=Android 13&system[]=iOS 16.4.1`.","disabled":true},{"key":"group[]","value":"2","description":"The optional `string` value specifies the group id(s) in which the user of a given device is located. For example:\n- `11`\n- `12`\nMultiple group ids can be provided as: `?group[]=11&group[]=12`.","disabled":true},{"key":"depStatus","value":"assigned","description":"The optional `string` value determines the Apple device has an Apple Business Manager profile assigned. Available values:\n- `assigned`\n- `unassigned`","disabled":true},{"key":"groupless","value":"true","description":"The optional `boolean` value (true/false) specifies whether a given device's user does not belong to any group.","disabled":true},{"key":"limit","value":"50","description":"The optional `int` value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.","disabled":true},{"key":"offset","value":"0","description":"The optional `int` value indicates from which point the records will be fetched. The default value of from parameter is 0.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:29:48 GMT"},{"key":"server-version","value":"20260600"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 3342,\n            \"uuid\": \"44a93bb2-2999-482e-847c-2f38d0585e93\",\n            \"user\": {\n                \"id\": 406,\n                \"uuid\": \"de33b26f-4220-4c2b-a241-7da912fe5498\",\n                \"email\": \"example.user@proget.pl\",\n                \"firstName\": \"Example\",\n                \"lastName\": \"User\"\n            },\n            \"locked\": false,\n            \"vendor\": \"APPLE\",\n            \"model\": \"iPhone14,2\",\n            \"dep\": false,\n            \"depProfiles\": [],\n            \"profiles\": [],\n            \"policy\": {\n                \"id\": 5,\n                \"uuid\": \"d2108882-797f-4e89-9e7d-0bf06308c033\",\n                \"name\": \"Domyślna iOS\",\n                \"compatibility\": \"ios_mdm\"\n            },\n            \"imei\": \"350017085863595\",\n            \"serialNumber\": \"GVKTM4143P\",\n            \"simInfo\": [\n                {\n                    \"index\": 0,\n                    \"imei\": \"350017085863595\",\n                    \"sim\": null\n                },\n                {\n                    \"index\": 1,\n                    \"imei\": \"350017085803716\",\n                    \"sim\": null\n                }\n            ],\n            \"operatingSystem\": \"iOS 26.5\",\n            \"lastContact\": \"2026-06-11 16:14:30\",\n            \"activation\": \"ios_mdm\",\n            \"active\": true,\n            \"securityStatus\": \"safe\",\n            \"isActivationLockSupported\": null,\n            \"ownership\": \"work\",\n            \"language\": null,\n            \"alias\": null,\n            \"mdmClientVersion\": null,\n            \"wifiMacAddress\": \"4c:e6:c0:2c:f5:39\",\n            \"securityPatch\": null,\n            \"buildNumber\": null,\n            \"bootloaderVersion\": null,\n            \"roamingAllowed\": false,\n            \"battery\": {\n                \"level\": 41,\n                \"health\": \"unknown\"\n            },\n            \"availableStorage\": 114152572629,\n            \"totalStorage\": 137438953472,\n            \"firmware\": null,\n            \"network\": {\n                \"currentConnection\": null,\n                \"updatedAt\": null,\n                \"cellular\": {\n                    \"connectionType\": null,\n                    \"ipAddress\": null,\n                    \"signalStrength\": null\n                },\n                \"ethernet\": {\n                    \"ipAddress\": null\n                },\n                \"wifi\": {\n                    \"ssid\": null,\n                    \"ipAddress\": null,\n                    \"macAddress\": null\n                }\n            },\n            \"progetId\": \"598448\",\n            \"activatedAt\": \"2026-06-11 16:01:36\",\n            \"androidEnterpriseStatus\": null,\n            \"updateStatus\": \"noData\",\n            \"lastLocationAddress\": null,\n            \"googleServices\": null,\n            \"groups\": [\n                {\n                    \"id\": \"86a5262c-cab4-447f-a5ac-f8b20393362d\",\n                    \"name\": \"ALL DEVICES\"\n                },\n                {\n                    \"id\": \"cb461244-fcef-4b7f-865e-7dade59b0a65\",\n                    \"name\": \"iOS\"\n                }\n            ],\n            \"eula\": null,\n            \"declarativeManagement\": true\n        },\n        {\n            \"id\": 3341,\n            \"uuid\": \"653c2edc-85ab-41c4-9000-18598cc216a8\",\n            \"user\": {\n                \"id\": 406,\n                \"uuid\": \"de33b26f-4220-4c2b-a241-7da912fe5498\",\n                \"email\": \"example.user@proget.pl\",\n                \"firstName\": \"Example\",\n                \"lastName\": \"User\"\n            },\n            \"locked\": false,\n            \"vendor\": \"VIVO\",\n            \"model\": \"V2219\",\n            \"dep\": false,\n            \"depProfiles\": [],\n            \"profiles\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"KIOSK\",\n                    \"type\": 17,\n                    \"uuid\": \"d5cf775d-1e2f-488a-bdc3-17454eff658d\"\n                }\n            ],\n            \"policy\": {\n                \"id\": 10,\n                \"uuid\": \"22eee558-c1bc-46f7-ab04-2d5f08599f12\",\n                \"name\": \"Domyślna Android Enterprise Device Owner\",\n                \"compatibility\": \"android_for_work_device_owner\"\n            },\n            \"imei\": \"860041069975061\",\n            \"serialNumber\": \"10AD241JMQ002B4\",\n            \"simInfo\": [\n                {\n                    \"index\": 0,\n                    \"imei\": \"860041069975061\",\n                    \"sim\": null\n                },\n                {\n                    \"index\": 1,\n                    \"imei\": \"860041069975079\",\n                    \"sim\": null\n                }\n            ],\n            \"operatingSystem\": \"Android 16\",\n            \"lastContact\": \"2026-06-12 09:06:46\",\n            \"activation\": \"android_for_work_device_owner\",\n            \"active\": true,\n            \"securityStatus\": \"critical\",\n            \"isActivationLockSupported\": null,\n            \"ownership\": \"work\",\n            \"language\": \"English\",\n            \"alias\": null,\n            \"mdmClientVersion\": \"2.20.1\",\n            \"wifiMacAddress\": null,\n            \"securityPatch\": \"2026-04-01\",\n            \"buildNumber\": \"PD2242BF_EX_A_16.4.10.1.W30\",\n            \"bootloaderVersion\": \"unknown\",\n            \"roamingAllowed\": false,\n            \"battery\": {\n                \"level\": 91,\n                \"health\": \"good\"\n            },\n            \"availableStorage\": 229397078016,\n            \"totalStorage\": 236829245440,\n            \"firmware\": null,\n            \"network\": {\n                \"currentConnection\": \"wifi\",\n                \"updatedAt\": \"2026-06-12 07:44:36\",\n                \"cellular\": {\n                    \"connectionType\": null,\n                    \"ipAddress\": null,\n                    \"signalStrength\": null\n                },\n                \"ethernet\": {\n                    \"ipAddress\": null\n                },\n                \"wifi\": {\n                    \"ssid\": \"HOME\",\n                    \"ipAddress\": \"192.168.60.107\",\n                    \"macAddress\": \"c2:25:2f:76:c5:3f\"\n                }\n            },\n            \"progetId\": \"215330\",\n            \"activatedAt\": \"2026-06-09 13:45:29\",\n            \"androidEnterpriseStatus\": \"activated\",\n            \"updateStatus\": \"noData\",\n            \"lastLocationAddress\": \"Ludowa 16, 43-382 Bielsko-Biała, Poland\",\n            \"googleServices\": true,\n            \"groups\": [\n                {\n                    \"id\": \"86a5262c-cab4-447f-a5ac-f8b20393362d\",\n                    \"name\": \"ALL DEVICES\"\n                },\n                {\n                    \"id\": \"9a81afde-6a88-43b2-a8f7-ebbde27a5062\",\n                    \"name\": \"ANDROID\"\n                }\n            ],\n            \"eula\": null,\n            \"declarativeManagement\": false\n        },\n        {\n            \"id\": 3340,\n            \"uuid\": \"dbcf30b0-e24d-405e-9496-5cc7473f139a\",\n            \"user\": {\n                \"id\": 406,\n                \"uuid\": \"de33b26f-4220-4c2b-a241-7da912fe5498\",\n                \"email\": \"example.user@proget.pl\",\n                \"firstName\": \"Example\",\n                \"lastName\": \"User\"\n            },\n            \"locked\": false,\n            \"vendor\": \"SAMSUNG\",\n            \"model\": \"SM-X306B\",\n            \"dep\": false,\n            \"depProfiles\": [],\n            \"profiles\": [],\n            \"policy\": {\n                \"id\": 10,\n                \"uuid\": \"22eee558-c1bc-46f7-ab04-2d5f08599f12\",\n                \"name\": \"Domyślna Android Enterprise Device Owner\",\n                \"compatibility\": \"android_for_work_device_owner\"\n            },\n            \"imei\": \"351771203339305\",\n            \"serialNumber\": \"R52Y3032BZT\",\n            \"simInfo\": [\n                {\n                    \"index\": 0,\n                    \"imei\": \"351771203339305\",\n                    \"sim\": null\n                },\n                {\n                    \"index\": 1,\n                    \"imei\": \"352933613339304\",\n                    \"sim\": null\n                }\n            ],\n            \"operatingSystem\": \"Android 16\",\n            \"lastContact\": \"2026-06-10 23:44:41\",\n            \"activation\": \"android_for_work_device_owner\",\n            \"active\": true,\n            \"securityStatus\": \"critical\",\n            \"isActivationLockSupported\": null,\n            \"ownership\": \"work\",\n            \"language\": \"polski\",\n            \"alias\": null,\n            \"mdmClientVersion\": \"2.20.1\",\n            \"wifiMacAddress\": null,\n            \"securityPatch\": \"2026-02-05\",\n            \"buildNumber\": \"BP2A.250605.031.A3.X306BXXSACZB3\",\n            \"bootloaderVersion\": \"X306BXXSACZB3\",\n            \"roamingAllowed\": false,\n            \"battery\": {\n                \"level\": 88,\n                \"health\": \"good\"\n            },\n            \"availableStorage\": 110583705600,\n            \"totalStorage\": 112883380224,\n            \"firmware\": \"X306BXXSACZB3/X306BOXMACZB3/X306BXXSACZB3\",\n            \"network\": {\n                \"currentConnection\": \"wifi\",\n                \"updatedAt\": \"2026-06-10 23:44:40\",\n                \"cellular\": {\n                    \"connectionType\": null,\n                    \"ipAddress\": null,\n                    \"signalStrength\": null\n                },\n                \"ethernet\": {\n                    \"ipAddress\": null\n                },\n                \"wifi\": {\n                    \"ssid\": \"ProgetUnifi\",\n                    \"ipAddress\": \"10.100.1.146\",\n                    \"macAddress\": \"8c:30:66:44:14:81\"\n                }\n            },\n            \"progetId\": \"140029\",\n            \"activatedAt\": \"2026-06-09 08:47:58\",\n            \"androidEnterpriseStatus\": \"activated\",\n            \"updateStatus\": \"noData\",\n            \"lastLocationAddress\": null,\n            \"googleServices\": true,\n            \"groups\": [\n                {\n                    \"id\": \"86a5262c-cab4-447f-a5ac-f8b20393362d\",\n                    \"name\": \"ALL DEVICES\"\n                },\n                {\n                    \"id\": \"9a81afde-6a88-43b2-a8f7-ebbde27a5062\",\n                    \"name\": \"ANDROID\"\n                }\n            ],\n            \"eula\": null,\n            \"declarativeManagement\": false\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 3\n}"}],"_postman_id":"bda89211-dfd2-42cb-b6c7-adfff955fca9"},{"name":"Get the Device's security information","event":[{"listen":"test","script":{"id":"cdd89922-08e1-43f9-a99f-8fffc1bc59e0","exec":["pm.response.to.have.status(200);"],"type":"text/javascript"}}],"id":"2ee2d16c-2bd8-481f-ba20-3d9dc0d7ee3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/warning","description":"<p>This GET request allows you to display the device's security information.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","warning"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"c0f5d0c7-ff36-40b1-9729-e2fa6776f8bf","name":"200 OK - Device's security information","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/warning"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:32:56 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 40,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.accessibility.status.enabled\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    },\n    {\n        \"id\": 42,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.android_enterprise.status.safe\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    },\n    {\n        \"id\": 41,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.android.root.status\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    },\n    {\n        \"id\": 38,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.android.safetynet.attestation.status\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": {\n            \"items\": [\n                \"Certified, genuine device that passes CTS\"\n            ]\n        }\n    },\n    {\n        \"id\": 37,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.android.safetynet.verify_apps.status\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    },\n    {\n        \"id\": 35,\n        \"deviceId\": 3310,\n        \"severity\": \"info\",\n        \"name\": \"warning.applications.installed.proget_remote.info\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    },\n    {\n        \"id\": 39,\n        \"deviceId\": 3310,\n        \"severity\": \"safe\",\n        \"name\": \"warning.wifi.control.status.enabled\",\n        \"createdAt\": \"2023-01-01 12:00:00\",\n        \"descriptions\": []\n    }\n]"},{"id":"ad7f3fd1-255d-4024-bf71-89124dfcc0d3","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/warning"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:34:15 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"2ee2d16c-2bd8-481f-ba20-3d9dc0d7ee3a"},{"name":"Assing User to Device","event":[{"listen":"test","script":{"id":"64c694ea-44de-4b81-a742-298a525db395","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"23ff0669-286e-4487-89bc-1e0fa669e408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user/{{USER_ID}}","description":"<p>This POST request allows you to assign a user to a specified device.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","user","{{USER_ID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"36a0aa48-86cb-453b-bb4c-61b8c5606cfd","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user/{{USER_ID}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:35:11 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"815f14bb-8258-4930-942b-0c726403a430","name":"404 Not Found - Wrong device uuid / user id or device / user does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user/{{USER_ID}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:58:51 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"23ff0669-286e-4487-89bc-1e0fa669e408"},{"name":"Unassign User","event":[{"listen":"test","script":{"id":"330eba63-c4d7-4b74-b7e0-f3c24f9e83d4","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"af4887ee-bf5c-4c49-a120-7305167920ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user","description":"<p>This DELETE request allows you to unassign a user from a specified device.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","user"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"3b72889d-3c53-4a17-803c-b99289aab65e","name":"204 No Content - Success","originalRequest":{"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:34:52 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"470736e8-157b-4cdb-80cf-bbeec0af434d","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"DELETE","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/user"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:53:47 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"af4887ee-bf5c-4c49-a120-7305167920ba"},{"name":"Locate Device","event":[{"listen":"test","script":{"id":"59c3c53a-f27d-49dd-bff3-5ace04c97535","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"b6391b5c-4cd2-4d24-876f-20af872a508d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/locate","description":"<p>This POST request allows you to ask a device to deliver its current location. The request won't return the location in response, but it will only create a task to send its existing location on demand.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","locate"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"6987c047-f697-41b1-9161-d73da8190e7a","name":"204 No Content - Success","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/locate"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"server","value":"nginx"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 24 Jan 2024 22:40:35 GMT"},{"key":"server-version","value":"20231000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"baab1598-77a6-4ea8-8ba6-efd05c22c4d6","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/locate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 24 Jan 2024 22:41:19 GMT"},{"key":"server-version","value":"20231000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"b6391b5c-4cd2-4d24-876f-20af872a508d"},{"name":"Get Device locations","event":[{"listen":"test","script":{"id":"4e4c7843-2c87-4e8b-b9ca-591dcf366d5e","exec":["pm.response.to.have.status(200);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"57e1a36c-61e3-4b8f-b071-7d1c4c1f0579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/location","description":"<p>This GET request allows you to get the list of a device's latest locations stored on the server.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","location"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 20. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"d4d61b8d-a16f-4ab4-97dd-68a3947af9a1","name":"200 OK - Device locations","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/location","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device","{{DEVICE_ID}}","location"],"query":[{"key":"limit","value":"50","description":"The optional `int` value indicates the number of records the API must fetch. The default value of the limit will be 20. A single API request can fetch a maximum of 250 resources.","disabled":true},{"key":"offset","value":"0","description":"The optional `int` value indicates from which point the records will be fetched. The default value of from parameter is 0.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 24 Jan 2024 22:42:03 GMT"},{"key":"server-version","value":"20231000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"49b3c01a-b82f-4f7a-a006-eafb763b93b6\",\n            \"longitude\": 19.04355038,\n            \"latitude\": 49.8324909,\n            \"altitude\": 387.4,\n            \"locatedAt\": \"2023-01-01 12:00:00\",\n            \"address\": \"Warszawska 28, 43-300 Bielsko-Biała, Polska\",\n            \"type\": \"Unknown\",\n            \"speed\": 0,\n            \"accuracy\": 17,\n            \"mocked\": false\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 1\n}"},{"id":"3e7e2b85-e93e-498b-9987-2c0f42a37cb1","name":"404 Not Found - Wrong device id or device does not exist","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/location","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device","{{DEVICE_ID}}","location"],"query":[{"key":"limit","value":"50","description":"The optional `int` value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.","disabled":true},{"key":"offset","value":"0","description":"The optional `int` value indicates from which point the records will be fetched. The default value of from parameter is 0.","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 24 Jan 2024 22:43:32 GMT"},{"key":"server-version","value":"20231000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"57e1a36c-61e3-4b8f-b071-7d1c4c1f0579"},{"name":"Get Device details by Serial Number","event":[{"listen":"test","script":{"id":"23eb8097-947e-4718-a161-cd039d896815","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","if(pm.response.code === 200){","    pm.test(\"iOS device found\", function () {","        pm.expect(pm.response.json()[\"items\"][0].id).not.equal(null);","        pm.environment.set(\"DEVICE_ID\", pm.response.json()[\"items\"][0].id);","        pm.expect(pm.response.json()[\"items\"][0].uuid).not.equal(null);","        pm.environment.set(\"DEVICE_UUID\", pm.response.json()[\"items\"][0].uuid);","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"50898513-5dba-4857-9a5f-757806c376bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/?serialNumber={{DEVICE_SN}}","description":"<p>This GET request allows you to get the device details. The value you are searching by is the Serial Number.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device",""],"host":["{{SERVER}}"],"query":[{"description":{"content":"<p>The optional <code>string</code> value with a device's serial number.</p>\n","type":"text/plain"},"key":"serialNumber","value":"{{DEVICE_SN}}"}],"variable":[]}},"response":[{"id":"92d9ad61-99a6-4da1-8085-7fc6da956013","name":"200 OK - Device details","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{SERVER}}/api/mdm/device/?serialNumber={{DEVICE_SN}}","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device",""],"query":[{"key":"serialNumber","value":"{{DEVICE_SN}}","description":"The optional `string` value with a device's serial number."}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:31:13 GMT"},{"key":"server-version","value":"20260600"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 3342,\n            \"uuid\": \"44a93bb2-2999-482e-847c-2f38d0585e93\",\n            \"user\": {\n                \"id\": 406,\n                \"uuid\": \"de33b26f-4220-4c2b-a241-7da912fe5498\",\n                \"email\": \"example.user@proget.pl\",\n                \"firstName\": \"Example\",\n                \"lastName\": \"User\"\n            },\n            \"locked\": false,\n            \"vendor\": \"APPLE\",\n            \"model\": \"iPhone14,2\",\n            \"dep\": false,\n            \"depProfiles\": [],\n            \"profiles\": [],\n            \"policy\": {\n                \"id\": 5,\n                \"uuid\": \"d2108882-797f-4e89-9e7d-0bf06308c033\",\n                \"name\": \"Domyślna iOS\",\n                \"compatibility\": \"ios_mdm\"\n            },\n            \"imei\": \"350017085863595\",\n            \"serialNumber\": \"GVKTM4143P\",\n            \"simInfo\": [\n                {\n                    \"index\": 0,\n                    \"imei\": \"350017085863595\",\n                    \"sim\": null\n                },\n                {\n                    \"index\": 1,\n                    \"imei\": \"350017085803716\",\n                    \"sim\": null\n                }\n            ],\n            \"operatingSystem\": \"iOS 26.5\",\n            \"lastContact\": \"2026-06-11 16:14:30\",\n            \"activation\": \"ios_mdm\",\n            \"active\": true,\n            \"securityStatus\": \"safe\",\n            \"isActivationLockSupported\": null,\n            \"ownership\": \"work\",\n            \"language\": null,\n            \"alias\": null,\n            \"mdmClientVersion\": null,\n            \"wifiMacAddress\": \"4c:e6:c0:2c:f5:39\",\n            \"securityPatch\": null,\n            \"buildNumber\": null,\n            \"bootloaderVersion\": null,\n            \"roamingAllowed\": false,\n            \"battery\": {\n                \"level\": 41,\n                \"health\": \"unknown\"\n            },\n            \"availableStorage\": 114152572629,\n            \"totalStorage\": 137438953472,\n            \"firmware\": null,\n            \"network\": {\n                \"currentConnection\": null,\n                \"updatedAt\": null,\n                \"cellular\": {\n                    \"connectionType\": null,\n                    \"ipAddress\": null,\n                    \"signalStrength\": null\n                },\n                \"ethernet\": {\n                    \"ipAddress\": null\n                },\n                \"wifi\": {\n                    \"ssid\": null,\n                    \"ipAddress\": null,\n                    \"macAddress\": null\n                }\n            },\n            \"progetId\": \"598448\",\n            \"activatedAt\": \"2026-06-11 16:01:36\",\n            \"androidEnterpriseStatus\": null,\n            \"updateStatus\": \"noData\",\n            \"lastLocationAddress\": null,\n            \"googleServices\": null,\n            \"groups\": [\n                {\n                    \"id\": \"86a5262c-cab4-447f-a5ac-f8b20393362d\",\n                    \"name\": \"ALL DEVICES\"\n                },\n                {\n                    \"id\": \"cb461244-fcef-4b7f-865e-7dade59b0a65\",\n                    \"name\": \"iOS\"\n                }\n            ],\n            \"eula\": null,\n            \"declarativeManagement\": true\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 1\n}"}],"_postman_id":"50898513-5dba-4857-9a5f-757806c376bb"},{"name":"Get Device details by IMEI","event":[{"listen":"test","script":{"id":"23eb8097-947e-4718-a161-cd039d896815","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","if(pm.response.code === 200){","    pm.test(\"SAMSUNG device found\", function () {","        pm.expect(pm.response.json()[\"items\"][0].id).not.equal(null);","        pm.environment.set(\"DEVICE_ID\", pm.response.json()[\"items\"][0].id);","        pm.expect(pm.response.json()[\"items\"][0].uuid).not.equal(null);","        pm.environment.set(\"DEVICE_UUID\", pm.response.json()[\"items\"][0].uuid);","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f380f808-0791-4bbd-98ae-f25d375b9968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/?imei={{DEVICE_IMEI}}","description":"<p>This GET request allows you to get the device details. The value you are searching by is the IMEI.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device",""],"host":["{{SERVER}}"],"query":[{"description":{"content":"<p>The optional <code>string</code> value with a device's IMEI number.</p>\n","type":"text/plain"},"key":"imei","value":"{{DEVICE_IMEI}}"}],"variable":[]}},"response":[{"id":"356ef2b0-32c4-4ac5-889a-2746352750e9","name":"200 OK - Device details","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{SERVER}}/api/mdm/device/?imei={{DEVICE_IMEI}}","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device",""],"query":[{"key":"imei","value":"{{DEVICE_IMEI}}","description":"The optional `string` value with a device's IMEI number."}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 12 Jun 2026 08:30:24 GMT"},{"key":"server-version","value":"20260600"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 3341,\n            \"uuid\": \"653c2edc-85ab-41c4-9000-18598cc216a8\",\n            \"user\": {\n                \"id\": 406,\n                \"uuid\": \"de33b26f-4220-4c2b-a241-7da912fe5498\",\n                \"email\": \"example.user@proget.pl\",\n                \"firstName\": \"Example\",\n                \"lastName\": \"User\"\n            },\n            \"locked\": false,\n            \"vendor\": \"VIVO\",\n            \"model\": \"V2219\",\n            \"dep\": false,\n            \"depProfiles\": [],\n            \"profiles\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"KIOSK\",\n                    \"type\": 17,\n                    \"uuid\": \"d5cf775d-1e2f-488a-bdc3-17454eff658d\"\n                }\n            ],\n            \"policy\": {\n                \"id\": 10,\n                \"uuid\": \"22eee558-c1bc-46f7-ab04-2d5f08599f12\",\n                \"name\": \"Domyślna Android Enterprise Device Owner\",\n                \"compatibility\": \"android_for_work_device_owner\"\n            },\n            \"imei\": \"860041069975061\",\n            \"serialNumber\": \"10AD241JMQ002B4\",\n            \"simInfo\": [\n                {\n                    \"index\": 0,\n                    \"imei\": \"860041069975061\",\n                    \"sim\": null\n                },\n                {\n                    \"index\": 1,\n                    \"imei\": \"860041069975079\",\n                    \"sim\": null\n                }\n            ],\n            \"operatingSystem\": \"Android 16\",\n            \"lastContact\": \"2026-06-12 09:06:46\",\n            \"activation\": \"android_for_work_device_owner\",\n            \"active\": true,\n            \"securityStatus\": \"critical\",\n            \"isActivationLockSupported\": null,\n            \"ownership\": \"work\",\n            \"language\": \"English\",\n            \"alias\": null,\n            \"mdmClientVersion\": \"2.20.1\",\n            \"wifiMacAddress\": null,\n            \"securityPatch\": \"2026-04-01\",\n            \"buildNumber\": \"PD2242BF_EX_A_16.4.10.1.W30\",\n            \"bootloaderVersion\": \"unknown\",\n            \"roamingAllowed\": false,\n            \"battery\": {\n                \"level\": 91,\n                \"health\": \"good\"\n            },\n            \"availableStorage\": 229397078016,\n            \"totalStorage\": 236829245440,\n            \"firmware\": null,\n            \"network\": {\n                \"currentConnection\": \"wifi\",\n                \"updatedAt\": \"2026-06-12 07:44:36\",\n                \"cellular\": {\n                    \"connectionType\": null,\n                    \"ipAddress\": null,\n                    \"signalStrength\": null\n                },\n                \"ethernet\": {\n                    \"ipAddress\": null\n                },\n                \"wifi\": {\n                    \"ssid\": \"HOME\",\n                    \"ipAddress\": \"192.168.60.107\",\n                    \"macAddress\": \"c2:25:2f:76:c5:3f\"\n                }\n            },\n            \"progetId\": \"215330\",\n            \"activatedAt\": \"2026-06-09 13:45:29\",\n            \"androidEnterpriseStatus\": \"activated\",\n            \"updateStatus\": \"noData\",\n            \"lastLocationAddress\": \"Ludowa 16, 43-382 Bielsko-Biała, Poland\",\n            \"googleServices\": true,\n            \"groups\": [\n                {\n                    \"id\": \"86a5262c-cab4-447f-a5ac-f8b20393362d\",\n                    \"name\": \"ALL DEVICES\"\n                },\n                {\n                    \"id\": \"9a81afde-6a88-43b2-a8f7-ebbde27a5062\",\n                    \"name\": \"ANDROID\"\n                }\n            ],\n            \"eula\": null,\n            \"declarativeManagement\": false\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 1\n}"}],"_postman_id":"f380f808-0791-4bbd-98ae-f25d375b9968"},{"name":"Force device contact","event":[{"listen":"test","script":{"id":"603f00a4-f3fb-4e1f-a165-b0e93b604307","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});"],"type":"text/javascript","packages":{}}}],"id":"034a3bb4-1cf8-4f14-88f5-84a80d5f0efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/status","description":"<p>This POST request allows you to force the device to contact the server.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","status"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"eb615059-f9d7-44b9-a111-186c1c1504df","name":"204 No Content - The command has been sent","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/status"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"server","value":"nginx"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:28:15 GMT"},{"key":"server-version","value":"20241000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null},{"id":"9d7db7de-43e8-40ad-9547-894d21d7e6e0","name":"404 Not Found - Wrong device uuid or device does not exist","originalRequest":{"method":"POST","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/status"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:29:48 GMT"},{"key":"server-version","value":"20241000"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404\n}"}],"_postman_id":"034a3bb4-1cf8-4f14-88f5-84a80d5f0efa"},{"name":"Get Android Device tasks","event":[{"listen":"test","script":{"id":"b42d97d6-6c58-4b2b-bb54-80762b061ecd","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"77e87c6f-268e-4741-a4b0-a5656f0135c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/task/application","description":"<p>This GET request allows you to get the Android device's tasks.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","task","application"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the tasks's status. For example:</p>\n<ul>\n<li><code>created</code></li>\n<li><code>received</code></li>\n<li><code>success</code></li>\n<li><code>failed</code></li>\n<li><code>canceled</code></li>\n<li><code>notNow</code></li>\n</ul>\n","type":"text/plain"},"key":"status[]","value":"success"}],"variable":[]}},"response":[{"id":"75477b32-df28-4308-aca1-84883900a25b","name":"200 OK - Android Device tasks","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/task/application","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device","{{DEVICE_ID}}","task","application"],"query":[{"key":"limit","value":"50","disabled":true},{"key":"offset","value":"0","disabled":true},{"key":"status[]","value":"success","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:52:21 GMT"},{"key":"server-version","value":"20241000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 239,\n            \"action\": \"device.lostmode.enable\",\n            \"created\": \"2024-10-16 22:44:43\",\n            \"complete\": null,\n            \"senderUsername\": \"admin\",\n            \"status\": \"created\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": null,\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        },\n        {\n            \"id\": 230,\n            \"action\": \"device.lostmode.disable\",\n            \"created\": \"2024-10-15 22:36:11\",\n            \"complete\": \"2024-10-16 01:00:24\",\n            \"senderUsername\": \"admin\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": null,\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        },\n        {\n            \"id\": 228,\n            \"action\": \"device.lostmode.enable\",\n            \"created\": \"2024-10-14 16:29:12\",\n            \"complete\": \"2024-10-14 18:06:29\",\n            \"senderUsername\": \"admin\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": null,\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        },\n        {\n            \"id\": 223,\n            \"action\": \"application.configuration\",\n            \"created\": \"2024-10-12 22:06:51\",\n            \"complete\": \"2024-10-12 22:06:54\",\n            \"senderUsername\": \"system\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": {\n                \"name\": \"Proget File Sharing\"\n            },\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        },\n        {\n            \"id\": 221,\n            \"action\": \"application.store.install\",\n            \"created\": \"2024-10-12 22:04:43\",\n            \"complete\": \"2024-10-12 22:06:51\",\n            \"senderUsername\": \"system\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": {\n                \"name\": \"Proget File Sharing\"\n            },\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        },\n        {\n            \"id\": 220,\n            \"action\": \"policy.add\",\n            \"created\": \"2024-10-12 22:04:24\",\n            \"complete\": \"2024-10-12 22:04:24\",\n            \"senderUsername\": \"system\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": null,\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": {\n                \"name\": \"Domyślna Android Enterprise Device Owner\"\n            },\n            \"profile\": null\n        },\n        {\n            \"id\": 219,\n            \"action\": \"device.status\",\n            \"created\": \"2024-10-12 22:04:24\",\n            \"complete\": \"2024-10-12 22:04:24\",\n            \"senderUsername\": \"system\",\n            \"status\": \"success\",\n            \"restartable\": true,\n            \"error\": null,\n            \"device\": {\n                \"id\": 3320,\n                \"uuid\": \"76e592b1-5536-4eaf-8af2-b46d780d8a4e\",\n                \"active\": true,\n                \"vendor\": \"SAMSUNG\",\n                \"model\": \"SM-N950F\"\n            },\n            \"application\": null,\n            \"user\": {\n                \"id\": \"3fc765a4-903e-47ef-9e5d-017bd430cacd\",\n                \"firstName\": \"Sample\",\n                \"lastName\": \"User\"\n            },\n            \"policy\": null,\n            \"profile\": null\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 7\n}"}],"_postman_id":"77e87c6f-268e-4741-a4b0-a5656f0135c7"},{"name":"Get iOS Device tasks","event":[{"listen":"test","script":{"id":"b42d97d6-6c58-4b2b-bb54-80762b061ecd","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2803ee42-71ef-4cde-9836-1503328949e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/task/device","description":"<p>This GET request allows you to get the iOS device's tasks.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_ID}}","task","device"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 50. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>The optional <code>string</code> value determines the tasks's status. For example:</p>\n<ul>\n<li><code>created</code></li>\n<li><code>received</code></li>\n<li><code>success</code></li>\n<li><code>failed</code></li>\n<li><code>canceled</code></li>\n<li><code>notNow</code></li>\n</ul>\n","type":"text/plain"},"key":"status[]","value":"success"}],"variable":[]}},"response":[{"id":"429b8632-1ef2-4254-9033-636f15e53366","name":"200 OK - iOS Device tasks","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{SERVER}}/api/mdm/device/{{DEVICE_ID}}/task/device","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","device","{{DEVICE_ID}}","task","device"],"query":[{"key":"limit","value":"50","disabled":true},{"key":"offset","value":"0","disabled":true},{"key":"status[]","value":"success","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"nginx"},{"key":"content-type","value":"application/json"},{"key":"transfer-encoding","value":"chunked"},{"key":"cache-control","value":"no-cache, private"},{"key":"date","value":"Wed, 16 Oct 2024 20:54:35 GMT"},{"key":"server-version","value":"20241000"},{"key":"permissions-policy","value":"interest-cohort=()"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 238,\n            \"created\": \"2024-10-16 22:39:54\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.localization.get\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 237,\n            \"created\": \"2024-10-16 22:36:31\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.lostmode.disable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 236,\n            \"created\": \"2024-10-16 22:33:23\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.lostmode.enable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 235,\n            \"created\": \"2024-10-16 22:32:28\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.lostmode.disable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 234,\n            \"created\": \"2024-10-16 22:32:12\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.lostmode.enable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 233,\n            \"created\": \"2024-10-16 22:28:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.applications\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 232,\n            \"created\": \"2024-10-16 22:28:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"created\",\n            \"complete\": null,\n            \"action\": \"device.info\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 231,\n            \"created\": \"2024-10-15 23:12:56\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-16 12:35:29\",\n            \"action\": \"device.custom-apple-command.send\",\n            \"senderUsername\": \"admin\",\n            \"errorMessage\": \"{\\n    \\\"CommandUUID\\\": \\\"231\\\",\\n    \\\"Status\\\": \\\"Acknowledged\\\",\\n    \\\"UDID\\\": \\\"00008101-00052CA93C69001E\\\"\\n}\"\n        },\n        {\n            \"id\": 229,\n            \"created\": \"2024-10-15 22:35:22\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-16 12:35:28\",\n            \"action\": \"device.lostmode.disable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 227,\n            \"created\": \"2024-10-14 15:30:37\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-16 12:35:28\",\n            \"action\": \"device.lostmode.enable\",\n            \"senderUsername\": \"admin\"\n        },\n        {\n            \"id\": 226,\n            \"created\": \"2024-10-12 23:21:44\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 23:21:47\",\n            \"action\": \"device.custom-apple-command.send\",\n            \"senderUsername\": \"admin\",\n            \"errorMessage\": \"{\\n    \\\"CommandUUID\\\": \\\"226\\\",\\n    \\\"Status\\\": \\\"Acknowledged\\\",\\n    \\\"UDID\\\": \\\"00008101-00052CA93C69001E\\\"\\n}\"\n        },\n        {\n            \"id\": 218,\n            \"created\": \"2024-10-12 21:59:18\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:20\",\n            \"action\": \"policy.passcode\",\n            \"senderUsername\": \"system\",\n            \"policy\": {\n                \"name\": \"Domyślna iOS\"\n            }\n        },\n        {\n            \"id\": 217,\n            \"created\": \"2024-10-12 21:59:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:19\",\n            \"action\": \"policy.default-domains\",\n            \"senderUsername\": \"system\",\n            \"policy\": {\n                \"name\": \"Domyślna iOS\"\n            }\n        },\n        {\n            \"id\": 216,\n            \"created\": \"2024-10-12 21:59:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:19\",\n            \"action\": \"policy.activation.lock\",\n            \"senderUsername\": \"system\",\n            \"policy\": {\n                \"name\": \"Domyślna iOS\"\n            }\n        },\n        {\n            \"id\": 215,\n            \"created\": \"2024-10-12 21:59:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:18\",\n            \"action\": \"policy.content-filter\",\n            \"senderUsername\": \"system\",\n            \"policy\": {\n                \"name\": \"Domyślna iOS\"\n            }\n        },\n        {\n            \"id\": 214,\n            \"created\": \"2024-10-12 21:59:15\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:18\",\n            \"action\": \"policy.add\",\n            \"senderUsername\": \"system\",\n            \"policy\": {\n                \"name\": \"Domyślna iOS\"\n            }\n        },\n        {\n            \"id\": 213,\n            \"created\": \"2024-10-12 21:59:14\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:17\",\n            \"action\": \"device.updates\",\n            \"senderUsername\": \"system\"\n        },\n        {\n            \"id\": 210,\n            \"created\": \"2024-10-12 21:58:55\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:15\",\n            \"action\": \"device.applications\",\n            \"senderUsername\": \"system\"\n        },\n        {\n            \"id\": 209,\n            \"created\": \"2024-10-12 21:58:55\",\n            \"device\": {\n                \"id\": 3319,\n                \"uuid\": \"089a0b8d-8303-4624-8c18-b71b6f5b0aa6\",\n                \"active\": true,\n                \"vendor\": \"APPLE\",\n                \"model\": \"iPhone 12\"\n            },\n            \"status\": \"success\",\n            \"complete\": \"2024-10-12 21:59:14\",\n            \"action\": \"device.info\",\n            \"senderUsername\": \"system\"\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 19\n}"}],"_postman_id":"2803ee42-71ef-4cde-9836-1503328949e6"},{"name":"Set device alias","id":"ce6fbb4b-5f81-49d8-9553-aba7323c95f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"alias\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/alias","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","alias"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"8c0fe806-4a78-4292-a3dc-15f8fc1ad471","name":"204 No Content - Set device alias succeeded","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"alias\": \"D\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/alias"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 23 Apr 2026 14:38:57 GMT"},{"key":"server-version","value":"20260400"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ce6fbb4b-5f81-49d8-9553-aba7323c95f1"},{"name":"Start App","id":"421836d1-7cde-4c5c-9ac8-0ad2c29e4920","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"allocation\": \"device\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/application/{{APP_UUID}}/start","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","application","{{APP_UUID}}","start"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"421836d1-7cde-4c5c-9ac8-0ad2c29e4920"},{"name":"Device audit logs","id":"6ba8def3-7359-4871-a811-b0836873566a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/device/{{DEVICE_UUID}}/audit-logs?action%5B%5D=device.applications.state.requirement.change&limit=1&offset=0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","device","{{DEVICE_UUID}}","audit-logs"],"host":["{{SERVER}}"],"query":[{"disabled":true,"key":"action%5B%5D","value":"device.activate"},{"disabled":true,"key":"action%5B%5D","value":"device.application.configuration.state.requirement.change"},{"disabled":true,"key":"action%5B%5D","value":"device.application.installed.inform"},{"disabled":true,"key":"action%5B%5D","value":"device.applications.state.receive"},{"key":"action%5B%5D","value":"device.applications.state.requirement.change"},{"disabled":true,"key":"action%5B%5D","value":"device.application.uninstalled.inform"},{"disabled":true,"key":"action%5B%5D","value":"device.operatingSystem.update"},{"disabled":true,"key":"action%5B%5D","value":"device.ownership.update"},{"disabled":true,"key":"action%5B%5D","value":"device.policy.state.receive"},{"disabled":true,"key":"action%5B%5D","value":"device.policy.state.requirement.change"},{"disabled":true,"key":"action%5B%5D","value":"device.security.passwordStatus.inform"},{"disabled":true,"key":"action%5B%5D","value":"device.security.playIntegrityStatus.inform"},{"disabled":true,"key":"action%5B%5D","value":"device.security.rootStatus.inform"},{"disabled":true,"key":"action%5B%5D","value":"device.sim.change"},{"disabled":true,"key":"action%5B%5D","value":"device.task.application.start"},{"disabled":true,"key":"action%5B%5D","value":"device.task.message.send"},{"disabled":true,"key":"action%5B%5D","value":"device.task.policy.update"},{"disabled":true,"key":"action%5B%5D","value":"device.task.profile.kiosk.assign"},{"disabled":true,"key":"action%5B%5D","value":"device.task.profile.kiosk.unassign"},{"disabled":true,"key":"action%5B%5D","value":"device.task.profile.mtp.assign"},{"disabled":true,"key":"action%5B%5D","value":"device.task.status.send"},{"disabled":true,"key":"action%5B%5D","value":"group.device.assign"},{"key":"limit","value":"1"},{"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"6ba8def3-7359-4871-a811-b0836873566a"},{"name":"Assign an individual app on an Android device","id":"22b29aea-cb86-4285-b2cb-cb3a953ec942","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","name":"Devices management","type":"folder"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"22b29aea-cb86-4285-b2cb-cb3a953ec942"}],"id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb","description":"<p>The Devices Management endpoints provide functionality for managing devices in the system. These endpoints allow you to register new devices, retrieve existing devices' details, manage them, and remove them when they are no longer needed. All operations must be authenticated using a valid JSON Web Token (JWT) in the authorization header. All operations respect control over user access and roles within the platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"70200429-9646-4222-858a-f5a2ea2ebe03","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8c8a2eff-eb02-445f-b56f-473898ec6cbe","type":"text/javascript","exec":[""]}}],"_postman_id":"25a4124f-8ca0-4737-ac13-4f588a5f26bb"},{"name":"Groups management","item":[{"name":"Get Groups list with details","event":[{"listen":"test","script":{"id":"64a0d90a-2af6-4c8a-80af-487ca1329368","exec":["pm.response.to.have.status(200);","","var group_name = pm.variables.get('GROUP_NAME');","","pm.test(\"Look for group id\", function() {","    for (let i = 0; i < pm.response.json().length; i++) {","        if(pm.response.json()[i].name === group_name) {","            pm.expect(pm.response.json()[i].id).not.equal(null);","            pm.environment.set(\"GROUP_ID\", pm.response.json()[i].id);","        }","    }","});"],"type":"text/javascript"}}],"id":"fcd4f75a-27aa-4a7c-b70a-f5edf680f262","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/group","description":"<p>The <code>api/mdm/group</code> endpoint returns a list of groups with their details.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","group"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"723df96c-ca85-465a-af52-8ac75a42d1df","name":"200 OK - Group(s) with details","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/group"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:56:11 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"name\": \"admin\",\n        \"usersCount\": 0,\n        \"devicesCount\": 0,\n        \"appCount\": 0,\n        \"policies\": [],\n        \"profiles\": []\n    },\n    {\n        \"id\": 76,\n        \"name\": \"Group: Test\",\n        \"usersCount\": 0,\n        \"devicesCount\": 0,\n        \"appCount\": 0,\n        \"policies\": [],\n        \"profiles\": []\n    },\n    {\n        \"id\": 1,\n        \"name\": \"user\",\n        \"usersCount\": 0,\n        \"devicesCount\": 0,\n        \"appCount\": 0,\n        \"policies\": [],\n        \"profiles\": []\n    }\n]"}],"_postman_id":"fcd4f75a-27aa-4a7c-b70a-f5edf680f262"}],"id":"6b3b81e8-e1b1-4155-85b0-237cb5998afc","description":"<p>This collection of endpoints enables the management of devices groups within the system. With these endpoints, you can create new groups, assign filters and retrieve information about specific groups. Similar to other API sections, all requests require a valid JSON Web Token (JWT) for authentication in the authorization header. All operations respect control over user access and roles within the platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"6f19aaaf-34a8-46df-a517-545ba22287b8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d0d7eadd-4a7a-46f7-8a99-e98cca03ff2c","type":"text/javascript","exec":[""]}}],"_postman_id":"6b3b81e8-e1b1-4155-85b0-237cb5998afc"},{"name":"Profiles management","item":[{"name":"Business documents","item":[{"name":"Get a list of Business documents profiles","event":[{"listen":"test","script":{"id":"0051adfc-551d-44b2-9588-6abaea5ac702","exec":["pm.response.to.have.status(200);","","var profile_name = pm.variables.get('BUSINESS_DOCUMENTS_PROFILE_NAME');","","pm.test(\"Look for business documents profile id\", function() {","    for (let i = 0; i < pm.response.json().length; i++) {","        if(pm.response.json()[i].name === profile_name) {","            pm.expect(pm.response.json()[i].id).not.equal(null);","            pm.environment.set(\"BUSINESS_DOCUMENTS_PROFILE_ID\", pm.response.json()[i].id);","        }","    }","});"],"type":"text/javascript"}}],"id":"f51a35af-ce34-48df-9bca-b6919844af7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/documents","description":"<p>This GET request allows you to list existing Business document profiles already created on a server.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","profile","documents"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"06c93395-07a8-43ef-853c-f740223d5280","name":"200 OK - Business documents profile(s) list","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:16:45 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"6cc5bf67-5e01-4442-907f-31c095996adc\",\n        \"id\": 3,\n        \"name\": \"Profile: Business documents\"\n    }\n]"}],"_postman_id":"f51a35af-ce34-48df-9bca-b6919844af7b"},{"name":"Get Business documents profile details by profile id","event":[{"listen":"test","script":{"id":"fc9ce160-a5f7-44fc-9ba8-64c5984b20c2","exec":["pm.response.to.have.status(200);"],"type":"text/javascript"}}],"id":"279957fa-9651-49aa-a299-f4c7bd752297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/documents/{{BUSINESS_DOCUMENTS_PROFILE_ID}}","description":"<p>This GET request allows you to get all of the details from a particular Business documents profile. Use a response to build a body for a request to update the Business documents profile.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","profile","documents","{{BUSINESS_DOCUMENTS_PROFILE_ID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"b066a7ad-2650-44f4-bcbf-e9e63468dbbf","name":"200 OK - Business documents profile with details","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/documents/{{BUSINESS_DOCUMENTS_PROFILE_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:18:25 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"6cc5bf67-5e01-4442-907f-31c095996adc\",\n    \"id\": 3,\n    \"name\": \"Profile: Business documents\",\n    \"notifyChanges\": true,\n    \"allowWifi\": true,\n    \"allowMobileData\": true,\n    \"defaultDownloadsDirectory\": false,\n    \"files\": [\n        {\n            \"id\": \"0d4c91d6-9a18-4db5-b060-f4165d039511\",\n            \"path\": \"/test1.txt\"\n        },\n        {\n            \"id\": \"05833eec-13e0-4189-af11-82fb369c780e\",\n            \"path\": \"/test2.txt\"\n        }\n    ]\n}"}],"_postman_id":"279957fa-9651-49aa-a299-f4c7bd752297"},{"name":"Upload a new file to the Business document profile","event":[{"listen":"test","script":{"id":"5a77a2e5-bc99-4e87-9e5f-0434f01c0d6c","exec":["pm.response.to.have.status(201);","","pm.environment.set(\"BUSINESS_DOCUMENTS_UPLOAD_ID\", pm.response.json().id);"],"type":"text/javascript"}}],"id":"44e9db64-76c6-4124-b055-ee548905afd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"other","type":"text","description":"<p>The require <code>string</code> value which specifies a type of uploaded file. The' type' for the Business Documents profile should be specified as <code>other</code>.</p>\n"},{"key":"file","type":"file","description":"<p>The require <code>string</code> value which specifies a file path. Multiple files can be uploaded at one time.</p>\n","value":null}]},"url":"https://{{SERVER}}/api/mdm/file","description":"<p>This POST request allows you to upload a new file to the Business documents profile.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","file"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"63ea63bf-bb8e-4e7a-b5e0-f1c383e6a1b6","name":"201 Created - Upload id","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"other","type":"text"},{"key":"file","type":"file","src":"/home/ajakubiec/Pobrane/test3.txt"}]},"url":"https://{{SERVER}}/api/mdm/file"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:21:50 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1fad1db9-8f38-47df-a654-33f97c0ea376\"\n}"},{"id":"6bb304dc-732d-4c37-98ba-4821b47e21da","name":"400 Bad request - Validation failed. Required params or body are missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"other","type":"text","disabled":true},{"key":"file","type":"file","src":"/home/ajakubiec/Pobrane/test3.txt"}]},"url":"https://{{SERVER}}/api/mdm/file"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Apr 2023 10:19:08 GMT"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Validation Failed\",\n    \"errors\": {\n        \"children\": {\n            \"type\": {\n                \"errors\": [\n                    \"This value should not be empty.\"\n                ]\n            },\n            \"file\": {\n                \"errors\": [\n                    \"This value should not be empty.\"\n                ]\n            }\n        },\n        \"_extraFields\": []\n    }\n}"},{"id":"fa65329b-4309-4076-a120-4af1d495693b","name":"413 Request Entity Too Large","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"other","type":"text","description":"The require `string` value which specifies a type of uploaded file. The' type' for the Business Documents profile should be specified as `other`."},{"key":"file","type":"file","src":"/home/ajakubiec/Pobrane/Greenbone-Enterprise-TRIAL-22.04.6-VirtualBox.ova"},{"key":"file","type":"file","value":null}]},"url":"https://{{SERVER}}/api/mdm/file"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 19 Apr 2023 10:25:12 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"176"},{"key":"Connection","value":"close"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"<html>\n    <head>\n        <title>413 Request Entity Too Large</title>\n    </head>\n    <body>\n        <center>\n            <h1>413 Request Entity Too Large</h1>\n        </center>\n    </body>\n</html>"}],"_postman_id":"44e9db64-76c6-4124-b055-ee548905afd8"},{"name":"Update Business documents profile","event":[{"listen":"test","script":{"id":"74630643-35b5-405b-ba23-73c3583a73be","exec":["pm.response.to.have.status(204);"],"type":"text/javascript"}}],"id":"552f795f-68a8-4625-9fdc-a5e3433c7ed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"notifyChanges\": true,\n    \"allowWifi\": true,\n    \"allowMobileData\": true,\n    \"defaultDownloadsDirectory\": true,\n    \"files\": [\n        {\n            \"id\": \"0d4c91d6-9a18-4db5-b060-f4165d039511\",\n            \"path\": \"/test1.txt\"\n        },\n        {\n            \"id\": \"05833eec-13e0-4189-af11-82fb369c780e\",\n            \"path\": \"/test2.txt\"\n        },\n        {\n            \"id\": \"1fad1db9-8f38-47df-a654-33f97c0ea376\",\n            \"path\": \"/test3.txt\"\n        }\n        \n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/profile/documents/{{BUSINESS_DOCUMENTS_PROFILE_ID}}","description":"<p>This PUT request allows you to send updates to the Business documents profile. Build a request body using a required field. Remember to put all the upload ids and file names in the request body with each update request. In another way, the missed ids and filenames will be removed from the profile.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","profile","documents","{{BUSINESS_DOCUMENTS_PROFILE_ID}}"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"2eef8e09-1b33-4242-ba70-16d3a32470ce","name":"204 No Content - Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"notifyChanges\": true,\n    \"allowWifi\": true,\n    \"allowMobileData\": true,\n    \"defaultDownloadsDirectory\": true,\n    \"files\": [\n        {\n            \"id\": \"0d4c91d6-9a18-4db5-b060-f4165d039511\",\n            \"path\": \"/test1.txt\"\n        },\n        {\n            \"id\": \"05833eec-13e0-4189-af11-82fb369c780e\",\n            \"path\": \"/test2.txt\"\n        },\n        {\n            \"id\": \"1fad1db9-8f38-47df-a654-33f97c0ea376\",\n            \"path\": \"/test3.txt\"\n        }\n        \n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{SERVER}}/api/mdm/profile/documents/{{BUSINESS_DOCUMENTS_PROFILE_ID}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 18 Apr 2023 12:23:41 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"552f795f-68a8-4625-9fdc-a5e3433c7ed9"}],"id":"e6d5fee6-2af4-4e90-af0e-ce6903ab5c1d","description":"<p>This endpoint group delivers functionality for managing the Business documents profile. Using those endpoints, you can list Business document profiles and manage the files within them.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"224c7a82-5578-4a6f-8220-7c0f98de6e75","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7b444aac-f757-44bd-a55e-6e74d3967cef","type":"text/javascript","exec":[""]}}],"_postman_id":"e6d5fee6-2af4-4e90-af0e-ce6903ab5c1d"},{"name":"Apple Business","item":[{"name":"Get a list of Apple Business profiles","id":"0c65db23-d0b4-4433-b09f-1326ad4e58de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/dep","description":"<p>Retrieves a list of Apple Business profiles available in the system.</p>\n<p>This endpoint returns the Apple Business profiles configured for device enrollment and management. It can be used to fetch all available profiles so they can be reviewed, selected, assigned, or otherwise managed in downstream operations.</p>\n<p>Request details:</p>\n<ul>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>URL: <code>https://{{SERVER}}/api/mdm/profile/dep</code></p>\n</li>\n</ul>\n<p>Request body:</p>\n<ul>\n<li>None</li>\n</ul>\n<p>Expected response:</p>\n<ul>\n<li><code>200 OK</code> with a response body containing the list of Apple Business profiles.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"069ae9a0-7094-4708-9eeb-379147f73d16","id":"069ae9a0-7094-4708-9eeb-379147f73d16","name":"Profiles management","type":"folder"}},"urlObject":{"protocol":"https","path":["api","mdm","profile","dep"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[{"id":"d88704a8-e759-42ea-aac5-517f1b7be495","name":"200 OK - Apple Business profile(s) list","originalRequest":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/profile/dep"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 17 Jun 2026 13:56:49 GMT"},{"key":"server-version","value":"20260401"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"ab05d823-d2cc-453a-84e9-cd78a9823f51\",\n        \"id\": 14,\n        \"name\": \"ABM Enrollment\",\n        \"modification\": {\n            \"createdAt\": \"2025-09-26 08:21:59\",\n            \"updatedAt\": null,\n            \"createdBy\": {\n                \"id\": \"bb6838c6-62c7-4e0d-abad-4a4df8099352\",\n                \"type\": \"user\",\n                \"name\": \"Artur\",\n                \"surname\": \"Jakubiec\",\n                \"email\": \"artur.jakubiec@proget.pl\"\n            },\n            \"updatedBy\": null\n        }\n    },\n    {\n        \"uuid\": \"a27bb838-f9d1-4ca4-98d6-bdf7284377d1\",\n        \"id\": 69,\n        \"name\": \"nowy\",\n        \"modification\": {\n            \"createdAt\": \"2026-06-17 15:26:14\",\n            \"updatedAt\": null,\n            \"createdBy\": {\n                \"id\": \"bb6838c6-62c7-4e0d-abad-4a4df8099352\",\n                \"type\": \"user\",\n                \"name\": \"Artur\",\n                \"surname\": \"Jakubiec\",\n                \"email\": \"artur.jakubiec@proget.pl\"\n            },\n            \"updatedBy\": null\n        }\n    }\n]"}],"_postman_id":"0c65db23-d0b4-4433-b09f-1326ad4e58de"}],"id":"0998d350-cb0f-4e52-95b7-00ddcb65b935","_postman_id":"0998d350-cb0f-4e52-95b7-00ddcb65b935","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"069ae9a0-7094-4708-9eeb-379147f73d16","id":"069ae9a0-7094-4708-9eeb-379147f73d16","name":"Profiles management","type":"folder"}}}],"id":"069ae9a0-7094-4708-9eeb-379147f73d16","description":"<p>This group of endpoints is designed to manage profiles within the system. You can retrieve the profile information and preferences. As with other API sections, requests must include a valid JSON Web Token (JWT) in the authorization header for authentication. All operations respect control over user access and roles within the platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e57c6f05-ab01-4268-bf0c-2987cb657a9c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b05ba8b1-eee4-436f-9121-0f55bfe1399d","type":"text/javascript","exec":[""]}}],"_postman_id":"069ae9a0-7094-4708-9eeb-379147f73d16"},{"name":"System management","item":[{"name":"Get Notification list","id":"06e87fe3-1948-400a-a12b-fa6c78677fb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/notification","description":"<p>This GET request lets you obtain a list of system notifications. You can fetch all notifications or filter them using available criteria.</p>\n","urlObject":{"protocol":"https","path":["api","mdm","notification"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates the number of records the API must fetch. The default value of the limit will be 20. A single API request can fetch a maximum of 250 resources.</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>The optional <code>int</code> value indicates from which point the records will be fetched. The default value of from parameter is 0.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>deviceSecurityStatusChanged\napplicationNoLongerAvailable\ndeviceApplicationReported\nazureSynchronizationErrors\nldapSynchronizationErrors\ndepServerForbidden\ndevicePasswordNotSet\nappleTermsNotAccepted\nandroidEnterpriseConfigurationUpdate\ndeviceLocationAvailability\ndeviceGeofencingTransition\nmtp\nazureAuthenticationFailed\ndepTokenExpired\nazureInsufficientAccessTokenRoles\nupdateProcessed\ndeviceActivated\ndeviceDeactivated\ndeviceLackOfContact\ndeviceLostModeStatusChanged\nazureUserUnassigned\nldapUserRemoved\napnCertificateExpiry\nazureExpiry\nadminApplicationsChanged\ndeviceSimChanged\nintegrityViolationChanged\ndeviceSimPinningStatusChanged\ndeviceUserChanged</p>\n","type":"text/plain"},"key":"type[]","value":"deviceSecurityStatusChanged"},{"disabled":true,"key":"createdAt","value":"2023-01-01"},{"disabled":true,"key":"acknowledged","value":"true"}],"variable":[]}},"response":[{"id":"4faae6a4-b429-41d0-8b16-41c6ec485210","name":"200 OK - Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{SERVER}}/api/mdm/notification","protocol":"https","host":["{{SERVER}}"],"path":["api","mdm","notification"],"query":[{"key":"limit","value":"50","description":"The optional `int` value indicates the number of records the API must fetch. The default value of the limit will be 20. A single API request can fetch a maximum of 250 resources.","disabled":true},{"key":"offset","value":"0","description":"The optional `int` value indicates from which point the records will be fetched. The default value of from parameter is 0.","disabled":true},{"key":"type[]","value":"deviceSecurityStatusChanged","description":"deviceSecurityStatusChanged\napplicationNoLongerAvailable\ndeviceApplicationReported\nazureSynchronizationErrors\nldapSynchronizationErrors\ndepServerForbidden\ndevicePasswordNotSet\nappleTermsNotAccepted\nandroidEnterpriseConfigurationUpdate\ndeviceLocationAvailability\ndeviceGeofencingTransition\nmtp\nazureAuthenticationFailed\ndepTokenExpired\nazureInsufficientAccessTokenRoles\nupdateProcessed\ndeviceActivated\ndeviceDeactivated\ndeviceLackOfContact\ndeviceLostModeStatusChanged\nazureUserUnassigned\nldapUserRemoved\napnCertificateExpiry\nazureExpiry\nadminApplicationsChanged\ndeviceSimChanged\nintegrityViolationChanged\ndeviceSimPinningStatusChanged\ndeviceUserChanged","disabled":true},{"key":"createdAt","value":"2023-01-01","disabled":true},{"key":"acknowledged","value":"true","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Apr 2023 14:21:33 GMT"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"a45c56e5-29c9-4799-b10a-2e21664b5f7b\",\n            \"createdAt\": \"2023-04-20 14:54:35\",\n            \"type\": \"deviceLostModeStatusChanged\",\n            \"context\": {\n                \"time\": \"2023-04-20T14:54:35.077+02:00\",\n                \"types\": [\n                    \"device.lost_mode.reason.task\"\n                ],\n                \"device\": {\n                    \"id\": 3310,\n                    \"imei\": \"354001151306792\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"uuid\": \"8e9968df-a6d5-4bbb-ad5f-6b0f527ad92f\",\n                        \"lastName\": \"Doe\",\n                        \"firstName\": \"John\"\n                    },\n                    \"model\": \"moto g(100)\",\n                    \"vendor\": \"MOTOROLA\",\n                    \"serialNumber\": \"ZY22BT348S\"\n                }\n            },\n            \"acknowledgedAt\": null,\n            \"acknowledgedBy\": null\n        },\n        {\n            \"id\": \"3a17494a-9336-438c-be96-0556c0b791a5\",\n            \"createdAt\": \"2023-04-20 03:40:48\",\n            \"type\": \"androidEnterpriseConfigurationUpdate\",\n            \"context\": {\n                \"applications\": [\n                    \"com.android.chrome\"\n                ]\n            },\n            \"acknowledgedAt\": null,\n            \"acknowledgedBy\": null\n        }\n    ],\n    \"limit\": 20,\n    \"offset\": 0,\n    \"total\": 2\n}"}],"_postman_id":"06e87fe3-1948-400a-a12b-fa6c78677fb1"}],"id":"9c4bb2dd-2cb5-4ed6-aa44-817e5cbe6018","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"941abb74-71eb-4de7-90af-ed9c90f77427","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b7d8db85-0ad9-4f9c-a09e-0fbd6751afcc","type":"text/javascript","exec":[""]}}],"_postman_id":"9c4bb2dd-2cb5-4ed6-aa44-817e5cbe6018","description":""},{"name":"Devices info","item":[{"name":"Get warrnings","id":"82d38dd9-32b9-4389-91f7-0de857960f0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/api/mdm/warning?name[]=warning.lost_mode.status","description":"<p>This GET request lets you obtain a list of gathered device warnings. You can fetch all notifications or filter them using available criteria.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","mdm","warning"],"host":["{{SERVER}}"],"query":[{"key":"name[]","value":"warning.lost_mode.status"}],"variable":[]}},"response":[],"_postman_id":"82d38dd9-32b9-4389-91f7-0de857960f0e"}],"id":"88e17870-5d07-4f74-8526-952f1aa920bf","_postman_id":"88e17870-5d07-4f74-8526-952f1aa920bf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}}},{"name":"Applications management","item":[{"name":"Get list off applications","id":"e3ff166f-2d65-4856-85c4-42008db7d0e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/app/application","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["app","application"],"host":["{{SERVER}}"],"query":[{"disabled":true,"description":{"content":"<p>The name of an application</p>\n","type":"text/plain"},"key":"name","value":"Proget"},{"disabled":true,"description":{"content":"<p>The packakgeId of an application</p>\n","type":"text/plain"},"key":"packageId","value":"pl.proget.progetmdm"},{"disabled":true,"description":{"content":"<p>device,file,external_resource,shop</p>\n","type":"text/plain"},"key":"origin","value":"shop"},{"disabled":true,"key":"system","value":"android"},{"disabled":true,"key":"limit","value":"50"},{"disabled":true,"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"e3ff166f-2d65-4856-85c4-42008db7d0e5"},{"name":"Get Android app managed configurations","id":"5ae33ddb-3020-4257-811c-cac3de6f80e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{SERVER}}/app/application/{{APP_UUID}}/android-configuration","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}},"urlObject":{"protocol":"https","path":["app","application","{{APP_UUID}}","android-configuration"],"host":["{{SERVER}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ae33ddb-3020-4257-811c-cac3de6f80e6"}],"id":"bfc38dc3-73ed-4b6b-8e1b-f7cca7f8bf59","_postman_id":"bfc38dc3-73ed-4b6b-8e1b-f7cca7f8bf59","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":true,"source":{"_postman_id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","id":"af3cbfe0-0a14-41f0-bd2e-ac525db29fa0","name":"PROGET API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]}},"event":[{"listen":"prerequest","script":{"id":"35286c0a-272a-4b86-94fc-41c58d332040","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2f641bae-f65f-4ff0-b91f-e1a6ee6fdeb5","type":"text/javascript","exec":[""]}}]}