Total No of API 9 This API for Team @############################################################ User Get Roster Default Form Data Endpoint : https://maxsportsure.com/api/rosterdefaultform Method : GET Form Body : Response : LIST @############################################################ User Create/Update Roster Default Values Endpoint : https://maxsportsure.com/api/createrosterdefault Method : POST Form Body : userid:353 default_season:Fall default_year:2021-2022 Response : { "Success": true, "Response": { "userid": "353", "default_season": "Fall", "default_year": "2021-2022", "message": "Data Updated Successfully" } } @############################################################ User Get Roster Default Values Endpoint : https://maxsportsure.com/api/getrosterdefault Method : POST Form Body : userid:353 Response : { "Success": true, "Response": { "userid": "353", "default_season": "All", "default_year": "All" } } @############################################################ User Roster Page Endpoint : https://maxsportsure.com/api/roster Method : POST Form Body : userid:15 default_season:All default_year:All pageNumber:1 Response : { "Success": true, "Response": { "userid": "15", "page_number": "1", "total_page": 1, "imagepath": "https://maxsportsure.com/media/", "data": [ { "id": 11, "users_id": 15, "athelete_user_id": null, "athelete_name": "Frank Jackson", "season": "Winter", "year": "2023-2024", "classof": "2023", "hometown": "CHAKDAHA", "hfeet": "7", "hinch": 11, "weight": "0", "position_name": "Event(s)", "position_value": "dvvdsvds", "number": "23", "school_name": "High School", "school_value": "Sdvvdsv", "image": "roster/download_3.jpg" }, { "id": 12, "users_id": 15, "athelete_user_id": 245, "athelete_name": "Taira Bose", "season": "Winter", "year": "2023-2024", "classof": "2023", "hometown": "nfghthrthrtbnrtbnt", "hfeet": "7", "hinch": 11, "weight": "0", "position_name": "Event(s)", "position_value": "Svsdvdsv", "number": "33", "school_name": "Church", "school_value": "Sdvvdsv", "image": "" } ] } } @############################################################ User Roster Detail Page Endpoint : https://maxsportsure.com/api/rosterdetail Method : POST Form Body : userid:15 postid:12 Response : { "Success": true, "Response": { "userid": "15", "postid": "12", "imagepath": "https://maxsportsure.com/media/", "link_user": { "id": 245, "name": "Taira Bose", "username": "tairach", "image": "" }, "data": [ { "id": 12, "users_id": 15, "athelete_user_id": 245, "athelete_name": "Taira Bose", "season": "Winter", "year": "2023-2024", "classof": "2023", "hometown": "nfghthrthrtbnrtbnt", "hfeet": "7", "hinch": 11, "weight": "0", "position_name": "Event(s)", "position_value": "Svsdvdsv", "number": "33", "school_name": "Church", "school_value": "Sdvvdsv", "image": "" } ] } } @############################################################ User Roster Add Name Section other Individual list search by keyword of name Endpoint : https://maxsportsure.com/api/searchatheletewithbio Method : POST Form Body : loguserid:15 text: ty Response : { "Success": true, "Response": { "text": "ty", "loguserid": "1", "dataCount": 5, "data": [ { "id": 3, "user_type": 1, "name": "DeRon Tyler", "hometown": "Walnut, CA ", "classof": "1997", "hfeet": 5, "hinch": "8", "weight": "175", "username": "Lilgiant", "image": "user/620433532.894284.jpeg" }, { "id": 21, "user_type": 2, "name": "Trevor Tyler", "hometown": "San Dimas, CA", "classof": "2031", "hfeet": 4, "hinch": "9", "weight": "70", "username": "TreTyler", "image": "user/IMG_0445.jpeg" }, { "id": 35, "user_type": 2, "name": "sdafads sadfasdf", "hometown": "", "classof": "", "hfeet": "", "hinch": "", "weight": "", "username": "Aarontyler", "image": "" }, { "id": 43, "user_type": 2, "name": "Lathian Tyler", "hometown": "Lonn Beach, CA", "classof": "2033", "hfeet": "", "hinch": "", "weight": "", "username": "Ltyler28", "image": "user/IMG_20230615_183825_764.jpg" }, { "id": 62, "user_type": 2, "name": "Aaron Tyler", "hometown": "", "classof": "", "hfeet": "", "hinch": "", "weight": "", "username": "A2Tyler", "image": "" } ] } } @############################################################ User Get Roster Add/Edit Form Dropdown data Endpoint : https://maxsportsure.com/api/getrosterform Method : POST Form Body : userid:15 Response : { "Success": true, "Response": { "userid": "353", "season": [ { "id": 2, "name": "Fall" }, { "id": 3, "name": "Winter" }, { "id": 4, "name": "Spring" }, { "id": 5, "name": "Summer" } ], "yearlist": [ "2024-2025", "2024", "2023-2024", "2023", "2022-2023", "2022", "2021-2022", "2021", "2020-2021", "2020", ......... ], "classoff": [ 2024, 2023, 2022, 2021, 2020, ....... ], "positionEvent": [ { "id": 1, "name": "Event(s)" }, { "id": 2, "name": "Position(s)" } ], "school": [ { "id": 1, "name": "College" }, { "id": 2, "name": "High School" }, { "id": 3, "name": "Middle School" }, { "id": 4, "name": "Elementary School" } ] } } @############################################################ User Create Roster Page Endpoint : https://maxsportsure.com/api/createroster Method : POST Form Body : userid:15 athelete_user_id: name:John Doe season:Fall year:2020-2021 classof:2023 hometown:Kolkata hfeet:5 hinch:3 weight:180 positionname:Eventds positionvalue:ZXCV number:17 schoolname:High Schools schoolvalue: ASDF roster_image: (type file and only image can be upload single file) Response : { "Success": true, "Response": { "userid": "15", "postid": 14, "message": "Data Added Successfully" } } @############################################################ User Roster get Detail to update Endpoint : https://maxsportsure.com/api/getroster Method : POST Form Body : userid:15 postid:15 Response : { "Success": true, "Response": { "userid": "15", "postid": "15", "imagepath": "https://maxsportsure.com/media/", "link_user": { "id": 76, "name": "Nikhil Mishra", "username": "mishranikhil7597", "image": "" }, "data": [ { "id": 15, "users_id": 15, "athelete_user_id": 76, "athelete_name": "Nikhil Mishra", "season": "Fall", "year": "2020-2021", "classof": "2023", "hometown": "Kolkata", "hfeet": "5", "hinch": 3, "weight": "180", "position_name": "Eventds", "position_value": "ZXCV", "number": "17", "school_name": "High Schools", "school_value": " ASDF", "image": "" } ] } } @############################################################ User Update Roster Page Endpoint : https://maxsportsure.com/api/updateroster Method : POST Form Body : userid:15 postid:15 athelete_user_id:76 name:Nikhil Mishra season:Fall year:2020-2021 classof:2023 hometown:Kolkata hfeet:5 hinch:3 weight:180 positionname:Eventds positionvalue:ZXCVQQ number:14 schoolname:High Schools schoolvalue: ASDFWW roster_image: (type file and only image can be upload single file) Response : { "Success": true, "Response": { "userid": "15", "postid": "15", "message": "Data Updated Successfully" } } @############################################################ User Delete Roster Page Endpoint : https://maxsportsure.com/api/deleteroster Method : POST Form Body : userid:15 postid:14 Response : { "Success": true, "Response": { "message": "Post deleted succesfully" } } @############################################################ User Create/Update Roster Default Values Endpoint : https://maxsportsure.com/api/getpublicrosterdefault Method : POST Form Body : username:mtdevops Response : { "Success": true, "Response": { "userid": 15, "default_season": "All", "default_year": "All" } } @############################################################ User Roster Public Page Endpoint : https://maxsportsure.com/api/publicroster Method : POST Form Body : username:mtdevops default_season:All default_year:All loguserid:98 pageNumber:1 Response : { "Success": true, "Response": { "username": "mtdevops", "page_number": "2", "total_page": 2, "imagepath": "https://maxsportsure.com/media/", "data": [ { "id": 12, "users_id": 15, "athelete_user_id": 245, "athelete_name": "Taira Bose", "season": "Winter", "year": "2023-2024", "classof": "2023", "hometown": "nfghthrthrtbnrtbnt", "hfeet": "7", "hinch": 11, "weight": "0", "position_name": "Event(s)", "position_value": "Svsdvdsv", "number": "33", "school_name": "Church", "school_value": "Sdvvdsv", "image": "" } ], "checkPrivacy": { "is_restrict_siteAccess": false, "is_restrict_privacy": false, "privacy_message": "" } } } Note : checkPrivacy -> is_restrict_siteAccess should be false to show that page ( When its true it should redirect to home page) checkPrivacy -> is_restrict_privacy should be false to show that page ( When its true it should show privacy_message) @############################################################ User Roster Detail Public Page Endpoint : https://maxsportsure.com/api/publicrosterdetail Method : POST Form Body : username:mtdevops loguserid:98 postid:15 Response : { "Success": true, "Response": { "username": "mtdevops", "postid": "15", "imagepath": "https://maxsportsure.com/media/", "link_user": {}, "data": [ { "id": 15, "users_id": 15, "athelete_user_id": null, "athelete_name": "Nikhil Mishra", "season": "Fall", "year": "2020-2021", "classof": "2023", "hometown": "Kolkata", "hfeet": "5", "hinch": 3, "weight": "180", "position_name": "Eventds", "position_value": "ZXCVQQ", "number": "14", "school_name": "High Schools", "school_value": " ASDFWW", "image": "roster/images_15.jpg" } ], "checkPrivacy": { "is_restrict_siteAccess": false, "is_restrict_privacy": false, "privacy_message": "" } } } Note : checkPrivacy -> is_restrict_siteAccess should be false to show that page ( When its true it should redirect to home page) checkPrivacy -> is_restrict_privacy should be false to show that page ( When its true it should show privacy_message)