List of lyg events
GET {{baseUrl}}/{{version}}/lyg/events?lyg_event_start_date=2023-11-01&lyg_event_end_date=2023-11-06
This endpoint allows you to access the list of events of a given team
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sport_id | number | nullable | |
lyg_event_type | string | nullable | |
lyg_event_start_date | string | date and time | |
lyg_event_end_date | string | date and time | |
lyg_event_name | null | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token | |
Admin-Token | string | A valid 3rd Party API Secret key |
RESPONSES
status: OK
{"error":false,"code":200,"message":"List of all the events for this coach","result":[{"event_id":2026,"team_id":127,"event_type":"game","event_name":"Game vs TRAINING PLUS 2","event_description":"","event_start":"2022-10-03T14:59:00.000000Z","event_end":"2022-10-03T15:59:00.000000Z","event_recurring":0,"event_recurring_info":null,"event_color":null,"event_venue_placename":"43 W Valley Rd, Hemel Hempstead HP3 0AN, UK","event_venue_lat":"51.7346505","event_venue_lng":"-0.4730933","event_venue_gm_zoom":18,"created_by":838,"deleted_at":null,"deleted_by":null,"created_at":"2022-09-30T18:59:50.000000Z","updated_at":"2022-10-24T20:18:06.000000Z","event_venue_lat_delta":"0.048563290493988","event_venue_lng_delta":"0.0026979605829993","event_door_number":null,"event_address1":"43 west valley road","event_address2":null,"event_city":"hemel","event_postcode":"hp30an","event_state_province":null,"event_country":null,"event_country_code":null,"event_opponent":"TRAINING PLUS 2","event_northeast_lat":"51.736017930292","event_northeast_lng":"-0.4717878197085","event_southwest_lat":"51.733319969709","event_southwest_lng":"-0.4744857802915","parent_id":null,"event_recurring_until_date":null,"flag_player_of_the_match":1,"flag_remind_player_to_respond":0,"flag_remind_coach_of_game_attendance":0,"event_oponent_manager_name":null,"event_oponent_manager_phone":null,"event_oponent_manager_email":null,"event_oponent_colour":null,"event_season":null,"event_competition":null,"event_division_stage":null,"event_is_at_home":0,"team_name":"TeamSportz Teams","yes_attendance_count":"1","no_attendance_count":"0","without_attendance_count":"4","guests":[],"starting_players":[]}]}