GET api/CupArrangement?cupId={cupId}&dato={dato}&isAdmin={isAdmin}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cupId

integer

Required

dato

date

Required

isAdmin

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CmResults
NameDescriptionTypeAdditional information
Id

integer

None.

MatchId

integer

None.

MatchNr

string

None.

Home

Home

None.

Away

Away

None.

EventsUrl

string

None.

MatchLengthMinutes

integer

None.

PeriodCount

integer

None.

MatchPeriodLengths

Collection of integer

None.

StartTime

Object

None.

LiveStartTime

Object

None.

IsLive

boolean

None.

IsFinished

boolean

None.

ServerNow

Object

None.

LocationId

integer

None.

LocationName

string

None.

CategoryName

string

None.

CategoryShortName

string

None.

CategoryStageName

string

None.

DivisionName

string

None.

RoundName

string

None.

Walkover

boolean

None.

IsHidden

boolean

None.

HideResults

boolean

None.

TimeZone

string

None.

Periods

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "matchId": 2,
    "matchNr": "sample string 3",
    "home": {
      "id": 1,
      "name": "sample string 2",
      "score": 3,
      "periodScores": [
        1,
        2
      ],
      "shirtColor": "sample string 4",
      "antiShirtColor": "sample string 5",
      "matchstarttime": "2026-01-01T10:39:06.8526287Z"
    },
    "away": {
      "id": 1,
      "name": "sample string 2",
      "score": 3,
      "periodScores": [
        1,
        2
      ],
      "shirtColor": "sample string 4",
      "antiShirtColor": "sample string 5",
      "matchstarttime": "2026-01-01T10:39:06.8526287Z"
    },
    "eventsUrl": "sample string 4",
    "matchLengthMinutes": 5,
    "periodCount": 6,
    "matchPeriodLengths": [
      1,
      2
    ],
    "startTime": {},
    "liveStartTime": {},
    "isLive": true,
    "isFinished": true,
    "serverNow": {},
    "locationId": 12,
    "locationName": "sample string 13",
    "categoryName": "sample string 14",
    "categoryShortName": "sample string 15",
    "categoryStageName": "sample string 16",
    "divisionName": "sample string 17",
    "roundName": "sample string 18",
    "walkover": true,
    "isHidden": true,
    "hideResults": true,
    "timeZone": "sample string 22",
    "periods": 23
  },
  {
    "id": 1,
    "matchId": 2,
    "matchNr": "sample string 3",
    "home": {
      "id": 1,
      "name": "sample string 2",
      "score": 3,
      "periodScores": [
        1,
        2
      ],
      "shirtColor": "sample string 4",
      "antiShirtColor": "sample string 5",
      "matchstarttime": "2026-01-01T10:39:06.8526287Z"
    },
    "away": {
      "id": 1,
      "name": "sample string 2",
      "score": 3,
      "periodScores": [
        1,
        2
      ],
      "shirtColor": "sample string 4",
      "antiShirtColor": "sample string 5",
      "matchstarttime": "2026-01-01T10:39:06.8526287Z"
    },
    "eventsUrl": "sample string 4",
    "matchLengthMinutes": 5,
    "periodCount": 6,
    "matchPeriodLengths": [
      1,
      2
    ],
    "startTime": {},
    "liveStartTime": {},
    "isLive": true,
    "isFinished": true,
    "serverNow": {},
    "locationId": 12,
    "locationName": "sample string 13",
    "categoryName": "sample string 14",
    "categoryShortName": "sample string 15",
    "categoryStageName": "sample string 16",
    "divisionName": "sample string 17",
    "roundName": "sample string 18",
    "walkover": true,
    "isHidden": true,
    "hideResults": true,
    "timeZone": "sample string 22",
    "periods": 23
  }
]

application/xml, text/xml

Sample:
<ArrayOfCmResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes.CupManager">
  <CmResults>
    <Away>
      <AntiShirtColor>sample string 5</AntiShirtColor>
      <Id>1</Id>
      <Matchstarttime>2026-01-01T11:39:06.8526287+01:00</Matchstarttime>
      <Name>sample string 2</Name>
      <PeriodScores xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </PeriodScores>
      <Score>3</Score>
      <ShirtColor>sample string 4</ShirtColor>
    </Away>
    <CategoryName>sample string 14</CategoryName>
    <CategoryShortName>sample string 15</CategoryShortName>
    <CategoryStageName>sample string 16</CategoryStageName>
    <DivisionName>sample string 17</DivisionName>
    <EventsUrl>sample string 4</EventsUrl>
    <HideResults>true</HideResults>
    <Home>
      <AntiShirtColor>sample string 5</AntiShirtColor>
      <Id>1</Id>
      <Matchstarttime>2026-01-01T11:39:06.8526287+01:00</Matchstarttime>
      <Name>sample string 2</Name>
      <PeriodScores xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </PeriodScores>
      <Score>3</Score>
      <ShirtColor>sample string 4</ShirtColor>
    </Home>
    <Id>1</Id>
    <IsFinished>true</IsFinished>
    <IsHidden>true</IsHidden>
    <IsLive>true</IsLive>
    <LiveStartTime />
    <LocationId>12</LocationId>
    <LocationName>sample string 13</LocationName>
    <MatchId>2</MatchId>
    <MatchLengthMinutes>5</MatchLengthMinutes>
    <MatchNr>sample string 3</MatchNr>
    <MatchPeriodLengths xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </MatchPeriodLengths>
    <PeriodCount>6</PeriodCount>
    <Periods>23</Periods>
    <RoundName>sample string 18</RoundName>
    <ServerNow />
    <StartTime />
    <TimeZone>sample string 22</TimeZone>
    <Walkover>true</Walkover>
  </CmResults>
  <CmResults>
    <Away>
      <AntiShirtColor>sample string 5</AntiShirtColor>
      <Id>1</Id>
      <Matchstarttime>2026-01-01T11:39:06.8526287+01:00</Matchstarttime>
      <Name>sample string 2</Name>
      <PeriodScores xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </PeriodScores>
      <Score>3</Score>
      <ShirtColor>sample string 4</ShirtColor>
    </Away>
    <CategoryName>sample string 14</CategoryName>
    <CategoryShortName>sample string 15</CategoryShortName>
    <CategoryStageName>sample string 16</CategoryStageName>
    <DivisionName>sample string 17</DivisionName>
    <EventsUrl>sample string 4</EventsUrl>
    <HideResults>true</HideResults>
    <Home>
      <AntiShirtColor>sample string 5</AntiShirtColor>
      <Id>1</Id>
      <Matchstarttime>2026-01-01T11:39:06.8526287+01:00</Matchstarttime>
      <Name>sample string 2</Name>
      <PeriodScores xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </PeriodScores>
      <Score>3</Score>
      <ShirtColor>sample string 4</ShirtColor>
    </Home>
    <Id>1</Id>
    <IsFinished>true</IsFinished>
    <IsHidden>true</IsHidden>
    <IsLive>true</IsLive>
    <LiveStartTime />
    <LocationId>12</LocationId>
    <LocationName>sample string 13</LocationName>
    <MatchId>2</MatchId>
    <MatchLengthMinutes>5</MatchLengthMinutes>
    <MatchNr>sample string 3</MatchNr>
    <MatchPeriodLengths xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </MatchPeriodLengths>
    <PeriodCount>6</PeriodCount>
    <Periods>23</Periods>
    <RoundName>sample string 18</RoundName>
    <ServerNow />
    <StartTime />
    <TimeZone>sample string 22</TimeZone>
    <Walkover>true</Walkover>
  </CmResults>
</ArrayOfCmResults>