PUT api/v2/StadiumGroup/ChangeCustomStadiumVisibility

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 StadiumGroupDto
NameDescriptionTypeAdditional information
StadiumGroupId

integer

None.

CompanyId

globally unique identifier

None.

OrgId

globally unique identifier

None.

StadiumId

integer

None.

StadiumName

string

None.

IsOrg

boolean

None.

StadiumGroupName

string

None.

Stadiums

Collection of StadiumsInStadiumGroup

None.

IsVisible

boolean

None.

CanEdit

boolean

None.

Response 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.StadiumsInStadiumGroup'. Path '[0].stadiums[0].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.StadiumsInStadiumGroup'. Path '[0].stadiums[0].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 'oiback.Classes.StadiumsInStadiumGroup' 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 'oiback.Classes.StadiumsInStadiumGroup' contains cycles and cannot be serialized if reference tracking is disabled.