POST api/V2/sekretariat/addVaktToCup
Request Information
URI Parameters
None.
Body Parameters
CmVaktlisterOld| Name | Description | Type | Additional information |
|---|---|---|---|
| VaktId | integer |
None. |
|
| CupId | integer |
None. |
|
| UserId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
None. |
|
| TeamId | globally unique identifier |
None. |
|
| Vakt | string |
None. |
|
| Dag | string |
None. |
|
| Hvor | string |
None. |
|
| Gruppe | string |
None. |
|
| Dato | date |
None. |
|
| Vaktleder_tlf | string |
None. |
|
| Vaktleder | string |
None. |
|
| Fra | date |
None. |
|
| Til | date |
None. |
|
| RegistrertTid | date |
None. |
|
| PurretTid | date |
None. |
|
| SpillerNavn | string |
None. |
|
| Foresatt | string |
None. |
|
| Mobil | string |
None. |
|
| Lag | string |
None. |
|
| Tamed | string |
None. |
|
| Searchstring | string |
None. |
|
| Registrert | boolean |
None. |
|
| Purret | boolean |
None. |
|
| Kommentar | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"vaktId": 1,
"cupId": 2,
"userId": "3753b0ef-72fd-4c43-949a-75ad2fae8a4c",
"clubId": "e91dad55-77e0-4b84-8a59-6e90eb9907b6",
"teamId": "eaaaafab-a7ed-44c9-a224-8ebc48e25ee7",
"vakt": "sample string 6",
"dag": "sample string 7",
"hvor": "sample string 8",
"gruppe": "sample string 9",
"dato": "2026-03-02T21:13:09.5899594Z",
"vaktleder_tlf": "sample string 11",
"vaktleder": "sample string 12",
"fra": "2026-03-02T21:13:09.5899594Z",
"til": "2026-03-02T21:13:09.5899594Z",
"registrertTid": "2026-03-02T21:13:09.5899594Z",
"purretTid": "2026-03-02T21:13:09.5899594Z",
"spillerNavn": "sample string 17",
"foresatt": "sample string 18",
"mobil": "sample string 19",
"lag": "sample string 20",
"tamed": "sample string 21",
"searchstring": "sample string 22",
"registrert": true,
"purret": true,
"kommentar": "sample string 25"
}
application/xml, text/xml
Sample:
<CmVaktlisterOld xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes"> <ClubId>e91dad55-77e0-4b84-8a59-6e90eb9907b6</ClubId> <CupId>2</CupId> <Dag>sample string 7</Dag> <Dato>2026-03-02T22:13:09.5899594+01:00</Dato> <Foresatt>sample string 18</Foresatt> <Fra>2026-03-02T22:13:09.5899594+01:00</Fra> <Gruppe>sample string 9</Gruppe> <Hvor>sample string 8</Hvor> <Kommentar>sample string 25</Kommentar> <Lag>sample string 20</Lag> <Mobil>sample string 19</Mobil> <Purret>true</Purret> <PurretTid>2026-03-02T22:13:09.5899594+01:00</PurretTid> <Registrert>true</Registrert> <RegistrertTid>2026-03-02T22:13:09.5899594+01:00</RegistrertTid> <Searchstring>sample string 22</Searchstring> <SpillerNavn>sample string 17</SpillerNavn> <Tamed>sample string 21</Tamed> <TeamId>eaaaafab-a7ed-44c9-a224-8ebc48e25ee7</TeamId> <Til>2026-03-02T22:13:09.5899594+01:00</Til> <UserId>3753b0ef-72fd-4c43-949a-75ad2fae8a4c</UserId> <Vakt>sample string 6</Vakt> <VaktId>1</VaktId> <Vaktleder>sample string 12</Vaktleder> <Vaktleder_tlf>sample string 11</Vaktleder_tlf> </CmVaktlisterOld>
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.