{"info":{"_postman_id":"929a0285-1589-4693-8b3a-1e977c357fc0","name":"panel-isv4","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1988161","collectionId":"929a0285-1589-4693-8b3a-1e977c357fc0","publishedId":"TVYF8JoG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-10-25T14:53:03.000Z"},"item":[{"name":"Join Code","item":[{"name":"Generate Join Code","event":[{"listen":"test","script":{"id":"63f8839d-f24b-4dac-9571-d4f259a9a26d","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","    var jsonData = pm.response.json();","    var joinCode = jsonData.data.join_code;","","    pm.environment.set(\"join_code\", joinCode);","    ","});"],"type":"text/javascript"}}],"id":"1d988369-ba95-4d37-9862-15aa4eb9783d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"expires_at","value":"2023-03-07 23:09:30","type":"text"}]},"url":"/api/join","urlObject":{"path":["api","join"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"3008d2f5-fd1e-4965-8d2b-6251110f12e7","name":"respon 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"expires_at","value":"2023-03-07 23:09:30","type":"text"}]},"url":"/api/join"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 07:45:42 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"generate code successfully\",\n    \"data\": {\n        \"company\": {\n            \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n            \"name\": \"pos123\",\n            \"brand\": \"pos123\",\n            \"logo\": \"http://panel.nusawork.test/company/logo/default-loga.png\",\n            \"domain\": \"https://app.dev.nusa.work\",\n            \"domain_api\": \"https://pos123.app.dev.nusa.work\",\n            \"join_code_list\": [\n                {\n                    \"id\": 25,\n                    \"company_id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n                    \"join_code\": \"MBMDKNZGXIAY\",\n                    \"expires_at\": \"2023-03-07 23:09:30\",\n                    \"created_at\": \"2023-03-06T07:45:42.000000Z\",\n                    \"updated_at\": \"2023-03-06T07:45:42.000000Z\"\n                }\n            ]\n        },\n        \"join_code\": \"MBMDKNZGXIAY\",\n        \"expires_at\": \"2023-03-07 23:09:30\"\n    }\n}"}],"_postman_id":"1d988369-ba95-4d37-9862-15aa4eb9783d"},{"name":"List Generate Join Code","event":[{"listen":"test","script":{"id":"63f8839d-f24b-4dac-9571-d4f259a9a26d","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","    var jsonData = pm.response.json();","    var joinCode = jsonData.data.join_code;","","    pm.environment.set(\"join_code\", joinCode);","    ","});"],"type":"text/javascript"}}],"id":"95fe2596-f6e4-4d6d-9703-9ebac6eb98bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"/api/join","urlObject":{"path":["api","join"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"8e41eb50-2fd1-4274-86a7-4692c0f1b774","name":"respon 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"expires_at","value":"2023-03-07 23:09:30","type":"text"}]},"url":"/api/join"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 07:45:42 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"generate code successfully\",\n    \"data\": {\n        \"company\": {\n            \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n            \"name\": \"pos123\",\n            \"brand\": \"pos123\",\n            \"logo\": \"http://panel.nusawork.test/company/logo/default-loga.png\",\n            \"domain\": \"https://app.dev.nusa.work\",\n            \"domain_api\": \"https://pos123.app.dev.nusa.work\",\n            \"join_code_list\": [\n                {\n                    \"id\": 25,\n                    \"company_id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n                    \"join_code\": \"MBMDKNZGXIAY\",\n                    \"expires_at\": \"2023-03-07 23:09:30\",\n                    \"created_at\": \"2023-03-06T07:45:42.000000Z\",\n                    \"updated_at\": \"2023-03-06T07:45:42.000000Z\"\n                }\n            ]\n        },\n        \"join_code\": \"MBMDKNZGXIAY\",\n        \"expires_at\": \"2023-03-07 23:09:30\"\n    }\n}"}],"_postman_id":"95fe2596-f6e4-4d6d-9703-9ebac6eb98bc"},{"name":"Get Company Info by Join Code /api/join/{{join_code}}","id":"0c5a0d69-c712-4915-8757-44b9ee48a8fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/join/{{join_code}}","urlObject":{"path":["api","join","{{join_code}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"09d63993-e368-4342-9bc9-605c1d05883f","name":"response 200","originalRequest":{"method":"GET","header":[],"url":"/api/join/{{join_code}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 07:45:48 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"name\": \"pos123\",\n        \"brand\": \"pos123\",\n        \"logo\": \"http://panel.nusawork.test/company/logo/default-loga.png\",\n        \"domain\": \"https://app.dev.nusa.work\",\n        \"domain_api\": \"https://pos123.app.dev.nusa.work\"\n    }\n}"}],"_postman_id":"0c5a0d69-c712-4915-8757-44b9ee48a8fd"},{"name":"Update Join Code","id":"1abe4fe5-e87e-473c-bfe0-635760ecc649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\" : \"2023-03-07\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/join/{{join_code}}","urlObject":{"path":["api","join","{{join_code}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"baf305d3-1e63-4b5e-a858-a4010aa0218e","name":"response 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\" : \"2023-03-07\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/join/{{join_code}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 07:55:25 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"expires_at\": [\n            \"The expires at does not match the format Y-m-d H:i:s.\"\n        ]\n    }\n}"},{"id":"ce05f1fb-07f6-40d6-a4d9-448043e7f32f","name":"Response 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\" : \"2023-03-07 23:59:59\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/join/{{join_code}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 07:56:34 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Success\",\n    \"message\": \"Update join code successfully\",\n    \"data\": {\n        \"id\": 25,\n        \"company_id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"join_code\": \"MBMDKNZGXIAY\",\n        \"expires_at\": \"2023-03-07 23:59:59\",\n        \"created_at\": \"2023-03-06T07:45:42.000000Z\",\n        \"updated_at\": \"2023-03-06T07:56:34.000000Z\"\n    }\n}"}],"_postman_id":"1abe4fe5-e87e-473c-bfe0-635760ecc649"},{"name":"Delete join code","id":"cb19fd1a-d765-4baa-8826-965d6ea58908","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/join/{{join_code}}","urlObject":{"path":["api","join","{{join_code}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"7bedc661-62ce-4791-8a25-c7a930e3a580","name":"Response 200 Delete join code","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/join/{{join_code}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 08:00:03 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Success\",\n    \"message\": \"delete join code MBMDKNZGXIAY successfully\"\n}"}],"_postman_id":"cb19fd1a-d765-4baa-8826-965d6ea58908"}],"id":"3cfa5155-d77c-46b2-a3eb-30a5dc7d41a4","_postman_id":"3cfa5155-d77c-46b2-a3eb-30a5dc7d41a4","description":""},{"name":"QRCode Login","item":[{"name":"Panel QRCode Login ","event":[{"listen":"test","script":{"id":"99ec4558-79b7-41f5-9847-7d1c36c430c3","exec":["pm.test(\"ambil response qrcode\", function () {","    var jsonData = pm.response.json();","    var qrcodeImage = jsonData.qrcode_image;","    var strCode = qrcodeImage.split(\"/\");","    var n = strCode.length;","    var i = n-1;","    var qrcode = strCode[i];","    pm.environment.set(\"qrcode_image\", qrcodeImage);","    pm.environment.set(\"qrcode\", qrcode)","    //pm.expect(jsonData.value).to.eql(100);","    console.log(qrcodeImage);","});",""],"type":"text/javascript"}}],"id":"fb36612b-0a69-4190-9657-0535f662732e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/companies/login/qrcode","description":"<h2 id=\"latar-belakang\">Latar Belakang</h2>\n<p>Pemanggilan QR Code ke Panel bertujuan untuk login via scan qrcode di WEB, <strong>karena web belum tau yang login dari company mana,</strong> maka perlu melakukan check ke panel, nanti panel yang akan mappingkan company sesuai token yang dikirim user dari app saat melakukan scan qrcode.</p>\n<p><strong>tapi jika memang scan qrcode ini</strong> memang ditujukan untuk 1 company saja, maka bisa langsung pakai endpoint Company : login scan qrcode</p>\n<h3 id=\"get--hosts-panelapicompaniesloginqrcode\">GET : /api/companies/login/qrcode</h3>\n<p>endpoint ini berfungsi untuk menggenerate qrcode dari server panel</p>\n","urlObject":{"path":["api","companies","login","qrcode"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"fb36612b-0a69-4190-9657-0535f662732e"},{"name":"Panel QRCode Login Check Token","event":[{"listen":"prerequest","script":{"id":"85afdcf3-54c8-44e3-99b5-4a25e9a69e51","exec":["",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"c1a47649-510d-4b5d-a5ac-db978e31f396","exec":["pm.test(\"ambil response token\", function () {","    var jsonData = pm.response.json();","    var a = typeof jsonData.data;","   ","    if(typeof jsonData.data !== 'undefined') {","        console.log(jsonData.data);","        var token = jsonData.data.token;","        if(token !== null) {","            pm.environment.set(\"Bearer-token\", token);","        }","    }","    console.log(jsonData);","});"],"type":"text/javascript"}}],"id":"e00c41b9-a83b-486b-b341-aa416cfba0c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}","description":"<p>Endpoint ini memiliki 2 fungsi, yaitu :</p>\n<ol>\n<li>untuk melihat qrcode</li>\n<li>mengecheck status scan qrcode</li>\n</ol>\n<p><strong>Untuk melihat qrcode</strong>, panggil endpont ini tanpa header <code>X-Requested-With: XMLHttpRequest</code></p>\n<p><strong>Untuk menge-check status scan qrcode</strong> panggil endpoint ini dengan header <code>X-Requested-With: XMLHttpRequest</code></p>\n<p>endpoint dapat dipanggil berkala seperti per detik, atau per 2 detik. sampai status berhasil atau expired.</p>\n<p>jika berhasil maka endpoint akan mengembalikan sebuah access_token, yang sebenarnya bisa langsung dipakai untuk aktifitas website. hanya saja token ini akan expired sesuai waktu yang tertera di token itu, dan tidak ada refresh tokennya, karena itu untuk bisa login seperti login username password maka perlu memanggil endpoint <code>{{host}}/auth/api/oauth/token</code> via <strong>grant social</strong>, yang bisa di lihat di dokumentasi ini <a href=\"https://documenter.getpostman.com/view/1988161/Szf82oMW#5d66ad7c-40ec-4917-b547-5b95c5f5fdf0\">https://documenter.getpostman.com/view/1988161/Szf82oMW#5d66ad7c-40ec-4917-b547-5b95c5f5fdf0</a></p>\n","urlObject":{"path":["api","companies","login","qrcode","{{qrcode}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"28c789cc-ffd0-4d55-85ba-d7c568fc98b8","name":"Respon Saat Menunggu","originalRequest":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:12:44 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"106"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Waiting\",\n    \"message\": \"Waiting for the token from the server\",\n    \"data\": {\n        \"profile\": null,\n        \"token\": null\n    }\n}"},{"id":"2806e92c-343a-4ccd-8353-2b205a705244","name":"Respon saat sudah discan tapi belum konfirmasi","originalRequest":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:13:50 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"424"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Confirmation\",\n    \"message\": \"You will be logged in as Ade Iskandar (ade@nusa.net.id)\",\n    \"data\": {\n        \"profile\": {\n            \"first_name\": \"Ade\",\n            \"last_name\": \"Iskandar\",\n            \"email\": \"ade@nusa.net.id\",\n            \"photo\": \"http://hris.local.test/emp/api/photo_profile/c4ca4238a0b923820dcc509a6f75849b.jpg\",\n            \"company\": {\n                \"name\": \"PT. Media Antar Nusa\",\n                \"address\": \"Jl. Multatuli Indah Blok D No.1 Medan\"\n            }\n        },\n        \"token\": null,\n        \"domain_api\": \"http://hris.local.test\"\n    }\n}"}],"_postman_id":"e00c41b9-a83b-486b-b341-aa416cfba0c0"},{"name":"Panel QR Code : scan qrcode and post token from app to server","id":"1e1e305a-f015-4a16-a4c4-7223027f5db6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Bearer-token}}","type":"text"},{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"company_id","value":"10d9facf-0bba-4d6f-9290-81a9316526c2","type":"text"},{"key":"confirm","value":"falses","type":"text"}]},"url":"/api/companies/login/qrcode/{{qrcode}}","description":"<p>kirimkan <strong>company_id</strong> saja <strong>di body</strong> saat pertama kali kirim token ke panel, setelah muncul konfirmasi kirimkan lagi ke endpoint yang sama dengan tambahan body <strong>confirm: true</strong> untuk menyetujui, atau <strong>confirm:false</strong> untuk membatalkan</p>\n<p>qrcode akan expired sesuai waktu yang tertera</p>\n","urlObject":{"path":["api","companies","login","qrcode","{{qrcode}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"fd6f3f93-9cb5-4759-862d-d800a0e9eeba","name":"Respon Saat Belum Konfirmasi","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Bearer-token}}","type":"text"},{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"company_id","value":"10d9facf-0bba-4d6f-9290-81a9316526c2","type":"text"},{"key":"confirm","value":"true","type":"text","disabled":true}]},"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:13:02 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"290"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Confirmation\",\n    \"message\": \"You will be logged in as Ade Iskandar (ade@nusa.net.id)\",\n    \"data\": {\n        \"first_name\": \"Ade\",\n        \"last_name\": \"Iskandar\",\n        \"email\": \"ade@nusa.net.id\",\n        \"photo\": \"http://hris.local.test/emp/api/photo_profile/c4ca4238a0b923820dcc509a6f75849b.jpg\"\n    },\n    \"confirm\": \"true|false\"\n}"},{"id":"b6e29a3c-a46b-4204-808a-73ea3a0b2c89","name":"respon saat berhasil konfirmasi kirim token","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Bearer-token}}","type":"text"},{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"company_id","value":"10d9facf-0bba-4d6f-9290-81a9316526c2","type":"text"},{"key":"confirm","value":"true","type":"text"}]},"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:15:02 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"55"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Success\",\n    \"message\": \"Send token successfully\"\n}"}],"_postman_id":"1e1e305a-f015-4a16-a4c4-7223027f5db6"},{"name":"Panel QRCode Login Check Token success","event":[{"listen":"prerequest","script":{"id":"85afdcf3-54c8-44e3-99b5-4a25e9a69e51","exec":["",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"c1a47649-510d-4b5d-a5ac-db978e31f396","exec":["pm.test(\"ambil response token\", function () {","    var jsonData = pm.response.json();","    var a = typeof jsonData.data;","   ","    if(typeof jsonData.data !== 'undefined') {","        console.log(jsonData.data);","        var token = jsonData.data.token;","        if(token !== null) {","            pm.environment.set(\"Bearer-token\", token);","        }","    }","    console.log(jsonData);","});"],"type":"text/javascript"}}],"id":"ecc33d6c-fdc1-48aa-83e3-c265c7ce05b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}","description":"<p>Endpoint ini memiliki 2 fungsi, yaitu :</p>\n<ol>\n<li>untuk melihat qrcode</li>\n<li>mengecheck status scan qrcode</li>\n</ol>\n<p><strong>Untuk melihat qrcode</strong>, panggil endpont ini tanpa header <code>X-Requested-With: XMLHttpRequest</code></p>\n<p><strong>Untuk menge-check status scan qrcode</strong> panggil endpoint ini dengan header <code>X-Requested-With: XMLHttpRequest</code></p>\n<p>endpoint dapat dipanggil berkala seperti per detik, atau per 2 detik. sampai status berhasil atau expired.</p>\n<p>jika berhasil maka endpoint akan mengembalikan sebuah access_token, yang sebenarnya bisa langsung dipakai untuk aktifitas website. hanya saja token ini akan expired sesuai waktu yang tertera di token itu, dan tidak ada refresh tokennya, karena itu untuk bisa login seperti login username password maka perlu memanggil endpoint <code>{{host}}/auth/api/oauth/token</code> via <strong>grant social</strong>, yang bisa di lihat di dokumentasi ini <a href=\"https://documenter.getpostman.com/view/1988161/Szf82oMW#5d66ad7c-40ec-4917-b547-5b95c5f5fdf0\">https://documenter.getpostman.com/view/1988161/Szf82oMW#5d66ad7c-40ec-4917-b547-5b95c5f5fdf0</a></p>\n","urlObject":{"path":["api","companies","login","qrcode","{{qrcode}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"2713ca6d-2dd1-4ffd-8e3a-7bb96995a62b","name":"Respon Saat Menunggu","originalRequest":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:12:44 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"106"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Waiting\",\n    \"message\": \"Waiting for the token from the server\",\n    \"data\": {\n        \"profile\": null,\n        \"token\": null\n    }\n}"},{"id":"48824a08-0150-4b42-89e5-8ab6d88bacd0","name":"Respon saat sudah discan tapi belum konfirmasi","originalRequest":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"/api/companies/login/qrcode/{{qrcode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Jan 2023 02:13:50 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"424"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Confirmation\",\n    \"message\": \"You will be logged in as Ade Iskandar (ade@nusa.net.id)\",\n    \"data\": {\n        \"profile\": {\n            \"first_name\": \"Ade\",\n            \"last_name\": \"Iskandar\",\n            \"email\": \"ade@nusa.net.id\",\n            \"photo\": \"http://hris.local.test/emp/api/photo_profile/c4ca4238a0b923820dcc509a6f75849b.jpg\",\n            \"company\": {\n                \"name\": \"PT. Media Antar Nusa\",\n                \"address\": \"Jl. Multatuli Indah Blok D No.1 Medan\"\n            }\n        },\n        \"token\": null,\n        \"domain_api\": \"http://hris.local.test\"\n    }\n}"}],"_postman_id":"ecc33d6c-fdc1-48aa-83e3-c265c7ce05b2"}],"id":"4b46d5f8-cfbc-4bd5-af65-31aa5d14c03c","_postman_id":"4b46d5f8-cfbc-4bd5-af65-31aa5d14c03c","description":""},{"name":"statistic","item":[{"name":"get statistic by last day|month|year","id":"3a607548-1f82-433e-875a-c93ddd46594c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/company/statistic/users/last/{{number_of}}/{{day|month|year}}","description":"<p>contoh pemanggilan url:</p>\n<p>{host-panel}/company/statistic/users/last/14/day</p>\n<p>{host-panel}/company/statistic/users/last/1/month</p>\n<p>{host-panel}/company/statistic/users/last/1/year</p>\n<p>Setelah dapat respon, maka pilih company yang akan di ambil statisticnya, dengan menghit kembali url yang berada di property <strong>statistic</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": \"0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"horizon_signed_url\": \"#\"\n    },\n]\n\n</code></pre>\n","urlObject":{"path":["company","statistic","users","last","{{number_of}}","{{day|month|year}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"3afb0188-89fc-462a-a65f-0dadb479ce62","name":"success","originalRequest":{"method":"GET","header":[],"url":"/company/statistic/users/last/1/month"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 02:48:48 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjcvWVBQa0VQejlqMW1wQ2hnYW1uZEE9PSIsInZhbHVlIjoianVabU8zZmI5ZXlnLzhLVkJYWHNJRWlJekNONkphWUREemYza1dyVm80L3BOTVE3blpTbVBNUnJRVE9KZHJVMGlLUHR2aktSdlpEYXVyL3FQUGtML215QWptQ3prRXFmNER5ZUFBUzRjOCtJb3lrbllYeEcrRWJzRHp4L2dXZDEiLCJtYWMiOiIyN2IyMzBmZGYwY2U1N2I5NmU3YmFlMmYyMTQwOWRiMGQ1OWRkNmJmZTQ2YTQyYmM3NzMzZjI2NWFmMWZlM2Y1IiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 04:48:48 GMT; Max-Age=7200; path=/; samesite=lax"},{"key":"Set-Cookie","value":"nusaworkcom_session=eyJpdiI6IlVNcm9HdmxDVXhjcWdLdmRZd2NyRGc9PSIsInZhbHVlIjoicVFBVXlaK0JHTUtZczk3OW50OFRrT3hMcWtTWlNncTdsWSt1RWlncWdPUUpIc0hZc3NJQUFBQWt1aWc2UmZyakpvb2xkZlRvWnBzL0xPenhSNmlwejZWaFNzdjcvL3FsKytwYzVWZXN0TG5kTDZ3cGtHa28rL0E5SWVLZGlxYmQiLCJtYWMiOiIzYzMzYWVmYjAxYmQ5NzcyODIwMWMzMWE5YWZkMjI3MGE2YmZkYTY1MWU0ZTA2MDNmZDM4NzVhOGU4NTkzZDVjIiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 04:48:48 GMT; Max-Age=7200; path=/; httponly; samesite=lax"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"10d9facf-0bba-4d6f-9290-81a9316526c2\",\n        \"name\": \"PT. Media Antar Nusa Local\",\n        \"domain_api\": \"https://hris.local.test\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=10d9facf-0bba-4d6f-9290-81a9316526c2\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"203f6576-e38f-4671-9b11-3dc98a9f6656\",\n        \"name\": \"Tenant 11\",\n        \"domain_api\": \"https://tenant11.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=203f6576-e38f-4671-9b11-3dc98a9f6656\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"28268660-8645-42da-bf9b-182038de2d76\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=28268660-8645-42da-bf9b-182038de2d76\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"2a98cf56-b559-467d-bfd2-e8ab1c598e0b\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=2a98cf56-b559-467d-bfd2-e8ab1c598e0b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3026fa20-4a29-4c8d-81ed-5588d0964bce\",\n        \"name\": \"Demo Nusawork\",\n        \"domain_api\": \"https://api.demo.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=3026fa20-4a29-4c8d-81ed-5588d0964bce\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"30f44aa7-dfdb-4406-8b7e-4339e8a42f8b\",\n        \"name\": \"bintang2\",\n        \"domain_api\": \"https://bintang2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=30f44aa7-dfdb-4406-8b7e-4339e8a42f8b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3303295c-2144-49fa-be54-bbd04345b17c\",\n        \"name\": \"PT.Traveling\",\n        \"domain_api\": \"https://trave.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=3303295c-2144-49fa-be54-bbd04345b17c\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"39127258-7fcf-4da4-aa0e-8e18e6032372\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=39127258-7fcf-4da4-aa0e-8e18e6032372\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"396c3f35-7bc3-4c40-8285-b0a89d190e7d\",\n        \"name\": \"Tenant 8\",\n        \"domain_api\": \"https://tenant8.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=396c3f35-7bc3-4c40-8285-b0a89d190e7d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3c338106-27e0-490f-b623-c3f4bf3629fb\",\n        \"name\": \"Kristofer Wehner\",\n        \"domain_api\": \"https://situtenimdolorescupiditateeiusabmodi.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=3c338106-27e0-490f-b623-c3f4bf3629fb\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3c6b50cc-6262-404a-b997-04f74304facc\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://06f6df3b-b60b-4c30-81b6-350fd078903e.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=3c6b50cc-6262-404a-b997-04f74304facc\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"48959ca7-3548-4201-9e81-ab4dcb845766\",\n        \"name\": \"awan2\",\n        \"domain_api\": \"https://awan2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=48959ca7-3548-4201-9e81-ab4dcb845766\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"4e69eaed-11a2-4363-a1c4-e80bbf7b912d\",\n        \"name\": \"Tenant 5\",\n        \"domain_api\": \"https://tenant 5.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=4e69eaed-11a2-4363-a1c4-e80bbf7b912d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"5db4370a-5235-4a5d-91c5-78b5efdf87d4\",\n        \"name\": \"Tenant 7\",\n        \"domain_api\": \"https://tenant7.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=5db4370a-5235-4a5d-91c5-78b5efdf87d4\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"name\": \"pos123\",\n        \"domain_api\": \"https://pos123.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"64fb56bf-6284-48e6-b86f-48f4f62ff73c\",\n        \"name\": \"Tenant 9\",\n        \"domain_api\": \"https://tenant9.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=64fb56bf-6284-48e6-b86f-48f4f62ff73c\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"6fa357ea-f6fa-4ecb-927c-c2889e31fb4e\",\n        \"name\": \"Maju Jaya3\",\n        \"domain_api\": \"https://dfe1316d-6f76-4e64-88d9-fc5e721000fe.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=6fa357ea-f6fa-4ecb-927c-c2889e31fb4e\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"71f51113-5886-4474-8a87-b3b4f071dac7\",\n        \"name\": \"PT. Sinar Matahari\",\n        \"domain_api\": \"https://matahari.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=71f51113-5886-4474-8a87-b3b4f071dac7\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"77373ac4-026b-44d4-997f-fb3406843767\",\n        \"name\": \"Tenant 3\",\n        \"domain_api\": \"https://tenant3.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=77373ac4-026b-44d4-997f-fb3406843767\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"79a23f98-4124-4ee3-89ee-668e87daa9d6\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://bfabae1a-3f56-426b-99c3-fef50c4adcfd.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=79a23f98-4124-4ee3-89ee-668e87daa9d6\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"79b0ec80-eefb-4404-84d1-a48cccebc905\",\n        \"name\": \"PT. maju maju\",\n        \"domain_api\": \"https://majumaju.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=79b0ec80-eefb-4404-84d1-a48cccebc905\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"7e4ffcc9-585a-4396-9422-560ce787feeb\",\n        \"name\": \"Bebek2\",\n        \"domain_api\": \"https://Bebek2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=7e4ffcc9-585a-4396-9422-560ce787feeb\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"85a23877-ae98-457d-a827-ff44c417a8b0\",\n        \"name\": \"Cahaya Cinta\",\n        \"domain_api\": \"https://https://c87cd38b-b983-4839-b868-c1b4c12cd297.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=85a23877-ae98-457d-a827-ff44c417a8b0\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"97abc8ac-a455-45d3-84ff-32776851588d\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=97abc8ac-a455-45d3-84ff-32776851588d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"9e25ecc5-4066-4642-9e1b-0c2b82cdef82\",\n        \"name\": \"Tenant 13\",\n        \"domain_api\": \"https://tenant13.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=9e25ecc5-4066-4642-9e1b-0c2b82cdef82\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a4d0eb02-216a-4d3d-9b0a-10c7058d3816\",\n        \"name\": \"Angkasa Raya\",\n        \"domain_api\": \"https://api.angkasa.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=a4d0eb02-216a-4d3d-9b0a-10c7058d3816\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a524566e-540f-42e1-b61a-146513acea96\",\n        \"name\": \"Tenant 15\",\n        \"domain_api\": \"https://tenant15.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=a524566e-540f-42e1-b61a-146513acea96\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a88e8c75-8bc7-4a02-ae0d-8d295f699a56\",\n        \"name\": \"Cahaya Baru\",\n        \"domain_api\": \"https://https://c718fe18-cd9e-42f4-92dd-7d99e6528a4a.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=a88e8c75-8bc7-4a02-ae0d-8d295f699a56\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a986ea44-d57e-4252-a0dd-2162f3d4eb96\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=a986ea44-d57e-4252-a0dd-2162f3d4eb96\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a9a95377-b980-4e49-ac18-4e81a8947244\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://6ed2b997-670a-4366-bcf8-a70f1897de0b.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=a9a95377-b980-4e49-ac18-4e81a8947244\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"b0f02f8e-adae-4b39-8909-a8f9b0c901b7\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=b0f02f8e-adae-4b39-8909-a8f9b0c901b7\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c064d109-4d05-471a-9e10-c18feae43a97\",\n        \"name\": \"sabri sejahtera\",\n        \"domain_api\": \"https://sabri.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c064d109-4d05-471a-9e10-c18feae43a97\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c1875971-68cd-467f-865f-f4802357611a\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c1875971-68cd-467f-865f-f4802357611a\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c4ea8617-9831-4805-af6b-592756477204\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://https://2bac0f6c-2e03-47c2-bdd1-a501181faf31.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c4ea8617-9831-4805-af6b-592756477204\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c4f6a276-e8b1-4d0d-a59f-ef6805d44147\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://https://da47e8ce-641a-4fd1-a6e9-040724909108.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c4f6a276-e8b1-4d0d-a59f-ef6805d44147\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c6374293-d05d-4492-b9d3-d6e10ac6de99\",\n        \"name\": \"okelah\",\n        \"domain_api\": \"https://asdasd.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c6374293-d05d-4492-b9d3-d6e10ac6de99\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c902f0fb-5d2c-4a75-a00f-a461cf925254\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://b2bca730-31db-4af3-8ba8-636660b41344.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=c902f0fb-5d2c-4a75-a00f-a461cf925254\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"cf5f0fac-fba1-4612-9a90-d5eeae929ed3\",\n        \"name\": \"Lubowitz and Sons\",\n        \"domain_api\": \"https://k3q8j.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=cf5f0fac-fba1-4612-9a90-d5eeae929ed3\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"f395236e-0af1-4fcc-9dab-5833e8fb3b20\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/last/1/month?company_id=f395236e-0af1-4fcc-9dab-5833e8fb3b20\",\n        \"horizon_signed_url\": \"#\"\n    }\n]"}],"_postman_id":"3a607548-1f82-433e-875a-c93ddd46594c"},{"name":"get statistic by date (start, end)","id":"eae95603-d107-4cc5-83e4-9065701d1823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/company/statistic/users/date/{{start_date}}/{{end_date}}","description":"<p>Setelah dapat respon, maka pilih company yang akan di ambil statisticnya, dengan menghit kembali url yang berada di property <strong>statistic</strong></p>\n","urlObject":{"path":["company","statistic","users","date","{{start_date}}","{{end_date}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"cf11ae05-ef9d-41d5-90c2-85e8b92d1de6","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/company/statistic/users/date/{{start_date}}/{{end_date}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 03:04:58 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkY0TnRzQWt5bjF5K2dYYnZ6NlZwTnc9PSIsInZhbHVlIjoiK21FL2pSV0tEUWlDY29vUnpkL0FuTDNBTFNUUnFYWG9oWG1acVcyTDVOaGZjNXlqa0hmODVjVnJ6TFNuWWRUTU1XTmJtemxlVE12cTNCTFlFWFJabXI1aVlnUWtzWk9QNUZtSW5MR0tYdkx3UTZILzVBMDZTUjZLRVZ5Q1hpTzEiLCJtYWMiOiI1Y2I4ZDNkOGZkZTQ0ZGNmMjY4MzQ3NGM0MzE3ZWQyMmI5ZjNkNmM2Mzc1N2JkMzI3MWVjNzI4OTFmMDFjMzIyIiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 05:04:58 GMT; Max-Age=7200; path=/; samesite=lax"},{"key":"Set-Cookie","value":"nusaworkcom_session=eyJpdiI6InR4NHVweFViRnZLakZGOEhnZEdoTlE9PSIsInZhbHVlIjoiSy9ZZzB2R1pNNWJEZ2lJbFczYUdmSis4VjFwY0labUxJNys0L0txQ3piN3o4SVlOVmxwQ2RLUWdqK2ttYUlIdUVtenhqNi9WNGI2bVJVaHZVTWI1WGNncVorSHByRnUxYU9qS2lkMmQ1U1dJUEJUTG1jK1U2SVBJVTA0UFlDTnAiLCJtYWMiOiI3NmYzYjVmZThjM2U1OTgxMGE3MTA1MjhmYmFjZDFmNTY4ZmI3MWVhNTAwZGExNjZjZjkyYmE4OTAzYTJkNWI4IiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 05:04:58 GMT; Max-Age=7200; path=/; httponly; samesite=lax"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=0620a93d-1ede-4033-870d-e80420ea493a\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"10d9facf-0bba-4d6f-9290-81a9316526c2\",\n        \"name\": \"PT. Media Antar Nusa Local\",\n        \"domain_api\": \"https://hris.local.test\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=10d9facf-0bba-4d6f-9290-81a9316526c2\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"203f6576-e38f-4671-9b11-3dc98a9f6656\",\n        \"name\": \"Tenant 11\",\n        \"domain_api\": \"https://tenant11.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=203f6576-e38f-4671-9b11-3dc98a9f6656\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"28268660-8645-42da-bf9b-182038de2d76\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=28268660-8645-42da-bf9b-182038de2d76\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"2a98cf56-b559-467d-bfd2-e8ab1c598e0b\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=2a98cf56-b559-467d-bfd2-e8ab1c598e0b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3026fa20-4a29-4c8d-81ed-5588d0964bce\",\n        \"name\": \"Demo Nusawork\",\n        \"domain_api\": \"https://api.demo.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=3026fa20-4a29-4c8d-81ed-5588d0964bce\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"30f44aa7-dfdb-4406-8b7e-4339e8a42f8b\",\n        \"name\": \"bintang2\",\n        \"domain_api\": \"https://bintang2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=30f44aa7-dfdb-4406-8b7e-4339e8a42f8b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3303295c-2144-49fa-be54-bbd04345b17c\",\n        \"name\": \"PT.Traveling\",\n        \"domain_api\": \"https://trave.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=3303295c-2144-49fa-be54-bbd04345b17c\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"39127258-7fcf-4da4-aa0e-8e18e6032372\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=39127258-7fcf-4da4-aa0e-8e18e6032372\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"396c3f35-7bc3-4c40-8285-b0a89d190e7d\",\n        \"name\": \"Tenant 8\",\n        \"domain_api\": \"https://tenant8.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=396c3f35-7bc3-4c40-8285-b0a89d190e7d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3c338106-27e0-490f-b623-c3f4bf3629fb\",\n        \"name\": \"Kristofer Wehner\",\n        \"domain_api\": \"https://situtenimdolorescupiditateeiusabmodi.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=3c338106-27e0-490f-b623-c3f4bf3629fb\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"3c6b50cc-6262-404a-b997-04f74304facc\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://06f6df3b-b60b-4c30-81b6-350fd078903e.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=3c6b50cc-6262-404a-b997-04f74304facc\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"48959ca7-3548-4201-9e81-ab4dcb845766\",\n        \"name\": \"awan2\",\n        \"domain_api\": \"https://awan2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=48959ca7-3548-4201-9e81-ab4dcb845766\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"4e69eaed-11a2-4363-a1c4-e80bbf7b912d\",\n        \"name\": \"Tenant 5\",\n        \"domain_api\": \"https://tenant 5.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=4e69eaed-11a2-4363-a1c4-e80bbf7b912d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"5db4370a-5235-4a5d-91c5-78b5efdf87d4\",\n        \"name\": \"Tenant 7\",\n        \"domain_api\": \"https://tenant7.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=5db4370a-5235-4a5d-91c5-78b5efdf87d4\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"name\": \"pos123\",\n        \"domain_api\": \"https://pos123.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=626608b1-2ac3-40f6-99e5-595206ecc95b\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"64fb56bf-6284-48e6-b86f-48f4f62ff73c\",\n        \"name\": \"Tenant 9\",\n        \"domain_api\": \"https://tenant9.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=64fb56bf-6284-48e6-b86f-48f4f62ff73c\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"6fa357ea-f6fa-4ecb-927c-c2889e31fb4e\",\n        \"name\": \"Maju Jaya3\",\n        \"domain_api\": \"https://dfe1316d-6f76-4e64-88d9-fc5e721000fe.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=6fa357ea-f6fa-4ecb-927c-c2889e31fb4e\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"71f51113-5886-4474-8a87-b3b4f071dac7\",\n        \"name\": \"PT. Sinar Matahari\",\n        \"domain_api\": \"https://matahari.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=71f51113-5886-4474-8a87-b3b4f071dac7\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"77373ac4-026b-44d4-997f-fb3406843767\",\n        \"name\": \"Tenant 3\",\n        \"domain_api\": \"https://tenant3.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=77373ac4-026b-44d4-997f-fb3406843767\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"79a23f98-4124-4ee3-89ee-668e87daa9d6\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://bfabae1a-3f56-426b-99c3-fef50c4adcfd.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=79a23f98-4124-4ee3-89ee-668e87daa9d6\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"79b0ec80-eefb-4404-84d1-a48cccebc905\",\n        \"name\": \"PT. maju maju\",\n        \"domain_api\": \"https://majumaju.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=79b0ec80-eefb-4404-84d1-a48cccebc905\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"7e4ffcc9-585a-4396-9422-560ce787feeb\",\n        \"name\": \"Bebek2\",\n        \"domain_api\": \"https://Bebek2.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=7e4ffcc9-585a-4396-9422-560ce787feeb\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"85a23877-ae98-457d-a827-ff44c417a8b0\",\n        \"name\": \"Cahaya Cinta\",\n        \"domain_api\": \"https://https://c87cd38b-b983-4839-b868-c1b4c12cd297.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=85a23877-ae98-457d-a827-ff44c417a8b0\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"97abc8ac-a455-45d3-84ff-32776851588d\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=97abc8ac-a455-45d3-84ff-32776851588d\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"9e25ecc5-4066-4642-9e1b-0c2b82cdef82\",\n        \"name\": \"Tenant 13\",\n        \"domain_api\": \"https://tenant13.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=9e25ecc5-4066-4642-9e1b-0c2b82cdef82\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a4d0eb02-216a-4d3d-9b0a-10c7058d3816\",\n        \"name\": \"Angkasa Raya\",\n        \"domain_api\": \"https://api.angkasa.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=a4d0eb02-216a-4d3d-9b0a-10c7058d3816\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a524566e-540f-42e1-b61a-146513acea96\",\n        \"name\": \"Tenant 15\",\n        \"domain_api\": \"https://tenant15.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=a524566e-540f-42e1-b61a-146513acea96\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a88e8c75-8bc7-4a02-ae0d-8d295f699a56\",\n        \"name\": \"Cahaya Baru\",\n        \"domain_api\": \"https://https://c718fe18-cd9e-42f4-92dd-7d99e6528a4a.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=a88e8c75-8bc7-4a02-ae0d-8d295f699a56\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a986ea44-d57e-4252-a0dd-2162f3d4eb96\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=a986ea44-d57e-4252-a0dd-2162f3d4eb96\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"a9a95377-b980-4e49-ac18-4e81a8947244\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://6ed2b997-670a-4366-bcf8-a70f1897de0b.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=a9a95377-b980-4e49-ac18-4e81a8947244\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"b0f02f8e-adae-4b39-8909-a8f9b0c901b7\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=b0f02f8e-adae-4b39-8909-a8f9b0c901b7\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c064d109-4d05-471a-9e10-c18feae43a97\",\n        \"name\": \"sabri sejahtera\",\n        \"domain_api\": \"https://sabri.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c064d109-4d05-471a-9e10-c18feae43a97\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c1875971-68cd-467f-865f-f4802357611a\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c1875971-68cd-467f-865f-f4802357611a\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c4ea8617-9831-4805-af6b-592756477204\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://https://2bac0f6c-2e03-47c2-bdd1-a501181faf31.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c4ea8617-9831-4805-af6b-592756477204\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c4f6a276-e8b1-4d0d-a59f-ef6805d44147\",\n        \"name\": \"Maju Jaya2\",\n        \"domain_api\": \"https://https://da47e8ce-641a-4fd1-a6e9-040724909108.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c4f6a276-e8b1-4d0d-a59f-ef6805d44147\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c6374293-d05d-4492-b9d3-d6e10ac6de99\",\n        \"name\": \"okelah\",\n        \"domain_api\": \"https://asdasd.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c6374293-d05d-4492-b9d3-d6e10ac6de99\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"c902f0fb-5d2c-4a75-a00f-a461cf925254\",\n        \"name\": \"Maju Jaya\",\n        \"domain_api\": \"https://https://b2bca730-31db-4af3-8ba8-636660b41344.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=c902f0fb-5d2c-4a75-a00f-a461cf925254\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"cf5f0fac-fba1-4612-9a90-d5eeae929ed3\",\n        \"name\": \"Lubowitz and Sons\",\n        \"domain_api\": \"https://k3q8j.app.dev.nusa.work\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=cf5f0fac-fba1-4612-9a90-d5eeae929ed3\",\n        \"horizon_signed_url\": \"#\"\n    },\n    {\n        \"id\": \"f395236e-0af1-4fcc-9dab-5833e8fb3b20\",\n        \"name\": \"Tenant 2\",\n        \"domain_api\": \"https://tenant2.app.nusawork.com\",\n        \"statistic\": \"http://panel.nusawork.test/company/statistic/users/date/2023-01-01/2023-01-02?company_id=f395236e-0af1-4fcc-9dab-5833e8fb3b20\",\n        \"horizon_signed_url\": \"#\"\n    }\n]"}],"_postman_id":"eae95603-d107-4cc5-83e4-9065701d1823"},{"name":"simple statistic all company per month","id":"b1de77c1-6298-46e8-8cba-93bf5a848012","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/company/statistic/{{year}}/{{month}}","urlObject":{"path":["company","statistic","{{year}}","{{month}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"98967585-b7f9-4216-84a6-8c2d34ef9530","name":"success","originalRequest":{"method":"GET","header":[],"url":"/company/statistic/{{year}}/{{month}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 03:24:56 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InFBSXc3T0dWM2J5aFpDVGVRWmpXMEE9PSIsInZhbHVlIjoiRUFwZWk5czUzTEV0WTRYZUVzQmd1eUJ4MzN2bjM3MU15MXJHbXcwclFmTmFqWUdqNElFY2lIOGMvT2xpMGxHOGMwN0s0aHYwK3pqWG1WWXJFelZlZGM3MjdEODdEb1orQjBCUlRIdEZSTnY3QnE3UHVQYWtycFhYMm0zK29VTDIiLCJtYWMiOiIzZmU4MjBiMWNlYjAyZmMwNGIzYjVlYjQ0MDQ5MzBmZDkxM2I2YzU4ZWNlZWU0ZjJlNDNhZDUwOWNiZjc4ODljIiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 05:24:56 GMT; Max-Age=7200; path=/; samesite=lax"},{"key":"Set-Cookie","value":"nusaworkcom_session=eyJpdiI6ImhCdXlZdTc1RDlEY0R4Y2YzYXFPQnc9PSIsInZhbHVlIjoiYkoxaXZ4V1dzTHVWQWI2anpuRldxSndNdmU4bTJsZForYkFtMWtZNk9zTHJVNXRrcjcwTHJtckxnT1lEN1d2cWt3bnkwSlg2QUNodkNBNzFvaU1ON20zT1R5UFU2TW5wblJHeUVCaGtpR3BkY2E2RmpIL29OT2VnNk9LNWlsTDUiLCJtYWMiOiIyN2U0M2NhNWE3NGJlODcyNDdkZmQ0NDFmZGVlM2IxOGM0YTA5MmI5YmMxZGE4OTM5ZGYyNWE0ODE5NzVlNGFkIiwidGFnIjoiIn0%3D; expires=Fri, 28-Apr-2023 05:24:56 GMT; Max-Age=7200; path=/; httponly; samesite=lax"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"company\": \"PT. Media Antar Nusa Local\",\n            \"periode\": \"2023-04\",\n            \"user_active\": 0,\n            \"employee_active\": 1,\n            \"employee_resign\": 0,\n            \"employee_join_new\": 0,\n            \"employee_total\": 1,\n            \"updated_at\": \"2023-04-10 11:53:53\"\n        }\n    ]\n}"}],"_postman_id":"b1de77c1-6298-46e8-8cba-93bf5a848012"}],"id":"0afc8459-c93a-4f31-9d0a-9f8a6d185cc5","_postman_id":"0afc8459-c93a-4f31-9d0a-9f8a6d185cc5","description":""},{"name":"Switch","item":[{"name":"Check Switch code","event":[{"listen":"prerequest","script":{"id":"54513c8e-e0ff-4d59-ba92-3cc864978777","exec":["var switch_code = \"YWRlQG51c2EubmV0LmlkX1JSWFB6bEFMYlY1eEs3dUdpY2VpNjV2ejFRY0FWTEtYY1IwblV6a254QU5ZMU12WXJxTDdyWEpkRmlxT3VlYkRzNjdqU01TVmtlN2pTUG5VZVhyZFpFNE5HV3pHeEUzdnlRVmM%3D\"","pm.environment.set(\"switch_code\", switch_code);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"81b4010e-af48-4596-a1cb-084de50cab03","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    pm.environment.set(\"tenant_url_get_token\", jsonData.url);","});"],"type":"text/javascript"}}],"id":"c68256fc-bf98-41e2-bf8d-ede0f0b9daa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/switch/{{switch_code}}","description":"<p>setelah berhasil akan mendapat respon berupa url ke server company, dan frontend melakukan hit, untuk mendapatkan token sementara, token ini dapat digunakan di login biasa dengan type grant_social, provider: nusawork</p>\n","urlObject":{"path":["api","switch","{{switch_code}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"f5a9f511-8d33-4971-b8d9-8c9722e76aab","name":"success","originalRequest":{"method":"GET","header":[],"url":"/api/switch/{{switch_code}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 10 Jun 2023 15:47:33 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Switch Found\",\n    \"message\": \"Please following the url\",\n    \"url\": \"https://hris.local.test/auth/api/oauth/switch/YWRlQG51c2EubmV0LmlkX0x3aHFvUFhvMmJBeWt2aGZoT3p3WjcxTUxpMXprY3VQWFdDaUhwdVo2NFVyQkNHWGhvdjR6TEFZSUcyMTJ4U0toekFFaERuNjlxclBVVjRIZjZ6dXBsNzNIUHZOdGxVWVBja2E=\"\n}"}],"_postman_id":"c68256fc-bf98-41e2-bf8d-ede0f0b9daa7"},{"name":"Get Token user in tenant","event":[{"listen":"test","script":{"id":"c5dca58c-de8a-4b0a-94c7-fb0bb3ec0826","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    console.log('lewat');","    var jsonData = pm.response.json();","    pm.environment.set(\"access_token\", jsonData.tmp_token);","});"],"type":"text/javascript"}}],"id":"9ab132c2-1182-4a82-b598-dc00113f4b6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{tenant_url_get_token}}","description":"<p>url ini adalah url dari respon yang diberikan jika check switch code berhasil</p>\n","urlObject":{"host":["{{tenant_url_get_token}}"],"query":[],"variable":[]}},"response":[{"id":"3505ab09-ee14-451f-9fa4-9c00528a22b5","name":"success","originalRequest":{"method":"GET","header":[],"url":"/api/switch/{{switch_code}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 10 Jun 2023 15:47:33 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Switch Found\",\n    \"message\": \"Please following the url\",\n    \"url\": \"https://hris.local.test/auth/api/oauth/switch/YWRlQG51c2EubmV0LmlkX0x3aHFvUFhvMmJBeWt2aGZoT3p3WjcxTUxpMXprY3VQWFdDaUhwdVo2NFVyQkNHWGhvdjR6TEFZSUcyMTJ4U0toekFFaERuNjlxclBVVjRIZjZ6dXBsNzNIUHZOdGxVWVBja2E=\"\n}"}],"_postman_id":"9ab132c2-1182-4a82-b598-dc00113f4b6a"}],"id":"09b99ff2-8e59-4d5b-ba84-da0bb875befc","description":"<p>switch memungkinkan login atas nama user dari panel, dengan flow</p>\n<p>kode akan di generate dari panel dan akan di redirect ke halaman web</p>\n<p>app.nusawork.com/home?switch={{randomCode}}</p>\n<p>kemudian web melakukan hit ke panel kembali yaitu ke endpont di bawah ini</p>\n","_postman_id":"09b99ff2-8e59-4d5b-ba84-da0bb875befc"},{"name":"Settings","item":[{"name":"force_update","id":"013fa4ce-1b07-4437-a5ee-5b3b05b13dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/settings/force_update","urlObject":{"path":["api","settings","force_update"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"fb1adf76-1e98-4141-9294-9332e7f381eb","name":"true","originalRequest":{"method":"GET","header":[],"url":"/api/settings/force_update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Dec 2023 08:36:21 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"settings\": {\n        \"force_update\": true\n    }\n}"},{"id":"81be8cb2-fb83-4707-9f31-e52daf868528","name":"not set","originalRequest":{"method":"GET","header":[],"url":"/api/settings/force_update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Dec 2023 08:36:21 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"settings\": {\n        \"force_update\": null\n    }\n}"},{"id":"8534c570-81be-44b6-bbb0-f64aa461a488","name":"false","originalRequest":{"method":"GET","header":[],"url":"/api/settings/force_update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Dec 2023 08:36:21 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"settings\": {\n        \"force_update\": false\n    }\n}"}],"_postman_id":"013fa4ce-1b07-4437-a5ee-5b3b05b13dc0"}],"id":"d3e8c979-833a-4528-b99f-dd457ded5c5a","description":"<p>Semua pengaturan setting dinamis di panel</p>\n","_postman_id":"d3e8c979-833a-4528-b99f-dd457ded5c5a"},{"name":"nusanet","item":[{"name":"change-status","id":"309ae66d-d5c5-47a1-86ab-e543b75001ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"domain_api","value":"barubikin.app.dev.nusa.work","description":"<p>wajib : domain_api_clean tanpa https:// http</p>\n","type":"text","uuid":"d1f0e5c5-f46e-4a7f-bee9-1447ba83de6b"},{"key":"status","value":"BL","description":"<p>wajib : tersedia, AC, BL, NA  (AC: active, BL: block, NA: non-active)</p>\n","type":"text","uuid":"06a0ab8c-30a4-4fd8-87b9-3b8fdfac5aae"},{"key":"expired_at","value":"2025-08-19","description":"<p>wajib, jika status AC</p>\n","type":"text","uuid":"258540c6-da7f-45d3-b813-f9452d01325a"},{"key":"blocked_reason","value":"belum bayar","description":"<p>tidak wajib</p>\n","type":"text","uuid":"10ea3213-d26a-4835-8143-c784647d84b1"},{"key":"nusanet_account_name","value":"coba_sajalah","description":"<p>tidak wajib, dibuat hanya ingin sekalian melakukan pemetaan</p>\n","type":"text","uuid":"d457dd77-977f-4720-8655-3a8cd087f435"}]},"url":"/api/nusanet/change-status","urlObject":{"path":["api","nusanet","change-status"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"85abf520-2dd4-413a-b977-e179bfb03f98","name":"sukses block","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"domain_api","value":"barubikin.app.dev.nusa.work","type":"text","uuid":"d1f0e5c5-f46e-4a7f-bee9-1447ba83de6b"},{"key":"status","value":"BL","type":"text","uuid":"06a0ab8c-30a4-4fd8-87b9-3b8fdfac5aae"},{"key":"expired_at","value":"2025-08-19","type":"text","uuid":"258540c6-da7f-45d3-b813-f9452d01325a"},{"key":"blocked_reason","value":"belum bayar","type":"text","uuid":"10ea3213-d26a-4835-8143-c784647d84b1"},{"key":"nusanet_account_name","value":"coba_sajalah","type":"text","uuid":"d457dd77-977f-4720-8655-3a8cd087f435"}]},"url":"/api/nusanet/change-status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:42:43 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"update data company PT. Nusawork successfully\",\n    \"data\": {\n        \"name\": \"PT. Nusawork\",\n        \"domain_api\": \"https://barubikin.app.dev.nusa.work\",\n        \"blocked_at\": \"2025-02-19 11:42:43\",\n        \"expired_on\": \"2025-08-19\",\n        \"blocked_reason\": \"belum bayar\"\n    }\n}"},{"id":"dd95ab34-7c10-44f7-ad7c-6292bf6be9a9","name":"invalid","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/nusanet/change-status"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:00:00 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"domain_api\": [\n            \"The domain api field is required.\"\n        ],\n        \"status\": [\n            \"The status field is required.\"\n        ]\n    }\n}"},{"id":"3e11f790-f1d7-452a-bf0a-cf1319ccd8be","name":"invalid domain_api","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"domain_api","value":"oke.sip.nusawork.com","type":"text","uuid":"d1f0e5c5-f46e-4a7f-bee9-1447ba83de6b"},{"key":"status","value":"bc","type":"text","uuid":"06a0ab8c-30a4-4fd8-87b9-3b8fdfac5aae"}]},"url":"/api/nusanet/change-status"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:00:52 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"domain_api\": [\n            \"The domain_api is not exists in nusawork.\"\n        ],\n        \"status\": [\n            \"The status must be one of the following: AC, BL, NA.\"\n        ]\n    }\n}"},{"id":"21c1b1d4-aa7f-44a6-90a1-e0cb9a519b92","name":"expired at required if status AC","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"domain_api","value":"barubikin.app.dev.nusa.work","type":"text","uuid":"d1f0e5c5-f46e-4a7f-bee9-1447ba83de6b"},{"key":"status","value":"AC","type":"text","uuid":"06a0ab8c-30a4-4fd8-87b9-3b8fdfac5aae"},{"key":"","value":"","type":"text","uuid":"258540c6-da7f-45d3-b813-f9452d01325a"}]},"url":"/api/nusanet/change-status"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:04:58 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"expired_at\": [\n            \"The expired at field is required when status is AC.\"\n        ]\n    }\n}"}],"_postman_id":"309ae66d-d5c5-47a1-86ab-e543b75001ed"},{"name":"nusawork-companies","id":"db21fe09-4127-44db-ba8f-16f3487605f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"fa859383-6a83-45aa-a3de-e1a937b1fcc6","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/nusanet/nusawork-companies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:55:43 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"PT. Nusawork\",\n        \"domain_api\": \"https://barubikin.app.dev.nusa.work\",\n        \"blocked_at\": \"2025-02-19 11:53:41\",\n        \"expired_on\": \"2025-08-19\",\n        \"blocked_reason\": \"belum bayar\",\n        \"nusanet_account_name\": \"coba_sajalah\"\n    },\n    {\n        \"name\": \"satu\",\n        \"domain_api\": \"https://satu.app.dev.nusa.work\",\n        \"blocked_at\": null,\n        \"expired_on\": \"2025-12-19\",\n        \"blocked_reason\": null,\n        \"nusanet_account_name\": \"pt_satu\"\n    },\n    {\n        \"name\": \"PT. Media Antar Nusa 1\",\n        \"domain_api\": \"https://nusanet.app.dev.nusa.work\",\n        \"blocked_at\": null,\n        \"expired_on\": \"9999-08-05\",\n        \"blocked_reason\": null,\n        \"nusanet_account_name\": null\n    },\n    {\n        \"name\": \"PT. Nusanet 2\",\n        \"domain_api\": \"https://nusanet22.app.dev.nusa.work\",\n        \"blocked_at\": null,\n        \"expired_on\": \"9999-12-30\",\n        \"blocked_reason\": null,\n        \"nusanet_account_name\": null\n    },\n    {\n        \"name\": \"PT. Demo Docker\",\n        \"domain_api\": \"https://demodoc.app.dev.nusa.work\",\n        \"blocked_at\": null,\n        \"expired_on\": \"2024-03-03\",\n        \"blocked_reason\": null,\n        \"nusanet_account_name\": null\n    },\n    {\n        \"name\": \"PT. Media Antar Nusa - Transformer\",\n        \"domain_api\": \"https://transformfer.app.dev.nusa.work\",\n        \"blocked_at\": null,\n        \"expired_on\": \"9999-12-30\",\n        \"blocked_reason\": null,\n        \"nusanet_account_name\": null\n    }\n]"},{"id":"ff63b460-780e-48c7-b5f9-af85b5d4fa1e","name":"invalid authenticated ip","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/api/nusanet/nusawork-companies"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.3.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Feb 2025 04:55:16 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized IP address.\"\n}"}],"_postman_id":"db21fe09-4127-44db-ba8f-16f3487605f0"}],"id":"2ab0ec18-c494-46b8-aea4-adc37f858575","_postman_id":"2ab0ec18-c494-46b8-aea4-adc37f858575","description":""},{"name":"help.nusawork.com","item":[{"name":"indexing","id":"c8e856e4-03db-4e10-b32f-334870733eb4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true}},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"https://help.nusawork.com","urlObject":{"protocol":"https","host":["help","nusawork","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8e856e4-03db-4e10-b32f-334870733eb4"},{"name":"indexing json","id":"ee1e241d-3754-4f5e-b779-e95f5e81051d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true}},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"https://help.nusawork.com?format=json","urlObject":{"protocol":"https","host":["help","nusawork","com"],"query":[{"key":"format","value":"json"}],"variable":[]}},"response":[],"_postman_id":"ee1e241d-3754-4f5e-b779-e95f5e81051d"},{"name":"indexing updated_at","id":"6e9a09c8-9b6d-4ce9-9860-e63afc0abb3b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true}},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"https://help.nusawork.com?format=json&updated_at=2025-12-01","urlObject":{"protocol":"https","host":["help","nusawork","com"],"query":[{"key":"format","value":"json"},{"key":"updated_at","value":"2025-12-01"}],"variable":[]}},"response":[],"_postman_id":"6e9a09c8-9b6d-4ce9-9860-e63afc0abb3b"},{"name":"indexing updated_after","id":"d6a61456-36d0-4085-892a-7557391cef31","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true}},"request":{"method":"GET","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","type":"text"}],"url":"https://help.nusawork.com?format=json&updated_after=2025-11-01","urlObject":{"protocol":"https","host":["help","nusawork","com"],"query":[{"key":"format","value":"json"},{"key":"updated_after","value":"2025-11-01"}],"variable":[]}},"response":[],"_postman_id":"d6a61456-36d0-4085-892a-7557391cef31"}],"id":"a7d1e6a6-f522-4c1e-b2f6-7f0bd4647eee","_postman_id":"a7d1e6a6-f522-4c1e-b2f6-7f0bd4647eee","description":""},{"name":"Get Client Token Panel /oauth/token","event":[{"listen":"test","script":{"id":"a390ce86-43f1-4465-89c8-77fce21c61f4","exec":["","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    var jsonData = pm.response.json();","    var client_token_panel = jsonData.access_token;","    pm.environment.set(\"client_token_panel\", client_token_panel);","});"," ","    "],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"0d578429-e8ba-4b5e-8e61-ebe9a77fade2","exec":["pm.environment.set(\"tenant_client_id\", \"968e06d7-b134-4a5e-ad73-6e5de7e0d3e7\");","pm.environment.set(\"tenant_client_secret\", \"0gpgeHcH4C9zIKlLJbHm0RcNcAem7RkT9JMFAIYn\");"],"type":"text/javascript"}}],"id":"ee80c723-de40-47f0-ad91-340816ba1c9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{tenant_client_id}}","type":"text"},{"key":"client_secret","value":"{{tenant_client_secret}}","type":"text"}]},"url":"/oauth/token","urlObject":{"path":["oauth","token"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"ee80c723-de40-47f0-ad91-340816ba1c9f"},{"name":"Check User Company","id":"1bf8e4c7-0802-41b1-9f06-232c3da89850","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/api/company/user/ade@nusa.net.id/email","urlObject":{"path":["api","company","user","ade@nusa.net.id","email"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"0b3302bf-a4fd-4f25-9e4b-07221f473635","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/ecmascript","type":"text","disabled":true}],"url":"http://panel.isv4.nusa.net.id/api/company/user/user@nusa.net.id/email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 25 Oct 2020 11:12:06 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"390"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6e23e38d-acc7-498f-908f-5ddff152619c\",\n    \"name\": \"PT. Media Antar Nusa\",\n    \"brand\": \"Nusanet\",\n    \"logo\": \"http://panel.isv4.nusa.net.id/company/logo/vcFro0wfHs2bCCUgW1T3IkKm7P1xvzeoBRAt49Cd.png\",\n    \"code\": \"NUSANET\",\n    \"domain\": \"https://isv4.nusa.net.id\",\n    \"domain_api\": \"https://api.api.api.isv4.nusa.net.id\",\n    \"created_at\": \"2020-10-25T00:29:38.000000Z\",\n    \"updated_at\": \"2020-10-25T11:01:44.000000Z\"\n}"}],"_postman_id":"1bf8e4c7-0802-41b1-9f06-232c3da89850"},{"name":"Add user to company","id":"6575a06e-3733-4bd2-834f-9f7bea00c08f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"account_name","value":"david2@nusa.net.id","type":"text"},{"key":"account_provider","value":"email","type":"text"},{"key":"company_id","value":"6e23e38d-acc7-498f-908f-5ddff152619c","description":"<p>opsional, kalau sudah didefinikan di paramaeter maka tidak perlu lagi</p>\n","type":"text","disabled":true}]},"url":"/api/user","urlObject":{"path":["api","user"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"18e413ce-42ba-4580-80e2-8ea6eb86278a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MWQ5NWJjMC0yNGM0LTQ0ZDQtODRhMC05NWFhYWRhMjMxNzEiLCJqdGkiOiJhMzAxMjZmYThkYzFhOGIzNGEzYjY2ZDM4YTA0OTEzOGQ4MjJlMDQ1YjU3MDE0MGYzMzIwOWUwMDZiNmMwNGZmYjdlZGVkNDg0ZjE1Y2MwNSIsImlhdCI6MTYwMzY4NTIzMiwibmJmIjoxNjAzNjg1MjMyLCJleHAiOjE2MzUyMjEyMzIsInN1YiI6IiIsInNjb3BlcyI6W119.JOTp7sjtP8MiE5PvqdZfUvnoWEoK_qcJxgeo10D7ISUKhZKBpV2617r5_k3mzPQ1EZ3yPlX9vto5mr8ZNoIonSJN9dB-fWOGldfzRV1ga-dqHvRxp9d1rQrW_-FZkiB5w-8rMcZyQcZHrwaq4_LkjM-hMd5EOEHLvzZFXuZmw-xpItJBDL8TBO2RZmhcrJHWY4OUAJkIwyvaVqbaSzJXQMHhPl2a96f1oB6Za3kB-MB4wbprYrbMV1Aq8aCdSiTCxvPTVoMM4QhbENO9S2j9S2I3H782xxR67AD0NxlWmUVDCy-fPXItGfed-7cJQlbFxqkdaYt59YRDRV8JcubjK6oCf7f3OrGqN3ps9tTFqIYTg_P6T89jHyg04lkoITiROlgcvGVeIMGyQi_LXdVXd_bV7DP65HytHMXGILesfnUxtipHNNnkw7KT_9jcVl09fpKN-aQN9WlbeSZveGs4teOJjVQKNkZzZtuN9yzS52P3akZ0PCitk8shqAWXbsaPCgtLIKf4TgjgstJhyeoRFewD76diqmRTYRJI42AA3DaYHmAilOuTVCu9F22p4ot4x7m6_Mc8l337ej21d8Kq0SqWjNnJzrQAdU2BVH0Cqd8snqIeU3mJRybNuhs3ql3yMZHQviJYLKhsHcpSO8SE_kOSUlGM5EdymEhNro0DlLA","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"account_name","value":"david@nusa.net.id","type":"text"},{"key":"account_provider","value":"email","type":"text"},{"key":"company_id","value":"6e23e38d-acc7-498f-908f-5ddff152619c","description":"opsional, kalau sudah didefinikan di paramaeter maka tidak perlu lagi","type":"text","disabled":true}]},"url":"http://panel.isv4.nusa.net.id/api/company/{company_id_in_uuid}/user"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 Oct 2020 07:17:51 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"99"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Add account success\",\n    \"message\": \"account david@nusa.net.id added to PT. Media Antar Nusa\"\n}"},{"id":"8764301a-5aac-445b-bc1b-e46a20baf3f4","name":"Error if exist","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MWQ5NWJjMC0yNGM0LTQ0ZDQtODRhMC05NWFhYWRhMjMxNzEiLCJqdGkiOiJhMzAxMjZmYThkYzFhOGIzNGEzYjY2ZDM4YTA0OTEzOGQ4MjJlMDQ1YjU3MDE0MGYzMzIwOWUwMDZiNmMwNGZmYjdlZGVkNDg0ZjE1Y2MwNSIsImlhdCI6MTYwMzY4NTIzMiwibmJmIjoxNjAzNjg1MjMyLCJleHAiOjE2MzUyMjEyMzIsInN1YiI6IiIsInNjb3BlcyI6W119.JOTp7sjtP8MiE5PvqdZfUvnoWEoK_qcJxgeo10D7ISUKhZKBpV2617r5_k3mzPQ1EZ3yPlX9vto5mr8ZNoIonSJN9dB-fWOGldfzRV1ga-dqHvRxp9d1rQrW_-FZkiB5w-8rMcZyQcZHrwaq4_LkjM-hMd5EOEHLvzZFXuZmw-xpItJBDL8TBO2RZmhcrJHWY4OUAJkIwyvaVqbaSzJXQMHhPl2a96f1oB6Za3kB-MB4wbprYrbMV1Aq8aCdSiTCxvPTVoMM4QhbENO9S2j9S2I3H782xxR67AD0NxlWmUVDCy-fPXItGfed-7cJQlbFxqkdaYt59YRDRV8JcubjK6oCf7f3OrGqN3ps9tTFqIYTg_P6T89jHyg04lkoITiROlgcvGVeIMGyQi_LXdVXd_bV7DP65HytHMXGILesfnUxtipHNNnkw7KT_9jcVl09fpKN-aQN9WlbeSZveGs4teOJjVQKNkZzZtuN9yzS52P3akZ0PCitk8shqAWXbsaPCgtLIKf4TgjgstJhyeoRFewD76diqmRTYRJI42AA3DaYHmAilOuTVCu9F22p4ot4x7m6_Mc8l337ej21d8Kq0SqWjNnJzrQAdU2BVH0Cqd8snqIeU3mJRybNuhs3ql3yMZHQviJYLKhsHcpSO8SE_kOSUlGM5EdymEhNro0DlLA","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"account_name","value":"david@nusa.net.id","type":"text"},{"key":"account_provider","value":"email","type":"text"},{"key":"company_id","value":"6e23e38d-acc7-498f-908f-5ddff152619c","description":"opsional, kalau sudah didefinikan di paramaeter maka tidak perlu lagi","type":"text","disabled":true}]},"url":"http://panel.isv4.nusa.net.id/api/company/{company_id_in_uuid}/user"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 Oct 2020 07:19:01 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"136"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"account_name\": [\n            \"account david@nusa.net.id already exists in PT. Media Antar Nusa\"\n        ]\n    }\n}"}],"_postman_id":"6575a06e-3733-4bd2-834f-9f7bea00c08f"},{"name":"Company Info","id":"68a024c4-162d-4981-83d4-6028f663da3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"/api/company/info","description":"<p>find company by bearer</p>\n","urlObject":{"path":["api","company","info"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"68a024c4-162d-4981-83d4-6028f663da3f"},{"name":"Sync user to panel","id":"061c3d74-da4a-4dd3-8935-c4b1f1f82ba4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"account_name\" : \"ade@nusa.net.id\",\n        \"account_provider\": \"email\"\n    },\n    {\n        \"account_name\" : \"david2@nusa.net.id\",\n        \"account_provider\": \"email\"\n    }\n    \n]"},"url":"/api/user/sync","description":"<p>tambah user massal</p>\n","urlObject":{"path":["api","user","sync"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"a4ef0e6c-37b1-4cf8-b217-fbc95d6f24a4","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MWRkMGVhMC02ZjhiLTRhNmQtYWQxYS0wMWQzNTUyMzhmYmEiLCJqdGkiOiI5YWZjNGRjMzZhZTBmYjczY2Y4ZmYxMzg1MTIxZDQ0MDM4MjM2MzBlYjIxNzRhYTUxN2JmMDMxMTk1YzhjM2NlMWJhODM4YmUxMmI4NzI1ZSIsImlhdCI6MTYwNDAyNzQ5NywibmJmIjoxNjA0MDI3NDk3LCJleHAiOjE2MzU1NjM0OTcsInN1YiI6IiIsInNjb3BlcyI6W119.Qg1knn58VcaxMBrejjyjI966UZASQv5R_7NdKc0Q7Qr9isJshuXisE216UghD8_tumrqaJP3v6DSNkRpCr4zYseCvlMtyj4orVzOjmoE70Tr5D6hhsqEnD4nOaQdtpEOwk_9Z29LaYtEUItjwGVUmVq3QNvpaGe-L9io3fLZp0rpxKXeAWjJ4gnv5x9IVbNg6c-4oXzjT8VkgZ1qrUBCtF3X5frRWeulEKK_Vgd2qHqpgTncGmzQuPLUkzO5Xby33i1QAklQX7ByiKQTQzDpRpC1R9oJKA1c5KbGFn_BlyVWTtWH4IFxJ7_N9T13gqg8qV_nEG3U96-70mCAzOJSpJfNGqr-uxBF5apPMr3wLkl6zvYiZdpCJfPdA2598_QsIz7b0XdaphC2RLfBAWjCbCvUHk-jpzAWmflgpKCV2qcvCJZmWou9saqujkHFst3_twZEAVydYKx1uJyrrCmwUbrFAp6P4o-Drv_9-gpQ0aCeMx0gfpcQmPpa2gk_m31hl2yAjvtJV3XD7de9z1U6uqTY0WeN3qwuHI4c0laP2lKlPUyKZlYgU5Q4ssiJhpCdMf1BlMCz2Vvk_o_nETZGUexpOppy3yZA4-1SpepMXF6pwRENd85GMGSbDy80vRDhgC90Wy6pyHavvmN1Wg6bwxbSdbNJSgiOWHY1GAF1TIk","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"account_name\" : \"ade3@nusa.net.id\",\n        \"account_provider\": \"email\"\n    },\n    {\n        \"account_name\" : \"ade5@nusa.net.id\",\n        \"account_provider\": \"email\"\n    },\n    {\n        \"account_name\" : \"ade6@nusa.net.id\",\n        \"account_provider\": \"email\"\n    }\n]"},"url":"http://panel.isv4.dev/api/user/sync"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 Oct 2020 08:20:54 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"60"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"success\",\n    \"message\": \"sync user in company success\"\n}"}],"_postman_id":"061c3d74-da4a-4dd3-8935-c4b1f1f82ba4"},{"name":"Last Insert","id":"4a12e324-6b7b-40c3-bbcf-f22d35abe0cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/user/last","description":"<p>check last insert user</p>\n","urlObject":{"path":["api","user","last"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"efe88d93-bbb3-48f4-80f3-0c57fe88041b","name":"200 Last Insert","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MWRkMGVhMC02ZjhiLTRhNmQtYWQxYS0wMWQzNTUyMzhmYmEiLCJqdGkiOiI5YWZjNGRjMzZhZTBmYjczY2Y4ZmYxMzg1MTIxZDQ0MDM4MjM2MzBlYjIxNzRhYTUxN2JmMDMxMTk1YzhjM2NlMWJhODM4YmUxMmI4NzI1ZSIsImlhdCI6MTYwNDAyNzQ5NywibmJmIjoxNjA0MDI3NDk3LCJleHAiOjE2MzU1NjM0OTcsInN1YiI6IiIsInNjb3BlcyI6W119.Qg1knn58VcaxMBrejjyjI966UZASQv5R_7NdKc0Q7Qr9isJshuXisE216UghD8_tumrqaJP3v6DSNkRpCr4zYseCvlMtyj4orVzOjmoE70Tr5D6hhsqEnD4nOaQdtpEOwk_9Z29LaYtEUItjwGVUmVq3QNvpaGe-L9io3fLZp0rpxKXeAWjJ4gnv5x9IVbNg6c-4oXzjT8VkgZ1qrUBCtF3X5frRWeulEKK_Vgd2qHqpgTncGmzQuPLUkzO5Xby33i1QAklQX7ByiKQTQzDpRpC1R9oJKA1c5KbGFn_BlyVWTtWH4IFxJ7_N9T13gqg8qV_nEG3U96-70mCAzOJSpJfNGqr-uxBF5apPMr3wLkl6zvYiZdpCJfPdA2598_QsIz7b0XdaphC2RLfBAWjCbCvUHk-jpzAWmflgpKCV2qcvCJZmWou9saqujkHFst3_twZEAVydYKx1uJyrrCmwUbrFAp6P4o-Drv_9-gpQ0aCeMx0gfpcQmPpa2gk_m31hl2yAjvtJV3XD7de9z1U6uqTY0WeN3qwuHI4c0laP2lKlPUyKZlYgU5Q4ssiJhpCdMf1BlMCz2Vvk_o_nETZGUexpOppy3yZA4-1SpepMXF6pwRENd85GMGSbDy80vRDhgC90Wy6pyHavvmN1Wg6bwxbSdbNJSgiOWHY1GAF1TIk","type":"text"}],"url":"http://panel.isv4.dev/api/user/last"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Nov 2020 08:54:28 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"202"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"company_id\": \"35f89fd2-eeb5-461a-8c85-a20fd1ad0808\",\n    \"account_name\": \"ade562@nusa.net.id\",\n    \"account_provider\": \"email\",\n    \"created_at\": \"2020-11-03T04:47:02.000000Z\",\n    \"updated_at\": \"2020-11-03T04:47:02.000000Z\"\n}"}],"_postman_id":"4a12e324-6b7b-40c3-bbcf-f22d35abe0cb"},{"name":"Count User {endpoint}/api/user/count","id":"e07e42a8-8160-45d0-8d43-3b06c0219296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/user/count","description":"<p>check count of user by company</p>\n","urlObject":{"path":["api","user","count"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"cc13d85a-d5d7-4f63-ac67-cdea3126f6f3","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MWRkMGVhMC02ZjhiLTRhNmQtYWQxYS0wMWQzNTUyMzhmYmEiLCJqdGkiOiI5YWZjNGRjMzZhZTBmYjczY2Y4ZmYxMzg1MTIxZDQ0MDM4MjM2MzBlYjIxNzRhYTUxN2JmMDMxMTk1YzhjM2NlMWJhODM4YmUxMmI4NzI1ZSIsImlhdCI6MTYwNDAyNzQ5NywibmJmIjoxNjA0MDI3NDk3LCJleHAiOjE2MzU1NjM0OTcsInN1YiI6IiIsInNjb3BlcyI6W119.Qg1knn58VcaxMBrejjyjI966UZASQv5R_7NdKc0Q7Qr9isJshuXisE216UghD8_tumrqaJP3v6DSNkRpCr4zYseCvlMtyj4orVzOjmoE70Tr5D6hhsqEnD4nOaQdtpEOwk_9Z29LaYtEUItjwGVUmVq3QNvpaGe-L9io3fLZp0rpxKXeAWjJ4gnv5x9IVbNg6c-4oXzjT8VkgZ1qrUBCtF3X5frRWeulEKK_Vgd2qHqpgTncGmzQuPLUkzO5Xby33i1QAklQX7ByiKQTQzDpRpC1R9oJKA1c5KbGFn_BlyVWTtWH4IFxJ7_N9T13gqg8qV_nEG3U96-70mCAzOJSpJfNGqr-uxBF5apPMr3wLkl6zvYiZdpCJfPdA2598_QsIz7b0XdaphC2RLfBAWjCbCvUHk-jpzAWmflgpKCV2qcvCJZmWou9saqujkHFst3_twZEAVydYKx1uJyrrCmwUbrFAp6P4o-Drv_9-gpQ0aCeMx0gfpcQmPpa2gk_m31hl2yAjvtJV3XD7de9z1U6uqTY0WeN3qwuHI4c0laP2lKlPUyKZlYgU5Q4ssiJhpCdMf1BlMCz2Vvk_o_nETZGUexpOppy3yZA4-1SpepMXF6pwRENd85GMGSbDy80vRDhgC90Wy6pyHavvmN1Wg6bwxbSdbNJSgiOWHY1GAF1TIk","type":"text"}],"url":"http://panel.isv4.dev/api/user/count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Nov 2020 13:53:32 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1h PHP/7.4.11"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"11"},{"key":"Keep-Alive","value":"timeout=5, max=97"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 10\n}"}],"_postman_id":"e07e42a8-8160-45d0-8d43-3b06c0219296"},{"name":"Check Demo","id":"f35c6b53-526e-47a9-959c-dc8a894690b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/demo","urlObject":{"path":["api","demo"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"6d6dcda1-92d8-4072-8759-717ac59ae35b","name":"Not Available","originalRequest":{"method":"GET","header":[],"url":"https://panel.nusawork.com/api/demo"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"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, 08 Jan 2021 10:39:09 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Demo is not available at this time, please try again later\",\n    \"data\": {\n        \"active\": false,\n        \"demo_api\": \"\",\n        \"demo_url\": \"\"\n    }\n}"},{"id":"8aab8415-f37e-4cdb-918e-78ec1f1154ec","name":"Available","originalRequest":{"method":"GET","header":[],"url":"https://panel.nusawork.com/api/demo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"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, 08 Jan 2021 10:40:43 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Demo available\",\n    \"data\": {\n        \"active\": true,\n        \"demo_api\": \"https://api.demo.nusawork.com\",\n        \"demo_url\": \"https://demo.nusawork.com\"\n    }\n}"}],"_postman_id":"f35c6b53-526e-47a9-959c-dc8a894690b4"},{"name":"Create Tenant","id":"dad6f3c6-b045-4035-a0df-1ec8fbeac6f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Bearer_client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\" : \"Tenant 16\",\n    \"contact_person\": \"081376343433\",\n    \"company_client_id\":\"5c80f544-476d-11ec-81d3-0242ac130091\",\n    \"company_client_secret\": \"xdjdjdjdldjasdaowuqweqpqwexdjdjdjdldjasdaowuqweoku\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/v2/tenant","description":"<p>Create tenant</p>\n","urlObject":{"path":["api","v2","tenant"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"4751899b-036a-4d46-916c-92fbc226dabc","name":"response-success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5MmVjYjdhMC00MmJiLTExZWMtODFkMy0wMjQyYWMxMzAwMDMiLCJqdGkiOiI3NzQzZjc3NDg5MjY4ODU2NGFlMDlkMmE1MjBjZjc0NDBlZmNlZmU2YjZiMTNiMzJkY2Q2NGE2ZjVhMDdiMTZmMzliNDVhMDE1ZTE3ZTJmNiIsImlhdCI6MTYzNjYxMzc2NSwibmJmIjoxNjM2NjEzNzY1LCJleHAiOjE2NjgxNDk3NjUsInN1YiI6IiIsInNjb3BlcyI6W119.o_GQdfm3ykyYOn9U_FsE1hf-yn-H_dGnsIeAkmyER8xpSHqQfEJi3jdpWWA3aH8s9xnhv4y4RY7weTgrn7fGpTh144q4aFB0aqikQizFkS0wn0dGplxt5IvHT7v1X2zF1vvwVdqVhVU2GhbW7bpcDKHycMFG66E5mQ8QmtfqehjndAJRVXnjbgOGMeXECkvIqudSkX7_WKOfxUdtNhCFWiZ9nBLZMLJqjN0bmR19RvDLB6Gbv4doBKYWBPG5AAWikY0J2DfnwXWLfEhmt7hIT-08z1lh6U-epaOIZgJXbZkFv41Mqw0dW-jq_3HXZ-uajLb6CbnF_eBiC0TalV-_nMmJGb-AfJ_PSOg1U59Uv2_uPCTjwl0nmPLb70Fixv6MzyjX_Qhu_XXT8V7MO3bJYH68WePLE8VYo_6UjdBIe73J2uVGvibR10v07ByxQZI81gcVW7ow-V1xovOUo8Ivhf9V18k0BWor7s7cl6lmDAgQFLeqqB96GqgizlSM3OQiErHyizfhJ5GRLxCc2PszSwPNTstgA0BXbgS-VAayIWucsY_kq4fPrf5ChHi6cVDq1VzR0I8_4TZ3BaBPWRoV6mLrkferad72a2AnURhGEd4dSQa0TIDJ-N8pNvqpph0k2w_gGwTrnAytBnXJE8wqvW_yO8ZUIR-wPtEIdokMP1k","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\" : \"Tenant 16\",\n    \"contact_person\": \"081376343433\",\n    \"company_client_id\":\"5c80f544-476d-11ec-81d3-0242ac130091\",\n    \"company_client_secret\": \"xdjdjdjdldjasdaowuqweqpqwexdjdjdjdldjasdaowuqweoku\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/v2/tenant"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Nov 2021 08:10:48 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) OpenSSL/1.1.1i PHP/7.4.14"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.4.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"409"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"title\": \"create company successfully\",\n    \"data\": {\n        \"name\": \"Tenant 16\",\n        \"brand\": \"Tenant 16\",\n        \"code\": \"TENANT 16\",\n        \"contact_persons\": \"081376343433\",\n        \"package\": \"GRATIS\",\n        \"users_allowed\": 5,\n        \"domain\": \"https://app.nusawork.com\",\n        \"domain_api\": \"https://tenant16.app.nusawork.com\",\n        \"id\": \"76e465ec-3d29-4c16-9f9b-dd5d83321865\",\n        \"updated_at\": \"2021-11-18T08:10:48.000000Z\",\n        \"created_at\": \"2021-11-18T08:10:48.000000Z\"\n    }\n}"}],"_postman_id":"dad6f3c6-b045-4035-a0df-1ec8fbeac6f4"},{"name":"Update Tenant info","id":"f02159b1-1282-4ca3-b7ac-2e7697d77160","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"PT Media Antar Nusa","type":"text"},{"key":"logo","type":"file","src":"/Users/adeiskandar/Pictures/nusawork-embos.png"}]},"url":"/api/company/info/update","urlObject":{"path":["api","company","info","update"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"9c478962-e8f6-4781-a6a2-a4fde88767de","name":"Update Tenant info","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5NjE5NTA2Ni0wZDM2LTQ0YTctOGU0Ni1lNmVkNjY4MDM2MjEiLCJqdGkiOiI0MjAzNjgwYTEwNGE3MTVlNzRkN2YwYTM5OGIyMzFjMjFhMGEzYmYzZmRlNGExODJlNzhiMzkyYjYyZDA4YTZkZGI0NGUyNTk5YzllZTgyYiIsImlhdCI6MTY4MDE0MjU2Mi4yMTQ2MDcsIm5iZiI6MTY4MDE0MjU2Mi4yMTQ2MDgsImV4cCI6MTcxMTc2NDk2Mi4xOTk4MzYsInN1YiI6IiIsInNjb3BlcyI6W119.FaD50JCI2nl-aL-1M41WoJuRNE3cdqu55vxFPPUM0uI2-lfDvGR-nhtfg2FgNeCgPstb24MnEEFm7Nd-k5lo4E0WRtqVhOGYgMaS0v8LxlDQKZoURJX6QGXTNlVdGsIHOW4nPr8Gm5WBUcDnoyS4DLCWivVuhpMohMnZjuAQTgxX4ORoqT78UhfiQLp6ciW9GqO-2_Q8KEgwhlxmI-_6OciP9B7HkxORsm_4-PBtjiLenBe8fR31ARxu30bJ0ZnTge-sc6sqdGD9QkLCvZEJ78AzOFQs3v2kFGs07BUfZ7qNDvgdnbpPwvS7BXf7SFZIs7hDK7nURx7FPXwQKoiV0nvqUYrPX_yYE7T54WLrD9OUkgvmTB8AREFGY_p0dNFGvuDWLjgb4y3Q9_b3VwGReZ1P-sifjeK37Yr1mx0jXGPOBQmc1DKofdcXeQfXbdlbnKPd00oC4LQvyy-jv82-lxWdg7FiV6IVqmAy5fwEmMBmZixW120BliZfdiQsWgwFVOMPJcZrtKcyGarA8iC7Z7C-lfHTFAyun2H4oCCCNuP6XXJdOFG4qoTAAbVSthOKMomFxc1J9UDB4-bVy7zKhc_WPkSIJEDyLedvZ2NET6V-H8Ob0eRvXmn0Z8WP3pFCxeHbKvpQTQKbYPK1R-5abWo3Cuny1tb_HmWCLnToEkM","type":"text","disabled":true},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"PT Media Antar Nusa","type":"text"},{"key":"logo","type":"file","src":"/Users/adeiskandar/Pictures/nusawork-embos.png"}]},"url":"/api/company/info/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 10 Jun 2023 03:12:23 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"626608b1-2ac3-40f6-99e5-595206ecc95b\",\n    \"name\": \"PT Media Antar Nusa\",\n    \"brand\": \"pos123\",\n    \"logo\": \"http://panel.nusawork.test/company/logo/hQGLNLyY2HCGMrqkTSfGDgrItCvDjTLOmcUgD9Wo.png\",\n    \"code\": \"POS123\",\n    \"domain\": \"https://app.dev.nusa.work\",\n    \"domain_api\": \"https://pos123.app.dev.nusa.work\",\n    \"created_at\": \"2022-06-16T08:17:23.000000Z\",\n    \"updated_at\": \"2023-06-10T03:12:24.000000Z\",\n    \"contact_persons\": \"08134567890\",\n    \"person_name\": \"Ade Iskandar\",\n    \"person_email\": \"post1234@mailinator.com\",\n    \"users_allowed\": 50,\n    \"package\": \"ADVANCE\",\n    \"deleted_at\": null,\n    \"horizon_signed_url\": \"#\"\n}"}],"_postman_id":"f02159b1-1282-4ca3-b7ac-2e7697d77160"},{"name":"Delete user in company","id":"6f99b8db-fae3-4cf5-ab45-c28eed9662b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/user/{{email_user}}","urlObject":{"path":["api","user","{{email_user}}"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"f886c258-b83f-45a1-8037-1459d23082e0","name":"Success Delete user in company","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/user/{{email_user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Jul 2023 08:24:36 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"success\",\n    \"message\": \"account david3@mailinator.com deleted\"\n}"},{"id":"52d6ba8b-5df3-4ef6-8e55-031081c51b95","name":"user not found , failed Delete user in company","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{client_token_panel}}","type":"text"}],"url":"/api/user/{{email_user}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Jul 2023 10:07:15 GMT"},{"key":"Server","value":"Apache/2.4.55 (Unix) OpenSSL/1.1.1s PHP/8.1.14"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/8.1.14"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"message\": \"account david3@nusa.net.id not found\"\n}"}],"_postman_id":"6f99b8db-fae3-4cf5-ab45-c28eed9662b6"}],"event":[{"listen":"prerequest","script":{"id":"6a479526-9288-4925-9a90-7ea81c1181f9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"373ddd78-dc76-405f-b1f1-c614ee372cdd","type":"text/javascript","exec":[""]}}],"variable":[{"key":"hosts-panel","value":"","type":"default"}]}