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. |
Request Formats
application/json, text/json
Sample:
{
"cupTeamId": 1,
"orgId": "699f3d5f-34f6-4241-8ab5-a6a1747e8dae",
"clubId": "74f2ec54-484e-400a-af5f-381b904452bc",
"userId": "030b35b1-b8ec-41e8-8da5-2647987fb87b",
"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-01-01T10:37:04.890615Z",
"filnavn": "sample string 25",
"trukket": true,
"kommentarer": "sample string 27",
"isDeleted": true,
"noPhoto": true,
"noShow": true,
"pameldtDato": "2026-01-01T10:37:04.890615Z",
"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"
}
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>74f2ec54-484e-400a-af5f-381b904452bc</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-01-01T11:37:04.890615+01: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>699f3d5f-34f6-4241-8ab5-a6a1747e8dae</OrgId>
<PameldtDato>2026-01-01T11:37:04.890615+01: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>030b35b1-b8ec-41e8-8da5-2647987fb87b</UserId>
</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.