GET api/Competitions

Retrieves a list of all competitions for the current year

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Competition
NameDescriptionTypeAdditional information
CompCode

string

Required

String length: inclusive between 0 and 10

CompFullName

string

String length: inclusive between 0 and 100

CompName

string

String length: inclusive between 0 and 50

CompType

string

String length: inclusive between 0 and 10

District

string

String length: inclusive between 0 and 20

StartDate

date

None.

EndDate

date

None.

Week

integer

None.

Location

string

String length: inclusive between 0 and 50

Address

string

String length: inclusive between 0 and 200

Response Formats

application/json, text/json

Sample:
[
  {
    "CompCode": "sample string 1",
    "CompFullName": "sample string 2",
    "CompName": "sample string 3",
    "CompType": "sample string 4",
    "District": "sample string 5",
    "StartDate": "2025-06-17T04:22:52.892059+00:00",
    "EndDate": "2025-06-17T04:22:52.892059+00:00",
    "Week": 8,
    "Location": "sample string 9",
    "Address": "sample string 10"
  },
  {
    "CompCode": "sample string 1",
    "CompFullName": "sample string 2",
    "CompName": "sample string 3",
    "CompType": "sample string 4",
    "District": "sample string 5",
    "StartDate": "2025-06-17T04:22:52.892059+00:00",
    "EndDate": "2025-06-17T04:22:52.892059+00:00",
    "Week": 8,
    "Location": "sample string 9",
    "Address": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompetition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiresUniAPI.Models">
  <Competition>
    <Address>sample string 10</Address>
    <CompCode>sample string 1</CompCode>
    <CompFullName>sample string 2</CompFullName>
    <CompName>sample string 3</CompName>
    <CompType>sample string 4</CompType>
    <District>sample string 5</District>
    <EndDate>2025-06-17T04:22:52.892059+00:00</EndDate>
    <Location>sample string 9</Location>
    <StartDate>2025-06-17T04:22:52.892059+00:00</StartDate>
    <Week>8</Week>
  </Competition>
  <Competition>
    <Address>sample string 10</Address>
    <CompCode>sample string 1</CompCode>
    <CompFullName>sample string 2</CompFullName>
    <CompName>sample string 3</CompName>
    <CompType>sample string 4</CompType>
    <District>sample string 5</District>
    <EndDate>2025-06-17T04:22:52.892059+00:00</EndDate>
    <Location>sample string 9</Location>
    <StartDate>2025-06-17T04:22:52.892059+00:00</StartDate>
    <Week>8</Week>
  </Competition>
</ArrayOfCompetition>