POST api/V2/district/banegruppe
Test Lager ny banegruppe
Request Information
URI Parameters
None.
Body Parameters
UsedStadiums| Name | Description | Type | Additional information |
|---|---|---|---|
| UsedStadiumId | integer |
None. |
|
| ShowOnFrontPage | boolean |
Required |
|
| DistrictId | integer |
Required |
|
| StadiumName | string |
Required |
|
| CompanyId | globally unique identifier |
None. |
|
| Stadiums | Collection of Stadium |
None. |
Request Formats
application/json, text/json
Sample:
{
"usedStadiumId": 1,
"showOnFrontPage": true,
"districtId": 3,
"stadiumName": "sample string 4",
"companyId": "99acd1c1-7220-4c63-a838-5cf7416c2e04",
"stadiums": [
{
"id": 1,
"stadiumId": 2,
"stadiumName": "sample string 3",
"surfaceName": "sample string 4",
"address": "sample string 5",
"postalCode": "sample string 6",
"city": "sample string 7",
"districtId": 8,
"latitude": "sample string 9",
"longitude": "sample string 10",
"lastChangedDate": "2026-01-01T10:39:08.0245918Z",
"lightingLux": 12,
"stadiumParentId": 13,
"stadiumParentName": "sample string 14",
"stadiumType": 15
},
{
"id": 1,
"stadiumId": 2,
"stadiumName": "sample string 3",
"surfaceName": "sample string 4",
"address": "sample string 5",
"postalCode": "sample string 6",
"city": "sample string 7",
"districtId": 8,
"latitude": "sample string 9",
"longitude": "sample string 10",
"lastChangedDate": "2026-01-01T10:39:08.0245918Z",
"lightingLux": 12,
"stadiumParentId": 13,
"stadiumParentName": "sample string 14",
"stadiumType": 15
}
]
}
application/xml, text/xml
Sample:
<UsedStadiums xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<CompanyId>99acd1c1-7220-4c63-a838-5cf7416c2e04</CompanyId>
<DistrictId>3</DistrictId>
<ShowOnFrontPage>true</ShowOnFrontPage>
<StadiumName>sample string 4</StadiumName>
<Stadiums>
<Stadium>
<Address>sample string 5</Address>
<City>sample string 7</City>
<DistrictId>8</DistrictId>
<Id>1</Id>
<LastChangedDate>2026-01-01T11:39:08.0245918+01:00</LastChangedDate>
<Latitude>sample string 9</Latitude>
<LightingLux>12</LightingLux>
<Longitude>sample string 10</Longitude>
<PostalCode>sample string 6</PostalCode>
<StadiumId>2</StadiumId>
<StadiumName>sample string 3</StadiumName>
<StadiumParentId>13</StadiumParentId>
<StadiumParentName>sample string 14</StadiumParentName>
<StadiumType>15</StadiumType>
<SurfaceName>sample string 4</SurfaceName>
</Stadium>
<Stadium>
<Address>sample string 5</Address>
<City>sample string 7</City>
<DistrictId>8</DistrictId>
<Id>1</Id>
<LastChangedDate>2026-01-01T11:39:08.0245918+01:00</LastChangedDate>
<Latitude>sample string 9</Latitude>
<LightingLux>12</LightingLux>
<Longitude>sample string 10</Longitude>
<PostalCode>sample string 6</PostalCode>
<StadiumId>2</StadiumId>
<StadiumName>sample string 3</StadiumName>
<StadiumParentId>13</StadiumParentId>
<StadiumParentName>sample string 14</StadiumParentName>
<StadiumType>15</StadiumType>
<SurfaceName>sample string 4</SurfaceName>
</Stadium>
</Stadiums>
<UsedStadiumId>1</UsedStadiumId>
</UsedStadiums>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.