PUT api/v2/StadiumGroup/updateStadiumInStadiumGroup

Slette banegruppe og underliggende baner

Request Information

URI Parameters

None.

Body Parameters

StadiumsInStadiumGroupDto
NameDescriptionTypeAdditional information
Id

integer

None.

StadiumGroupId

integer

None.

StadiumId

integer

None.

DistrictId

integer

None.

StadiumName

string

None.

VisibleForTeams

boolean

None.

IsOrg

boolean

None.

Longitude

string

None.

Latitude

string

None.

TeamId

globally unique identifier

None.

ClubId

globally unique identifier

None.

StadiumParentId

integer

None.

ShortName

string

None.

Stadiums

Collection of StadiumsInStadiumGroupDto

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'oiback.Classes.StadiumsInStadiumGroupDto'. Path 'stadiums'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'oiback.Classes.StadiumsInStadiumGroupDto'. Path 'stadiums'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[oiback.Classes.StadiumsInStadiumGroupDto, oiback, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[oiback.Classes.StadiumsInStadiumGroupDto, oiback, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StadiumsInStadiumGroupDto'.

Response Information

Resource Description

Collection of NffStadiums
NameDescriptionTypeAdditional information
Id

integer

None.

StadiumId

integer

None.

StadiumName

string

None.

SurfaceName

string

None.

Address

string

None.

PostalCode

string

None.

Postadresse

string

None.

City

string

None.

DistrictId

integer

None.

Latitude

string

None.

Longitude

string

None.

LastChangedDate

date

None.

LastCacheDate

date

None.

ClubId

globally unique identifier

None.

TeamId

globally unique identifier

None.

LightingLux

integer

None.

StadiumParentId

integer

None.

StadiumParentName

string

None.

StadiumType

integer

None.

IsOrg

boolean

None.

VisibleForTeams

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "stadiumId": 2,
    "stadiumName": "sample string 3",
    "surfaceName": "sample string 4",
    "address": "sample string 5",
    "postalCode": "sample string 6",
    "postadresse": "sample string 7",
    "city": "sample string 8",
    "districtId": 9,
    "latitude": "sample string 10",
    "longitude": "sample string 11",
    "lastChangedDate": "2026-05-02T03:49:47.4330373Z",
    "lastCacheDate": "2026-05-02T03:49:47.4330373Z",
    "clubId": "ff23e5fa-8057-4566-81e1-bed14fa9daf7",
    "teamId": "5784bb21-d4fa-4960-a338-1b52fee7d7c5",
    "lightingLux": 16,
    "stadiumParentId": 17,
    "stadiumParentName": "sample string 18",
    "stadiumType": 19,
    "isOrg": true,
    "visibleForTeams": true
  },
  {
    "id": 1,
    "stadiumId": 2,
    "stadiumName": "sample string 3",
    "surfaceName": "sample string 4",
    "address": "sample string 5",
    "postalCode": "sample string 6",
    "postadresse": "sample string 7",
    "city": "sample string 8",
    "districtId": 9,
    "latitude": "sample string 10",
    "longitude": "sample string 11",
    "lastChangedDate": "2026-05-02T03:49:47.4330373Z",
    "lastCacheDate": "2026-05-02T03:49:47.4330373Z",
    "clubId": "ff23e5fa-8057-4566-81e1-bed14fa9daf7",
    "teamId": "5784bb21-d4fa-4960-a338-1b52fee7d7c5",
    "lightingLux": 16,
    "stadiumParentId": 17,
    "stadiumParentName": "sample string 18",
    "stadiumType": 19,
    "isOrg": true,
    "visibleForTeams": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNffStadiums xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <NffStadiums>
    <Address>sample string 5</Address>
    <City>sample string 8</City>
    <ClubId>ff23e5fa-8057-4566-81e1-bed14fa9daf7</ClubId>
    <DistrictId>9</DistrictId>
    <Id>1</Id>
    <IsOrg>true</IsOrg>
    <LastCacheDate>2026-05-02T05:49:47.4330373+02:00</LastCacheDate>
    <LastChangedDate>2026-05-02T05:49:47.4330373+02:00</LastChangedDate>
    <Latitude>sample string 10</Latitude>
    <LightingLux>16</LightingLux>
    <Longitude>sample string 11</Longitude>
    <Postadresse>sample string 7</Postadresse>
    <PostalCode>sample string 6</PostalCode>
    <StadiumId>2</StadiumId>
    <StadiumName>sample string 3</StadiumName>
    <StadiumParentId>17</StadiumParentId>
    <StadiumParentName>sample string 18</StadiumParentName>
    <StadiumType>19</StadiumType>
    <SurfaceName>sample string 4</SurfaceName>
    <TeamId>5784bb21-d4fa-4960-a338-1b52fee7d7c5</TeamId>
    <VisibleForTeams>true</VisibleForTeams>
  </NffStadiums>
  <NffStadiums>
    <Address>sample string 5</Address>
    <City>sample string 8</City>
    <ClubId>ff23e5fa-8057-4566-81e1-bed14fa9daf7</ClubId>
    <DistrictId>9</DistrictId>
    <Id>1</Id>
    <IsOrg>true</IsOrg>
    <LastCacheDate>2026-05-02T05:49:47.4330373+02:00</LastCacheDate>
    <LastChangedDate>2026-05-02T05:49:47.4330373+02:00</LastChangedDate>
    <Latitude>sample string 10</Latitude>
    <LightingLux>16</LightingLux>
    <Longitude>sample string 11</Longitude>
    <Postadresse>sample string 7</Postadresse>
    <PostalCode>sample string 6</PostalCode>
    <StadiumId>2</StadiumId>
    <StadiumName>sample string 3</StadiumName>
    <StadiumParentId>17</StadiumParentId>
    <StadiumParentName>sample string 18</StadiumParentName>
    <StadiumType>19</StadiumType>
    <SurfaceName>sample string 4</SurfaceName>
    <TeamId>5784bb21-d4fa-4960-a338-1b52fee7d7c5</TeamId>
    <VisibleForTeams>true</VisibleForTeams>
  </NffStadiums>
</ArrayOfNffStadiums>