POST api/V2/district/Usedstadium

Request Information

URI Parameters

None.

Body Parameters

SetUsedStadiumModel
NameDescriptionTypeAdditional information
StadiumId

integer

Required

UsedstadiumId

integer

Required

CompanyId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "stadiumId": 1,
  "usedstadiumId": 2,
  "companyId": "24a5fbbb-3401-4d35-a9ae-9eef44189556"
}

application/xml, text/xml

Sample:
<SetUsedStadiumModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Models">
  <CompanyId>24a5fbbb-3401-4d35-a9ae-9eef44189556</CompanyId>
  <StadiumId>1</StadiumId>
  <UsedstadiumId>2</UsedstadiumId>
</SetUsedStadiumModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UsedStadiumDetails
NameDescriptionTypeAdditional information
Id

integer

None.

UsedStadiumId

integer

None.

StadiumId

integer

None.

BackGroundColor

string

None.

BorderColor

string

None.

TextColor

string

None.

ArrTextColor

string

None.

ArrBorderColor

string

None.

ArrBackgroundColor

string

None.

CupTextColor

string

None.

CupBorderColor

string

None.

CupBackgroundColor

string

None.

TreningTextColor

string

None.

TreningBorderColor

string

None.

TreningBackgroundColor

string

None.

TreningskampTextColor

string

None.

TreningskampBorderColor

string

None.

TreningskampBackgroundColor

string

None.

CompanyId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "usedStadiumId": 2,
  "stadiumId": 3,
  "backGroundColor": "sample string 4",
  "borderColor": "sample string 5",
  "textColor": "sample string 6",
  "arrTextColor": "sample string 7",
  "arrBorderColor": "sample string 8",
  "arrBackgroundColor": "sample string 9",
  "cupTextColor": "sample string 10",
  "cupBorderColor": "sample string 11",
  "cupBackgroundColor": "sample string 12",
  "treningTextColor": "sample string 13",
  "treningBorderColor": "sample string 14",
  "treningBackgroundColor": "sample string 15",
  "treningskampTextColor": "sample string 16",
  "treningskampBorderColor": "sample string 17",
  "treningskampBackgroundColor": "sample string 18",
  "companyId": "a2ffb004-d964-4516-9fe6-f26cdeb49e8b"
}

application/xml, text/xml

Sample:
<UsedStadiumDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <ArrBackgroundColor>sample string 9</ArrBackgroundColor>
  <ArrBorderColor>sample string 8</ArrBorderColor>
  <ArrTextColor>sample string 7</ArrTextColor>
  <BackGroundColor>sample string 4</BackGroundColor>
  <BorderColor>sample string 5</BorderColor>
  <CompanyId>a2ffb004-d964-4516-9fe6-f26cdeb49e8b</CompanyId>
  <CupBackgroundColor>sample string 12</CupBackgroundColor>
  <CupBorderColor>sample string 11</CupBorderColor>
  <CupTextColor>sample string 10</CupTextColor>
  <Id>1</Id>
  <StadiumId>3</StadiumId>
  <TextColor>sample string 6</TextColor>
  <TreningBackgroundColor>sample string 15</TreningBackgroundColor>
  <TreningBorderColor>sample string 14</TreningBorderColor>
  <TreningTextColor>sample string 13</TreningTextColor>
  <TreningskampBackgroundColor>sample string 18</TreningskampBackgroundColor>
  <TreningskampBorderColor>sample string 17</TreningskampBorderColor>
  <TreningskampTextColor>sample string 16</TreningskampTextColor>
  <UsedStadiumId>2</UsedStadiumId>
</UsedStadiumDetails>