{"info":{"_postman_id":"41cdb88f-377a-417e-9a67-07f7c35a3a68","name":"API_Cloud_Checkin","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8031761","collectionId":"41cdb88f-377a-417e-9a67-07f7c35a3a68","publishedId":"TW6upp88","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-26T04:53:41.000Z"},"item":[{"name":"Real Time Checkin","id":"fd472b3d-118b-449f-882f-50f2aadc2fab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_token","value":"MTA5MzQtMzk1My03ODIyNjk2NzgzNzdkN2Iw","description":"<p>Client Token from cloud checkin client created on Base HRM</p>\n","type":"text"},{"key":"user_code","value":"2209111","description":"<p>User checkin code to match on Base HRM</p>\n","type":"text"},{"key":"ts","value":"1774854475","description":"<p>(optional) Timestamp in seconds checkin time </p>\n","type":"text"},{"key":"code_type","value":"checkin_code","description":"<p>(optional) If value is \"checkin_code\" then use checkin_code from HRM instead of user_id</p>\n","type":"text"}]},"url":"https://checkin.base.vn/v1/cloud/realtime","description":"<p>API to checkin realtime when have new log</p>\n","urlObject":{"protocol":"https","path":["v1","cloud","realtime"],"host":["checkin","base","vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd472b3d-118b-449f-882f-50f2aadc2fab"},{"name":"Get user code for checkin","id":"b11feb3a-d8f9-4239-a3ba-2acd2260d52f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Client Token from cloud checkin client created on Base HRM</p>\n","key":"client_token","type":"text","value":""},{"key":"code_type","value":"","description":"<p>(optional) If value is \"checkin_code\" then use checkin_code from HRM instead of user_id</p>\n","type":"text"}]},"url":"https://checkin.base.vn/v1/cloud/checkin_codes","description":"<p>API to get user checkin code for cloud checkin</p>\n","urlObject":{"protocol":"https","path":["v1","cloud","checkin_codes"],"host":["checkin","base","vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"b11feb3a-d8f9-4239-a3ba-2acd2260d52f"},{"name":"Mass Sync Checkin Logs","id":"2d13c652-6c6e-41ff-ac38-271eb1280fcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Client Token from cloud checkin client created on Base HRM</p>\n","key":"client_token","type":"text","value":""},{"description":"<p>Collections of Logs to save</p>\n","key":"logs","type":"text","value":"[{\"user_code\":1, \"dates\": [\"date\":1594141200 ,\"logs\":[{\"id\":\"159410687000050\",\"deviceUserId\":50,\"time\":1594178626,\"ip\":\"10.20.0.9\"}]}]]"},{"key":"code_type","value":"","description":"<p>(optional) If value is \"checkin_code\" then use checkin_code from HRM instead of user_id</p>\n","type":"text"}]},"url":"https://checkin.base.vn/v1/cloud/mass_sync","description":"<p>API to sync large amount of logs to base checkin from cloud</p>\n","urlObject":{"protocol":"https","path":["v1","cloud","mass_sync"],"host":["checkin","base","vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d13c652-6c6e-41ff-ac38-271eb1280fcd"},{"name":"Get Logs API","id":"b478f48b-275a-48e5-b35b-f24bb5765a7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":" 79-EWT4J5BNSBPU9EF7NJK88K2XA6Z8Y3T4SRBZJPAR6PC4X12348RT9GFVC8-GFRCDJ3GDKPJK8ZYF7MEZJYX4FT6UAFLBYQ28RDM4NPV2BD2TKXS8C4FN26CKDDP","description":"<p>Token created for checkin at account.base.vn/tokens</p>\n","type":"text"},{"key":"start_date","value":"1594178626","description":"<p>Start date to get logs from in timestamp</p>\n","type":"text"},{"key":"end_date","value":"1594178626","description":"<p>End date to get logs from in timestamp</p>\n","type":"text"}]},"url":"https://checkin.base.vn/extapi/v1/getlogs","urlObject":{"protocol":"https","path":["extapi","v1","getlogs"],"host":["checkin","base","vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"b478f48b-275a-48e5-b35b-f24bb5765a7a"}]}