{"info":{"_postman_id":"d7b1b3a2-2fa4-414f-bde4-7fc70670db82","name":"VGS API POST SCORE","description":"VGS API POST SCORE","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Auth","item":[{"name":"Login","id":"f01848f7-e110-45ab-9f25-1db591632204","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"admin@a.a\",\n\t\"password\": \"456789\"\n}"},"url":"{{base_url}}/api/v1/login","description":"Api Login"},"response":[{"id":"5ae21ffc-b4d9-413a-81c1-e5b629ed2925","name":"404","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"admin@a.a\",\n\t\"password\": \"4567891\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 19 Dec 2019 08:18:03 GMT"},{"key":"Date","value":"Thu, 19 Dec 2019 08:18:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 1,\n    \"message\": \"Tài khoản hoặc mật khẩu không chính xác\",\n    \"data\": null,\n    \"access_token\": null\n}"},{"id":"b543afd3-94d9-4ac3-bc12-e576cb3fd711","name":"200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"admin@a.a\",\n\t\"password\": \"456789\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 19 Dec 2019 08:17:23 GMT"},{"key":"Date","value":"Thu, 19 Dec 2019 08:17:23 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Success\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Admin\",\n        \"email\": \"admin@a.a\",\n        \"avatar\": null,\n        \"permission_club\": 6,\n        \"level\": 0,\n        \"roles\": [\n            \"Admin\"\n        ]\n    },\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzY3NDM0NDMsImV4cCI6MTU3Njc0NzA0MywibmJmIjoxNTc2NzQzNDQzLCJqdGkiOiJ4QzJETk1QdlNzbUtOdHFhIiwic3ViIjoxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.tXyr2BbZL5XP85duh58UKbNrpZKYltqCGKlm-1PUEBg\"\n}"}],"_postman_id":"f01848f7-e110-45ab-9f25-1db591632204"}],"id":"c1bab62a-7b91-40c4-b167-78763e32c185","_postman_id":"c1bab62a-7b91-40c4-b167-78763e32c185"},{"name":"Flights","item":[{"name":"Api Flights","id":"5b0c8f8c-917a-4769-ad45-31e2b7caa4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzcwODg0NTcsImV4cCI6MTU3ODYwMDQ1NywibmJmIjoxNTc3MDg4NDU3LCJqdGkiOiIwQ0hnTU1iZkp0bXEwWFB5Iiwic3ViIjozLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.5HEyFihzHKceXBByPdM-9kJEiEcI3FlMUOPvZIWuIGI"}},"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/user-flights?source=image&status=-1&user_edit=3&limit=0","host":["{{base_url}}"],"path":["api","v1","user-flights"],"query":[{"key":"source","value":"image"},{"key":"status","value":"-1"},{"key":"user_edit","value":"3"},{"key":"limit","value":"0"}]},"description":"Count Flight By User Currrent"},"response":[{"id":"0eec0431-705c-4bae-b14b-bc4a5767cf13","name":"Get Flight User Current","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/user-flights?source=image&status=-1&user_edit=3&limit=10","host":["{{base_url}}"],"path":["api","v1","user-flights"],"query":[{"key":"source","value":"image"},{"key":"status","value":"-1"},{"key":"user_edit","value":"3"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 23 Dec 2019 08:20:59 GMT"},{"key":"Date","value":"Mon, 23 Dec 2019 08:20:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Success\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 716569,\n                \"facility_id\": 1,\n                \"path_id1\": 1,\n                \"path_id2\": 0,\n                \"path_id3\": -1,\n                \"date_played\": \"2019-12-23 02:34:00\",\n                \"date_last_update\": \"2019-12-23 00:00:00\",\n                \"flight_name\": \"Ba Na Hills Golf\",\n                \"status\": -1,\n                \"url_scorecards\": \"/23-12-2019/1577086461566_26_12.bin\",\n                \"date_create\": \"2019-12-23 07:00:00\",\n                \"white_slope\": null,\n                \"gold_slope\": null,\n                \"blue_slope\": null,\n                \"red_slope\": null,\n                \"source\": \"image\",\n                \"type\": 0,\n                \"black_slope\": null,\n                \"ref_flight\": null,\n                \"user_edit\": 3,\n                \"error_report\": 0,\n                \"error_report_msg\": null,\n                \"is_noti_cskh\": 0,\n                \"is_noti_for_friend\": 0,\n                \"orange_slope\": null,\n                \"silver_slope\": null,\n                \"gray_slope\": null,\n                \"is_edited\": 0,\n                \"date_edited\": null,\n                \"type_flight\": 1,\n                \"array_url_scorecard\": \"/23-12-2019/1577086461566_26_12.bin\",\n                \"silver_women_slope\": null,\n                \"orange_women_slope\": null,\n                \"gray_women_slope\": null,\n                \"red_women_slope\": null,\n                \"blue_women_slope\": null,\n                \"gold_women_slope\": null,\n                \"black_women_slope\": null,\n                \"white_women_slope\": null,\n                \"type_by_facility\": 1,\n                \"is_flight_new\": 0,\n                \"user_id\": 226,\n                \"flight_id\": 568187,\n                \"round_id\": 759382,\n                \"state\": 0,\n                \"tee\": \"blue\",\n                \"user_entry_score\": 226,\n                \"stt_user\": 1,\n                \"date_enter\": \"2019-12-23 14:34:21\",\n                \"incompliance\": 1,\n                \"confirmed\": 0,\n                \"user_confirmed\": -1,\n                \"date_update\": \"2019-12-23 14:34:21\",\n                \"submitted\": 0,\n                \"show_for_edit\": 1\n            }\n        ],\n        \"first_page_url\": \"http://127.0.0.1:8000/api/v1/user-flights?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"http://127.0.0.1:8000/api/v1/user-flights?page=1\",\n        \"next_page_url\": null,\n        \"path\": \"http://127.0.0.1:8000/api/v1/user-flights\",\n        \"per_page\": \"10\",\n        \"prev_page_url\": null,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"},{"id":"79c13b28-ee66-4a0c-84d1-6a929c071ae7","name":"Count Flight Not Input Score","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/user-flights?source=image&status=-1&limit=0","host":["{{base_url}}"],"path":["api","v1","user-flights"],"query":[{"key":"source","value":"image"},{"key":"status","value":"-1"},{"key":"user_edit","value":"3","disabled":true},{"key":"limit","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 23 Dec 2019 08:19:09 GMT"},{"key":"Date","value":"Mon, 23 Dec 2019 08:19:09 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Success\",\n    \"data\": 2\n}"},{"id":"b96db508-35e2-4eb0-93e7-88efcfc1392f","name":"Count Flight By User Current","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/user-flights?source=image&status=-1&user_edit=3&limit=0","host":["{{base_url}}"],"path":["api","v1","user-flights"],"query":[{"key":"source","value":"image"},{"key":"status","value":"-1"},{"key":"user_edit","value":"3"},{"key":"limit","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 23 Dec 2019 08:16:48 GMT"},{"key":"Date","value":"Mon, 23 Dec 2019 08:16:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Success\",\n    \"data\": 1\n}"},{"id":"ff66bf9e-54d8-492c-870c-3a3f34e19bdf","name":"Get All Flight Not Input Score ","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/api/v1/user-flights?source=image&status=-1&limit=10","host":["{{base_url}}"],"path":["api","v1","user-flights"],"query":[{"key":"source","value":"image"},{"key":"status","value":"-1"},{"key":"user_edit","value":"3","disabled":true},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 23 Dec 2019 08:19:52 GMT"},{"key":"Date","value":"Mon, 23 Dec 2019 08:19:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Success\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 716417,\n                \"facility_id\": 1,\n                \"path_id1\": 1,\n                \"path_id2\": 0,\n                \"path_id3\": -1,\n                \"date_played\": \"2019-12-17 10:02:00\",\n                \"date_last_update\": \"2019-12-17 10:03:13\",\n                \"flight_name\": \"Ba Na Hills Golf\",\n                \"status\": -1,\n                \"url_scorecards\": \"/17-12-2019/1576551793339_67_99.bin\",\n                \"date_create\": \"2019-12-17 07:00:00\",\n                \"white_slope\": null,\n                \"gold_slope\": null,\n                \"blue_slope\": null,\n                \"red_slope\": null,\n                \"source\": \"image\",\n                \"type\": 0,\n                \"black_slope\": null,\n                \"ref_flight\": null,\n                \"user_edit\": 1,\n                \"error_report\": 0,\n                \"error_report_msg\": null,\n                \"is_noti_cskh\": 0,\n                \"is_noti_for_friend\": 0,\n                \"orange_slope\": null,\n                \"silver_slope\": null,\n                \"gray_slope\": null,\n                \"is_edited\": 0,\n                \"date_edited\": null,\n                \"type_flight\": 1,\n                \"array_url_scorecard\": \"/17-12-2019/1576551793339_67_99.bin\",\n                \"silver_women_slope\": null,\n                \"orange_women_slope\": null,\n                \"gray_women_slope\": null,\n                \"red_women_slope\": null,\n                \"blue_women_slope\": null,\n                \"gold_women_slope\": null,\n                \"black_women_slope\": null,\n                \"white_women_slope\": null,\n                \"type_by_facility\": 1,\n                \"is_flight_new\": 0,\n                \"user_id\": 99999,\n                \"flight_id\": 568021,\n                \"round_id\": 759219,\n                \"state\": 0,\n                \"tee\": \"blue\",\n                \"user_entry_score\": 9,\n                \"stt_user\": 1,\n                \"date_enter\": \"2019-12-17 10:03:13\",\n                \"incompliance\": 1,\n                \"confirmed\": 0,\n                \"user_confirmed\": -1,\n                \"date_update\": \"2019-12-17 10:03:13\",\n                \"submitted\": 0,\n                \"show_for_edit\": 1\n            },\n            {\n                \"id\": 716569,\n                \"facility_id\": 1,\n                \"path_id1\": 1,\n                \"path_id2\": 0,\n                \"path_id3\": -1,\n                \"date_played\": \"2019-12-23 02:34:00\",\n                \"date_last_update\": \"2019-12-23 00:00:00\",\n                \"flight_name\": \"Ba Na Hills Golf\",\n                \"status\": -1,\n                \"url_scorecards\": \"/23-12-2019/1577086461566_26_12.bin\",\n                \"date_create\": \"2019-12-23 07:00:00\",\n                \"white_slope\": null,\n                \"gold_slope\": null,\n                \"blue_slope\": null,\n                \"red_slope\": null,\n                \"source\": \"image\",\n                \"type\": 0,\n                \"black_slope\": null,\n                \"ref_flight\": null,\n                \"user_edit\": 3,\n                \"error_report\": 0,\n                \"error_report_msg\": null,\n                \"is_noti_cskh\": 0,\n                \"is_noti_for_friend\": 0,\n                \"orange_slope\": null,\n                \"silver_slope\": null,\n                \"gray_slope\": null,\n                \"is_edited\": 0,\n                \"date_edited\": null,\n                \"type_flight\": 1,\n                \"array_url_scorecard\": \"/23-12-2019/1577086461566_26_12.bin\",\n                \"silver_women_slope\": null,\n                \"orange_women_slope\": null,\n                \"gray_women_slope\": null,\n                \"red_women_slope\": null,\n                \"blue_women_slope\": null,\n                \"gold_women_slope\": null,\n                \"black_women_slope\": null,\n                \"white_women_slope\": null,\n                \"type_by_facility\": 1,\n                \"is_flight_new\": 0,\n                \"user_id\": 226,\n                \"flight_id\": 568187,\n                \"round_id\": 759382,\n                \"state\": 0,\n                \"tee\": \"blue\",\n                \"user_entry_score\": 226,\n                \"stt_user\": 1,\n                \"date_enter\": \"2019-12-23 14:34:21\",\n                \"incompliance\": 1,\n                \"confirmed\": 0,\n                \"user_confirmed\": -1,\n                \"date_update\": \"2019-12-23 14:34:21\",\n                \"submitted\": 0,\n                \"show_for_edit\": 1\n            }\n        ],\n        \"first_page_url\": \"http://127.0.0.1:8000/api/v1/user-flights?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"http://127.0.0.1:8000/api/v1/user-flights?page=1\",\n        \"next_page_url\": null,\n        \"path\": \"http://127.0.0.1:8000/api/v1/user-flights\",\n        \"per_page\": \"10\",\n        \"prev_page_url\": null,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"5b0c8f8c-917a-4769-ad45-31e2b7caa4b3"}],"id":"66872e2a-5920-4af1-9425-33f4aa34843b","_postman_id":"66872e2a-5920-4af1-9425-33f4aa34843b"}]}