POST api/V2/team/CoachToTeam

Request Information

URI Parameters

None.

Body Parameters

PlayerToTeamDto
NameDescriptionTypeAdditional information
ID

integer

None.

Avlyst

boolean

None.

MatchID

integer

None.

PlayerId

string

None.

CompanyId

string

None.

Type

string

None.

TeamId

integer

None.

Deltagelse

integer

None.

Reason

string

None.

ReasonId

integer

None.

Title

string

None.

EventDate

date

None.

SpillerNavn

string

None.

PlayerName

string

None.

ReminderCount

integer

None.

Pameldingsfrist

date

None.

Score

decimal number

None.

NumberofPractices

integer

None.

AutoMember

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "avlyst": true,
  "matchID": 3,
  "playerId": "sample string 4",
  "companyId": "sample string 5",
  "type": "sample string 6",
  "teamId": 7,
  "deltagelse": 8,
  "reason": "sample string 9",
  "reasonId": 10,
  "title": "sample string 11",
  "eventDate": "2026-01-01T10:35:33.2902865Z",
  "spillerNavn": "sample string 13",
  "playerName": "sample string 14",
  "reminderCount": 15,
  "pameldingsfrist": "2026-01-01T10:35:33.2902865Z",
  "score": 17.1,
  "numberofPractices": 18,
  "autoMember": true
}

application/xml, text/xml

Sample:
<PlayerToTeamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.DTO">
  <AutoMember>true</AutoMember>
  <Avlyst>true</Avlyst>
  <CompanyId>sample string 5</CompanyId>
  <Deltagelse>8</Deltagelse>
  <EventDate>2026-01-01T11:35:33.2902865+01:00</EventDate>
  <ID>1</ID>
  <MatchID>3</MatchID>
  <NumberofPractices>18</NumberofPractices>
  <Pameldingsfrist>2026-01-01T11:35:33.2902865+01:00</Pameldingsfrist>
  <PlayerId>sample string 4</PlayerId>
  <PlayerName>sample string 14</PlayerName>
  <Reason>sample string 9</Reason>
  <ReasonId>10</ReasonId>
  <ReminderCount>15</ReminderCount>
  <Score>17.1</Score>
  <SpillerNavn>sample string 13</SpillerNavn>
  <TeamId>7</TeamId>
  <Title>sample string 11</Title>
  <Type>sample string 6</Type>
</PlayerToTeamDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.