POST api/V2/sekretariat/updateTeam
Request Information
URI Parameters
None.
Body Parameters
CmTeam| Name | Description | Type | Additional information |
|---|---|---|---|
| cupTeamId | integer |
None. |
|
| orgId | globally unique identifier |
None. |
|
| clubId | globally unique identifier |
None. |
|
| userId | globally unique identifier |
None. |
|
| cupId | integer |
None. |
|
| cupManagerId | integer |
None. |
|
| clubName | string |
None. |
|
| teamId | integer |
None. |
|
| lagNavn | string |
None. |
|
| sokLagNavn | string |
None. |
|
| klasseId | integer |
None. |
|
| klasse | string |
None. |
|
| draktFarge | string |
None. |
|
| draktFargeHex | string |
None. |
|
| draktURL | string |
None. |
|
| lagLeder | string |
None. |
|
| epost | string |
None. |
|
| mobil | string |
None. |
|
| registrert | boolean |
None. |
|
| fotografert | boolean |
None. |
|
| levert | boolean |
None. |
|
| skrevetUt | boolean |
None. |
|
| bildeId | integer |
None. |
|
| forsteKamp | date |
None. |
|
| filnavn | string |
None. |
|
| trukket | boolean |
None. |
|
| kommentarer | string |
None. |
|
| isDeleted | boolean |
None. |
|
| noPhoto | boolean |
None. |
|
| noShow | boolean |
None. |
|
| pameldtDato | date |
None. |
|
| spillere | Collection of CmPlayers |
None. |
|
| bilde | string |
None. |
|
| bildeHigh | string |
None. |
|
| bildeLow | string |
None. |
|
| FieldLastMatch | string |
None. |
|
| matches | Collection of CmResults |
None. |
Request Formats
application/json, text/json
Sample:
{
"cupTeamId": 1,
"orgId": "1328778b-7410-4df0-a7c8-e3e9009bfcac",
"clubId": "c3a84fbe-04c3-4b24-8f86-a92de155c27a",
"userId": "d10cdc1c-3df3-4753-9f49-0a2271a7af3f",
"cupId": 5,
"cupManagerId": 6,
"clubName": "sample string 7",
"teamId": 8,
"lagNavn": "sample string 9",
"sokLagNavn": "sample string 10",
"klasseId": 11,
"klasse": "sample string 12",
"draktFarge": "sample string 13",
"draktFargeHex": "sample string 14",
"draktURL": "sample string 15",
"lagLeder": "sample string 16",
"epost": "sample string 17",
"mobil": "sample string 18",
"registrert": true,
"fotografert": true,
"levert": true,
"skrevetUt": true,
"bildeId": 23,
"forsteKamp": "2026-08-29T11:18:49.9040743Z",
"filnavn": "sample string 25",
"trukket": true,
"kommentarer": "sample string 27",
"isDeleted": true,
"noPhoto": true,
"noShow": true,
"pameldtDato": "2026-08-29T11:18:49.9040743Z",
"spillere": [
{
"cupTeamPlayersId": 1,
"cupTeamId": 2,
"playerName": "sample string 3",
"draktNr": "sample string 4",
"importedPlayerId": 5,
"cupId": 6,
"isDeleted": true
},
{
"cupTeamPlayersId": 1,
"cupTeamId": 2,
"playerName": "sample string 3",
"draktNr": "sample string 4",
"importedPlayerId": 5,
"cupId": 6,
"isDeleted": true
}
],
"bilde": "sample string 32",
"bildeHigh": "sample string 33",
"bildeLow": "sample string 34",
"fieldLastMatch": "sample string 35",
"matches": [
{
"id": 1,
"matchId": 2,
"matchNr": "sample string 3",
"home": {
"id": 1,
"name": "sample string 2",
"score": 3,
"periodScores": [
1,
2
],
"shirtColor": "sample string 4",
"antiShirtColor": "sample string 5",
"matchstarttime": "2026-08-29T11:18:49.9040743Z"
},
"away": {
"id": 1,
"name": "sample string 2",
"score": 3,
"periodScores": [
1,
2
],
"shirtColor": "sample string 4",
"antiShirtColor": "sample string 5",
"matchstarttime": "2026-08-29T11:18:49.9040743Z"
},
"eventsUrl": "sample string 4",
"matchLengthMinutes": 5,
"periodCount": 6,
"matchPeriodLengths": [
1,
2
],
"startTime": {},
"liveStartTime": {},
"isLive": true,
"isFinished": true,
"serverNow": {},
"locationId": 12,
"locationName": "sample string 13",
"categoryName": "sample string 14",
"categoryShortName": "sample string 15",
"categoryStageName": "sample string 16",
"divisionName": "sample string 17",
"roundName": "sample string 18",
"walkover": true,
"isHidden": true,
"hideResults": true,
"timeZone": "sample string 22",
"periods": 23,
"location": "sample string 24"
},
{
"id": 1,
"matchId": 2,
"matchNr": "sample string 3",
"home": {
"id": 1,
"name": "sample string 2",
"score": 3,
"periodScores": [
1,
2
],
"shirtColor": "sample string 4",
"antiShirtColor": "sample string 5",
"matchstarttime": "2026-08-29T11:18:49.9040743Z"
},
"away": {
"id": 1,
"name": "sample string 2",
"score": 3,
"periodScores": [
1,
2
],
"shirtColor": "sample string 4",
"antiShirtColor": "sample string 5",
"matchstarttime": "2026-08-29T11:18:49.9040743Z"
},
"eventsUrl": "sample string 4",
"matchLengthMinutes": 5,
"periodCount": 6,
"matchPeriodLengths": [
1,
2
],
"startTime": {},
"liveStartTime": {},
"isLive": true,
"isFinished": true,
"serverNow": {},
"locationId": 12,
"locationName": "sample string 13",
"categoryName": "sample string 14",
"categoryShortName": "sample string 15",
"categoryStageName": "sample string 16",
"divisionName": "sample string 17",
"roundName": "sample string 18",
"walkover": true,
"isHidden": true,
"hideResults": true,
"timeZone": "sample string 22",
"periods": 23,
"location": "sample string 24"
}
]
}
application/xml, text/xml
Sample:
<CmTeam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<Bilde>sample string 32</Bilde>
<BildeHigh>sample string 33</BildeHigh>
<BildeId>23</BildeId>
<BildeLow>sample string 34</BildeLow>
<ClubId>c3a84fbe-04c3-4b24-8f86-a92de155c27a</ClubId>
<ClubName>sample string 7</ClubName>
<CupId>5</CupId>
<CupManagerId>6</CupManagerId>
<CupTeamId>1</CupTeamId>
<DraktFarge>sample string 13</DraktFarge>
<DraktFargeHex>sample string 14</DraktFargeHex>
<DraktUrl>sample string 15</DraktUrl>
<Epost>sample string 17</Epost>
<FieldLastMatch>sample string 35</FieldLastMatch>
<Filnavn>sample string 25</Filnavn>
<ForsteKamp>2026-08-29T13:18:49.9040743+02:00</ForsteKamp>
<Fotografert>true</Fotografert>
<IsDeleted>true</IsDeleted>
<Klasse>sample string 12</Klasse>
<KlasseId>11</KlasseId>
<Kommentarer>sample string 27</Kommentarer>
<LagNavn>sample string 9</LagNavn>
<Lagleder>sample string 16</Lagleder>
<Levert>true</Levert>
<Mobil>sample string 18</Mobil>
<NoPhoto>true</NoPhoto>
<NoShow>true</NoShow>
<OrgId>1328778b-7410-4df0-a7c8-e3e9009bfcac</OrgId>
<PameldtDato>2026-08-29T13:18:49.9040743+02:00</PameldtDato>
<Registrert>true</Registrert>
<SkrevetUt>true</SkrevetUt>
<SokLagNavn>sample string 10</SokLagNavn>
<Spillere>
<CmPlayers>
<CupId>6</CupId>
<CupTeamId>2</CupTeamId>
<CupTeamPlayersId>1</CupTeamPlayersId>
<DraktNr>sample string 4</DraktNr>
<ImportedPlayerId>5</ImportedPlayerId>
<IsDeleted>true</IsDeleted>
<PlayerName>sample string 3</PlayerName>
</CmPlayers>
<CmPlayers>
<CupId>6</CupId>
<CupTeamId>2</CupTeamId>
<CupTeamPlayersId>1</CupTeamPlayersId>
<DraktNr>sample string 4</DraktNr>
<ImportedPlayerId>5</ImportedPlayerId>
<IsDeleted>true</IsDeleted>
<PlayerName>sample string 3</PlayerName>
</CmPlayers>
</Spillere>
<TeamId>8</TeamId>
<Trukket>true</Trukket>
<UserId>d10cdc1c-3df3-4753-9f49-0a2271a7af3f</UserId>
<matches xmlns:d2p1="http://schemas.datacontract.org/2004/07/oiback.Classes.CupManager">
<d2p1:CmResults>
<d2p1:Away>
<d2p1:AntiShirtColor>sample string 5</d2p1:AntiShirtColor>
<d2p1:Id>1</d2p1:Id>
<d2p1:Matchstarttime>2026-08-29T13:18:49.9040743+02:00</d2p1:Matchstarttime>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PeriodScores xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</d2p1:PeriodScores>
<d2p1:Score>3</d2p1:Score>
<d2p1:ShirtColor>sample string 4</d2p1:ShirtColor>
</d2p1:Away>
<d2p1:CategoryName>sample string 14</d2p1:CategoryName>
<d2p1:CategoryShortName>sample string 15</d2p1:CategoryShortName>
<d2p1:CategoryStageName>sample string 16</d2p1:CategoryStageName>
<d2p1:DivisionName>sample string 17</d2p1:DivisionName>
<d2p1:EventsUrl>sample string 4</d2p1:EventsUrl>
<d2p1:HideResults>true</d2p1:HideResults>
<d2p1:Home>
<d2p1:AntiShirtColor>sample string 5</d2p1:AntiShirtColor>
<d2p1:Id>1</d2p1:Id>
<d2p1:Matchstarttime>2026-08-29T13:18:49.9040743+02:00</d2p1:Matchstarttime>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PeriodScores xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</d2p1:PeriodScores>
<d2p1:Score>3</d2p1:Score>
<d2p1:ShirtColor>sample string 4</d2p1:ShirtColor>
</d2p1:Home>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsFinished>true</d2p1:IsFinished>
<d2p1:IsHidden>true</d2p1:IsHidden>
<d2p1:IsLive>true</d2p1:IsLive>
<d2p1:LiveStartTime />
<d2p1:Location>sample string 24</d2p1:Location>
<d2p1:LocationId>12</d2p1:LocationId>
<d2p1:LocationName>sample string 13</d2p1:LocationName>
<d2p1:MatchId>2</d2p1:MatchId>
<d2p1:MatchLengthMinutes>5</d2p1:MatchLengthMinutes>
<d2p1:MatchNr>sample string 3</d2p1:MatchNr>
<d2p1:MatchPeriodLengths xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:MatchPeriodLengths>
<d2p1:PeriodCount>6</d2p1:PeriodCount>
<d2p1:Periods>23</d2p1:Periods>
<d2p1:RoundName>sample string 18</d2p1:RoundName>
<d2p1:ServerNow />
<d2p1:StartTime />
<d2p1:TimeZone>sample string 22</d2p1:TimeZone>
<d2p1:Walkover>true</d2p1:Walkover>
</d2p1:CmResults>
<d2p1:CmResults>
<d2p1:Away>
<d2p1:AntiShirtColor>sample string 5</d2p1:AntiShirtColor>
<d2p1:Id>1</d2p1:Id>
<d2p1:Matchstarttime>2026-08-29T13:18:49.9040743+02:00</d2p1:Matchstarttime>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PeriodScores xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</d2p1:PeriodScores>
<d2p1:Score>3</d2p1:Score>
<d2p1:ShirtColor>sample string 4</d2p1:ShirtColor>
</d2p1:Away>
<d2p1:CategoryName>sample string 14</d2p1:CategoryName>
<d2p1:CategoryShortName>sample string 15</d2p1:CategoryShortName>
<d2p1:CategoryStageName>sample string 16</d2p1:CategoryStageName>
<d2p1:DivisionName>sample string 17</d2p1:DivisionName>
<d2p1:EventsUrl>sample string 4</d2p1:EventsUrl>
<d2p1:HideResults>true</d2p1:HideResults>
<d2p1:Home>
<d2p1:AntiShirtColor>sample string 5</d2p1:AntiShirtColor>
<d2p1:Id>1</d2p1:Id>
<d2p1:Matchstarttime>2026-08-29T13:18:49.9040743+02:00</d2p1:Matchstarttime>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PeriodScores xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</d2p1:PeriodScores>
<d2p1:Score>3</d2p1:Score>
<d2p1:ShirtColor>sample string 4</d2p1:ShirtColor>
</d2p1:Home>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsFinished>true</d2p1:IsFinished>
<d2p1:IsHidden>true</d2p1:IsHidden>
<d2p1:IsLive>true</d2p1:IsLive>
<d2p1:LiveStartTime />
<d2p1:Location>sample string 24</d2p1:Location>
<d2p1:LocationId>12</d2p1:LocationId>
<d2p1:LocationName>sample string 13</d2p1:LocationName>
<d2p1:MatchId>2</d2p1:MatchId>
<d2p1:MatchLengthMinutes>5</d2p1:MatchLengthMinutes>
<d2p1:MatchNr>sample string 3</d2p1:MatchNr>
<d2p1:MatchPeriodLengths xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:MatchPeriodLengths>
<d2p1:PeriodCount>6</d2p1:PeriodCount>
<d2p1:Periods>23</d2p1:Periods>
<d2p1:RoundName>sample string 18</d2p1:RoundName>
<d2p1:ServerNow />
<d2p1:StartTime />
<d2p1:TimeZone>sample string 22</d2p1:TimeZone>
<d2p1:Walkover>true</d2p1:Walkover>
</d2p1:CmResults>
</matches>
</CmTeam>
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.