GET api/League/GetLeaguesForBackend/{afdeling}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
afdeling

Afdeling

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfLeague
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

Collection of League

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": [
    {
      "Titel": "sample string 1",
      "Afdeling": 0,
      "Matches": [
        {
          "Date": "sample string 1",
          "HomeTeam": "sample string 2",
          "AwayTeam": "sample string 3",
          "HomeTeamPoints": 4,
          "AwayTeamPoints": 5,
          "Afdeling": 0,
          "Id": 6,
          "Created": "2019-10-15T06:02:54.9686983+02:00",
          "CreatedBy": "sample string 7",
          "Modified": "2019-10-15T06:02:54.9686983+02:00",
          "ModifiedBy": "sample string 8"
        },
        {
          "Date": "sample string 1",
          "HomeTeam": "sample string 2",
          "AwayTeam": "sample string 3",
          "HomeTeamPoints": 4,
          "AwayTeamPoints": 5,
          "Afdeling": 0,
          "Id": 6,
          "Created": "2019-10-15T06:02:54.9686983+02:00",
          "CreatedBy": "sample string 7",
          "Modified": "2019-10-15T06:02:54.9686983+02:00",
          "ModifiedBy": "sample string 8"
        }
      ],
      "Status": 0,
      "Id": 2,
      "Created": "2019-10-15T06:02:54.9686983+02:00",
      "CreatedBy": "sample string 3",
      "Modified": "2019-10-15T06:02:54.9686983+02:00",
      "ModifiedBy": "sample string 4"
    },
    {
      "Titel": "sample string 1",
      "Afdeling": 0,
      "Matches": [
        {
          "Date": "sample string 1",
          "HomeTeam": "sample string 2",
          "AwayTeam": "sample string 3",
          "HomeTeamPoints": 4,
          "AwayTeamPoints": 5,
          "Afdeling": 0,
          "Id": 6,
          "Created": "2019-10-15T06:02:54.9686983+02:00",
          "CreatedBy": "sample string 7",
          "Modified": "2019-10-15T06:02:54.9686983+02:00",
          "ModifiedBy": "sample string 8"
        },
        {
          "Date": "sample string 1",
          "HomeTeam": "sample string 2",
          "AwayTeam": "sample string 3",
          "HomeTeamPoints": 4,
          "AwayTeamPoints": 5,
          "Afdeling": 0,
          "Id": 6,
          "Created": "2019-10-15T06:02:54.9686983+02:00",
          "CreatedBy": "sample string 7",
          "Modified": "2019-10-15T06:02:54.9686983+02:00",
          "ModifiedBy": "sample string 8"
        }
      ],
      "Status": 0,
      "Id": 2,
      "Created": "2019-10-15T06:02:54.9686983+02:00",
      "CreatedBy": "sample string 3",
      "Modified": "2019-10-15T06:02:54.9686983+02:00",
      "ModifiedBy": "sample string 4"
    }
  ],
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfArrayOfLeagueYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>
    <League>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 3</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</ModifiedBy>
      <Afdeling>Håndbold</Afdeling>
      <Matches>
        <Match>
          <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 7</CreatedBy>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">6</Id>
          <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
          <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</ModifiedBy>
          <Afdeling>Håndbold</Afdeling>
          <AwayTeam>sample string 3</AwayTeam>
          <AwayTeamPoints>5</AwayTeamPoints>
          <Date>sample string 1</Date>
          <HomeTeam>sample string 2</HomeTeam>
          <HomeTeamPoints>4</HomeTeamPoints>
        </Match>
        <Match>
          <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 7</CreatedBy>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">6</Id>
          <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
          <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</ModifiedBy>
          <Afdeling>Håndbold</Afdeling>
          <AwayTeam>sample string 3</AwayTeam>
          <AwayTeamPoints>5</AwayTeamPoints>
          <Date>sample string 1</Date>
          <HomeTeam>sample string 2</HomeTeam>
          <HomeTeamPoints>4</HomeTeamPoints>
        </Match>
      </Matches>
      <Status>Aktiv</Status>
      <Titel>sample string 1</Titel>
    </League>
    <League>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 3</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</ModifiedBy>
      <Afdeling>Håndbold</Afdeling>
      <Matches>
        <Match>
          <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 7</CreatedBy>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">6</Id>
          <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
          <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</ModifiedBy>
          <Afdeling>Håndbold</Afdeling>
          <AwayTeam>sample string 3</AwayTeam>
          <AwayTeamPoints>5</AwayTeamPoints>
          <Date>sample string 1</Date>
          <HomeTeam>sample string 2</HomeTeam>
          <HomeTeamPoints>4</HomeTeamPoints>
        </Match>
        <Match>
          <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Created>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 7</CreatedBy>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">6</Id>
          <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:02:54.9686983+02:00</Modified>
          <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 8</ModifiedBy>
          <Afdeling>Håndbold</Afdeling>
          <AwayTeam>sample string 3</AwayTeam>
          <AwayTeamPoints>5</AwayTeamPoints>
          <Date>sample string 1</Date>
          <HomeTeam>sample string 2</HomeTeam>
          <HomeTeamPoints>4</HomeTeamPoints>
        </Match>
      </Matches>
      <Status>Aktiv</Status>
      <Titel>sample string 1</Titel>
    </League>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfArrayOfLeagueYgFqSxnr>