Retrieve Football game result by event
GET {{baseUrl}}/{{version}}/gameresults/event/3039?event_id=3039&sport_id=10&from_date=2024-02-09 15:37:31&to_date=2024-02-13 17:00:31
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
event_id | number | ||
sport_id | number | ||
from_date | string | ||
to_date | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Returns the football game results by event.","response":{"footballTeamGameResults":{"current_page":1,"data":[{"football_gameresults_id":197,"user_id":261894,"org_id":259824,"sport_id":10,"team_id":569,"event_id":3040,"football_opponent_ref_name":null,"football_res_goal_for":0,"football_res_own_goal_for":2,"football_res_red_cards":null,"football_res_yellow_cards":2,"football_res_penalty_made":1,"football_res_penalty_taken":null,"football_res_offsides":null,"football_res_corner_kicks":2,"football_res_goal_kicks":null,"football_res_free_kicks_taken":null,"created_by":262076,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-02-23T14:22:43.000000Z","updated_at":"2024-02-23T14:22:43.000000Z","profile_first_name":"Ouakhila","profile_last_name":"Torou","profile_avatar":"https://files.teamsportz.app/avatars/261894_1692287433.jpeg","profile_number":3}],"first_page_url":"http://localhost:8000/v1/gameresults/event/3040?page=1","from":1,"last_page":1,"last_page_url":"http://localhost:8000/v1/gameresults/event/3040?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"http://localhost:8000/v1/gameresults/event/3040?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"http://localhost:8000/v1/gameresults/event/3040","per_page":15,"prev_page_url":null,"to":1,"total":1},"opponentGameResults":{"current_page":1,"data":[{"football_gameresults_id":198,"user_id":null,"sport_id":10,"org_id":null,"team_id":null,"event_id":3040,"football_opponent_ref_name":"Carolina","football_res_goal_for":0,"football_res_own_goal_for":2,"football_res_red_cards":null,"football_res_yellow_cards":2,"football_res_penalty_made":1,"football_res_penalty_taken":null,"football_res_offsides":null,"football_res_corner_kicks":2,"football_res_goal_kicks":null,"football_res_free_kicks_taken":null,"football_res_foul":1,"football_res_tackle_made":2,"football_res_tackle_attempted":2,"football_res_shot_on_target":null,"football_res_shot_missed":null,"football_res_pass_made":3,"football_res_pass_attempted":null,"created_by":262076,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-02-23T14:22:45.000000Z","updated_at":"2024-02-23T14:22:45.000000Z"},{"football_gameresults_id":199,"user_id":null,"sport_id":10,"org_id":null,"team_id":null,"event_id":3040,"football_opponent_ref_name":"Patience","football_res_goal_for":0,"football_res_own_goal_for":2,"football_res_red_cards":null,"football_res_yellow_cards":2,"football_res_penalty_made":1,"football_res_penalty_taken":null,"football_res_offsides":null,"football_res_corner_kicks":2,"football_res_goal_kicks":null,"football_res_free_kicks_taken":null,"football_res_foul":1,"football_res_tackle_made":2,"football_res_tackle_attempted":2,"football_res_shot_on_target":null,"football_res_shot_missed":null,"football_res_pass_made":3,"football_res_pass_attempted":null,"created_by":262076,"updated_by":null,"deleted_by":null,"deleted_at":null,"created_at":"2024-02-23T14:22:45.000000Z","updated_at":"2024-02-23T14:22:45.000000Z"}],"first_page_url":"http://localhost:8000/v1/gameresults/event/3040?page=1","from":1,"last_page":1,"last_page_url":"http://localhost:8000/v1/gameresults/event/3040?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"http://localhost:8000/v1/gameresults/event/3040?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"http://localhost:8000/v1/gameresults/event/3040","per_page":15,"prev_page_url":null,"to":2,"total":2}}}