Generate the competition teams
GET {{baseUrl}}/{{version}}/competitions?from_date=2024-01-05 09:15:00&to_date=2024-02-28 20:12:15&type=competition
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from_date | string | required | |
to_date | string | required | |
type | string | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A JWT token | |
Organisation | number |
RESPONSES
status: OK
{"error":false,"code":200,"message":"List of all events with type competition","result":[{"event_id":3044,"team_id":128,"event_type":"Competition","event_name":"Test Game previous","event_description":"Bring your away kits NOW!","event_start":"2024-02-28T09:15:00.000000Z","event_end":"2024-02-28T20:12:15.000000Z","event_recurring":0,"event_recurring_info":null,"event_color":"red","event_venue_placename":"100, The event address, The event city, The event postcode, United Kingdom","event_venue_lat":null,"event_venue_lng":null,"event_venue_gm_zoom":18,"created_by":838,"deleted_at":null,"deleted_by":null,"created_at":"2024-02-27T15:56:35.000000Z","updated_at":"2024-03-21T09:58:49.000000Z","event_venue_lat_delta":null,"event_venue_lng_delta":null,"event_door_number":"100","event_address1":"The event address","event_address2":"","event_city":"The event city","event_postcode":"The event postcode","event_state_province":"","event_country":"United Kingdom","event_country_code":"en_GB","event_opponent":"The opponent name","event_northeast_lat":null,"event_northeast_lng":null,"event_southwest_lat":null,"event_southwest_lng":null,"parent_id":null,"event_recurring_until_date":null,"flag_player_of_the_match":0,"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":"Atlantians U18 Mens","competition_entry_count":1,"venues":[]},{"event_id":3045,"team_id":501,"event_type":"Competition","event_name":"Test Game previous","event_description":"Bring your away kits NOW!","event_start":"2024-02-28T09:15:00.000000Z","event_end":"2024-02-28T20:12:15.000000Z","event_recurring":0,"event_recurring_info":null,"event_color":"red","event_venue_placename":"100, The event address, The event city, The event postcode, United Kingdom","event_venue_lat":null,"event_venue_lng":null,"event_venue_gm_zoom":18,"created_by":838,"deleted_at":null,"deleted_by":null,"created_at":"2024-02-27T16:04:19.000000Z","updated_at":"2024-03-21T09:58:49.000000Z","event_venue_lat_delta":null,"event_venue_lng_delta":null,"event_door_number":"100","event_address1":"The event address","event_address2":"","event_city":"The event city","event_postcode":"The event postcode","event_state_province":"","event_country":"United Kingdom","event_country_code":"en_GB","event_opponent":"The opponent name","event_northeast_lat":null,"event_northeast_lng":null,"event_southwest_lat":null,"event_southwest_lng":null,"parent_id":null,"event_recurring_until_date":null,"flag_player_of_the_match":0,"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":"name","competition_entry_count":0,"venues":[]}]}