POST api/v2/StadiumGroup/stadiumInStadiumGroup?stadiumGroupId={stadiumGroupId}&id={id}&isClub={isClub}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stadiumGroupId

integer

Required

id

globally unique identifier

Required

isClub

boolean

Required

Body Parameters

Collection of StadiumsInStadiumGroup
NameDescriptionTypeAdditional information
Id

integer

None.

StadiumGroupId

integer

None.

StadiumId

integer

None.

DistrictId

integer

None.

StadiumName

string

None.

VisibleForTeams

boolean

None.

ParentStadiumId

integer

None.

ShortName

string

None.

TeamId

globally unique identifier

None.

ClubId

globally unique identifier

None.

SortOrder

integer

None.

NoCredentials

boolean

None.

StadiumParentId

integer

None.

Stadiums

Collection of StadiumsInStadiumGroup

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.StadiumsInStadiumGroup'. Path '[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'.

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.

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 'List`1'.

Response Information

Resource Description

Collection of StadiumsInStadiumGroup
NameDescriptionTypeAdditional information
Id

integer

None.

StadiumGroupId

integer

None.

StadiumId

integer

None.

DistrictId

integer

None.

StadiumName

string

None.

VisibleForTeams

boolean

None.

ParentStadiumId

integer

None.

ShortName

string

None.

TeamId

globally unique identifier

None.

ClubId

globally unique identifier

None.

SortOrder

integer

None.

NoCredentials

boolean

None.

StadiumParentId

integer

None.

Stadiums

Collection of StadiumsInStadiumGroup

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'.

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'.

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.