POST api/V2/arrangement?teamId={teamId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamId

integer

Default value is 0

Body Parameters

V2Arrangement
NameDescriptionTypeAdditional information
ArangementId

integer

None.

ArrangementName

string

None.

StadiumName

string

None.

StadiumId

integer

None.

DistrictId

integer

None.

SubBane

string

None.

LagNavn

string

None.

Motstander

string

None.

ContactPerson

string

None.

ContactPersonPhone

string

None.

HjemmeLag

boolean

None.

StartTid

date

Data type: Date

SluttTid

date

Data type: Date

Kommentarer

string

None.

TeamId

string

None.

ClubId

string

None.

CreatedByClub

boolean

None.

CustomBane

boolean

None.

ArrangementType

string

None.

Pameldingsfrist

date

None.

HideFromCalendar

boolean

None.

OpprettetAv

globally unique identifier

None.

UpdatedById

string

None.

OppdatertAv

globally unique identifier

None.

UpdatedDate

string

None.

UpdatedDate1

date

None.

UpdatedBy

string

None.

UpdatedByPhone

string

None.

CreatedById

string

None.

CreatedDate

string

None.

CreatedDate1

date

None.

CreatedBy

string

None.

CreatedByPhone

string

None.

EgenBetaling

integer

None.

Avlyst

boolean

None.

EventId

integer

None.

IsRecursive

boolean

None.

RecursiveId

string

None.

RecursiveEndTime

string

None.

RecursiveStartTime

string

None.

RecursiveRule

string

None.

RecursiveExeptions

string

None.

SpilleGrupper

string

None.

BackgroundColor

string

None.

TextColor

string

None.

BorderColor

string

None.

IsExternal

boolean

None.

IsClub

boolean

None.

ShowInBaneDagbok

boolean

None.

OppmoteMinutesBefore

integer

None.

DaysBeforePamelding

integer

None.

HovedTrener

boolean

None.

EventTypeName

string

None.

RecursiveEndTime1

date

None.

IsReadOnly

boolean

None.

RecursiveStartTime1

date

None.

Spillere

boolean

None.

Trenere

boolean

None.

LagLeder

boolean

None.

Reason

string

None.

TeamIds

Collection of string

None.

FulltBetalt

boolean

None.

Deltagelse

integer

None.

LockedForEdit

boolean

None.

CanDelete

boolean

None.

Participants

Collection of PlayerToTeam

None.

Longitude

string

None.

Latitude

string

None.

Type

string

None.

MatchHomeTeam

string

None.

MatchAwayTeam

string

None.

HomeTeamGoals

integer

None.

AwayTeamGoals

integer

None.

HomeTeamContactPerson

string

None.

HomeTeamContactPersonPhone

string

None.

AwayTeamContactPerson

string

None.

AwayTeamContactPersonPhone

string

None.

Referee

string

None.

RefereePhone

string

None.

HomeTeamClubId

string

None.

AwayTeamClubId

string

None.

CssClass

string

None.

IsMatch

boolean

None.

Klasse

string

None.

ParentStadiumId1

integer

None.

ParentStadiumId2

integer

None.

ParentStadiumId3

integer

None.

ParentStadiumId4

integer

None.

ParentStadiumId5

integer

None.

IsBlock

boolean

None.

IsFinished

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "arangementId": 1,
  "arrangementName": "sample string 2",
  "stadiumName": "sample string 3",
  "stadiumId": 4,
  "districtId": 5,
  "subBane": "sample string 6",
  "lagNavn": "sample string 7",
  "motstander": "sample string 8",
  "contactPerson": "sample string 9",
  "contactPersonPhone": "sample string 10",
  "hjemmeLag": true,
  "startTid": "2026-01-01T10:37:17.2977325Z",
  "sluttTid": "2026-01-01T10:37:17.2977325Z",
  "kommentarer": "sample string 14",
  "teamId": "sample string 15",
  "clubId": "sample string 16",
  "createdByClub": true,
  "customBane": true,
  "arrangementType": "sample string 19",
  "pameldingsfrist": "2026-01-01T10:37:17.2977325Z",
  "hideFromCalendar": true,
  "opprettetAv": "81c04b4d-1a06-4901-a84f-a220645a7704",
  "updatedById": "sample string 23",
  "oppdatertAv": "4c75e1e4-85a5-4f19-a90a-06af8d474cb4",
  "updatedDate": "sample string 25",
  "updatedDate1": "2026-01-01T10:37:17.2977325Z",
  "updatedBy": "sample string 27",
  "updatedByPhone": "sample string 28",
  "createdById": "sample string 29",
  "createdDate": "sample string 30",
  "createdDate1": "2026-01-01T10:37:17.2977325Z",
  "createdBy": "sample string 32",
  "createdByPhone": "sample string 33",
  "egenBetaling": 34,
  "avlyst": true,
  "eventId": 36,
  "isRecursive": true,
  "recursiveId": "sample string 38",
  "recursiveEndTime": "sample string 39",
  "recursiveStartTime": "sample string 40",
  "recursiveRule": "sample string 41",
  "recursiveExeptions": "sample string 42",
  "spilleGrupper": "sample string 43",
  "backgroundColor": "sample string 44",
  "textColor": "sample string 45",
  "borderColor": "sample string 46",
  "isExternal": true,
  "isClub": true,
  "showInBaneDagbok": true,
  "oppmoteMinutesBefore": 50,
  "daysBeforePamelding": 51,
  "hovedTrener": true,
  "eventTypeName": "sample string 53",
  "recursiveEndTime1": "2026-01-01T10:37:17.2977325Z",
  "isReadOnly": true,
  "recursiveStartTime1": "2026-01-01T10:37:17.2977325Z",
  "spillere": true,
  "trenere": true,
  "lagLeder": true,
  "reason": "sample string 60",
  "teamIds": [
    "sample string 1",
    "sample string 2"
  ],
  "fulltBetalt": true,
  "deltagelse": 62,
  "lockedForEdit": false,
  "canDelete": true,
  "participants": [
    {
      "id": 1,
      "matchId": 2,
      "playerId": "99fa20a3-bbb5-47f3-9e12-023304341371",
      "companyId": "fed9834d-4aa1-415a-9ad5-7a93dd598259",
      "type": "sample string 5",
      "typeId": 6,
      "eventId": 7,
      "teamId": 8,
      "deltagelse": 9,
      "reason": "sample string 10",
      "reasonId": 11,
      "title": "sample string 12",
      "eventDate": "2026-01-01T10:37:17.2977325Z",
      "spillerNavn": "sample string 14",
      "randomString": "sample string 15",
      "reminderCount": 16,
      "egenbetaling": 17,
      "betalt": true,
      "betaltMed": "sample string 19",
      "betaltDato": "sample string 20",
      "purretDato": "2026-01-01T10:37:17.2977325Z",
      "antallPurringer": 22,
      "endretDato": "2026-01-01T10:37:17.2977325Z",
      "endretAv": "sample string 24",
      "ip": "sample string 25",
      "statusDato2": "2026-01-01T10:37:17.2977325Z",
      "oppmote": "2026-01-01T10:37:17.2977325Z",
      "inTeam": true,
      "avlyst": true,
      "isCoach": true,
      "isHospitant": true,
      "isReferee": true,
      "autoMember": true,
      "seasonId": 34,
      "plattform": "sample string 35",
      "isDeleted": true,
      "daysBeforePamelding": 37,
      "score": 38.1,
      "selected": true,
      "haschanged": true,
      "playerNumber": 41,
      "show": true,
      "phone": "sample string 43",
      "pameldingsfrist": "2026-01-01T10:37:17.2977325Z",
      "stadiumName": "sample string 45",
      "stadiumAddress": "sample string 46",
      "stadiumPostalAddress": "sample string 47",
      "rw": true,
      "endDate": "2026-01-01T10:37:17.2977325Z",
      "description": "sample string 50"
    },
    {
      "id": 1,
      "matchId": 2,
      "playerId": "99fa20a3-bbb5-47f3-9e12-023304341371",
      "companyId": "fed9834d-4aa1-415a-9ad5-7a93dd598259",
      "type": "sample string 5",
      "typeId": 6,
      "eventId": 7,
      "teamId": 8,
      "deltagelse": 9,
      "reason": "sample string 10",
      "reasonId": 11,
      "title": "sample string 12",
      "eventDate": "2026-01-01T10:37:17.2977325Z",
      "spillerNavn": "sample string 14",
      "randomString": "sample string 15",
      "reminderCount": 16,
      "egenbetaling": 17,
      "betalt": true,
      "betaltMed": "sample string 19",
      "betaltDato": "sample string 20",
      "purretDato": "2026-01-01T10:37:17.2977325Z",
      "antallPurringer": 22,
      "endretDato": "2026-01-01T10:37:17.2977325Z",
      "endretAv": "sample string 24",
      "ip": "sample string 25",
      "statusDato2": "2026-01-01T10:37:17.2977325Z",
      "oppmote": "2026-01-01T10:37:17.2977325Z",
      "inTeam": true,
      "avlyst": true,
      "isCoach": true,
      "isHospitant": true,
      "isReferee": true,
      "autoMember": true,
      "seasonId": 34,
      "plattform": "sample string 35",
      "isDeleted": true,
      "daysBeforePamelding": 37,
      "score": 38.1,
      "selected": true,
      "haschanged": true,
      "playerNumber": 41,
      "show": true,
      "phone": "sample string 43",
      "pameldingsfrist": "2026-01-01T10:37:17.2977325Z",
      "stadiumName": "sample string 45",
      "stadiumAddress": "sample string 46",
      "stadiumPostalAddress": "sample string 47",
      "rw": true,
      "endDate": "2026-01-01T10:37:17.2977325Z",
      "description": "sample string 50"
    }
  ],
  "longitude": "sample string 64",
  "latitude": "sample string 65",
  "type": "sample string 66",
  "matchHomeTeam": "sample string 67",
  "matchAwayTeam": "sample string 68",
  "homeTeamGoals": 69,
  "awayTeamGoals": 70,
  "homeTeamContactPerson": "sample string 71",
  "homeTeamContactPersonPhone": "sample string 72",
  "awayTeamContactPerson": "sample string 73",
  "awayTeamContactPersonPhone": "sample string 74",
  "referee": "sample string 75",
  "refereePhone": "sample string 76",
  "homeTeamClubId": "sample string 77",
  "awayTeamClubId": "sample string 78",
  "cssClass": "sample string 79",
  "isMatch": true,
  "klasse": "sample string 81",
  "parentStadiumId1": 82,
  "parentStadiumId2": 83,
  "parentStadiumId3": 84,
  "parentStadiumId4": 85,
  "parentStadiumId5": 86,
  "isBlock": true,
  "isFinished": true
}

application/xml, text/xml

Sample:
<V2Arrangement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <ArangementId>1</ArangementId>
  <ArrangementName>sample string 2</ArrangementName>
  <ArrangementType>sample string 19</ArrangementType>
  <Avlyst>true</Avlyst>
  <AwayTeamClubId>sample string 78</AwayTeamClubId>
  <AwayTeamContactPerson>sample string 73</AwayTeamContactPerson>
  <AwayTeamContactPersonPhone>sample string 74</AwayTeamContactPersonPhone>
  <AwayTeamGoals>70</AwayTeamGoals>
  <BackgroundColor>sample string 44</BackgroundColor>
  <BorderColor>sample string 46</BorderColor>
  <CanDelete>true</CanDelete>
  <ClubId>sample string 16</ClubId>
  <ContactPerson>sample string 9</ContactPerson>
  <ContactPersonPhone>sample string 10</ContactPersonPhone>
  <CreatedBy>sample string 32</CreatedBy>
  <CreatedByClub>true</CreatedByClub>
  <CreatedById>sample string 29</CreatedById>
  <CreatedByPhone>sample string 33</CreatedByPhone>
  <CreatedDate>sample string 30</CreatedDate>
  <CreatedDate1>2026-01-01T11:37:17.2977325+01:00</CreatedDate1>
  <CssClass>sample string 79</CssClass>
  <CustomBane>true</CustomBane>
  <DaysBeforePamelding>51</DaysBeforePamelding>
  <Deltagelse>62</Deltagelse>
  <DistrictId>5</DistrictId>
  <EgenBetaling>34</EgenBetaling>
  <EventId>36</EventId>
  <EventTypeName>sample string 53</EventTypeName>
  <FulltBetalt>true</FulltBetalt>
  <HideFromCalendar>true</HideFromCalendar>
  <HjemmeLag>true</HjemmeLag>
  <HomeTeamClubId>sample string 77</HomeTeamClubId>
  <HomeTeamContactPerson>sample string 71</HomeTeamContactPerson>
  <HomeTeamContactPersonPhone>sample string 72</HomeTeamContactPersonPhone>
  <HomeTeamGoals>69</HomeTeamGoals>
  <HovedTrener>true</HovedTrener>
  <IsBlock>true</IsBlock>
  <IsClub>true</IsClub>
  <IsExternal>true</IsExternal>
  <IsFinished>true</IsFinished>
  <IsMatch>true</IsMatch>
  <IsReadOnly>true</IsReadOnly>
  <IsRecursive>true</IsRecursive>
  <Klasse>sample string 81</Klasse>
  <Kommentarer>sample string 14</Kommentarer>
  <LagLeder>true</LagLeder>
  <LagNavn>sample string 7</LagNavn>
  <Latitude>sample string 65</Latitude>
  <Longitude>sample string 64</Longitude>
  <MatchAwayTeam>sample string 68</MatchAwayTeam>
  <MatchHomeTeam>sample string 67</MatchHomeTeam>
  <Motstander>sample string 8</Motstander>
  <OppdatertAv>4c75e1e4-85a5-4f19-a90a-06af8d474cb4</OppdatertAv>
  <OppmoteMinutesBefore>50</OppmoteMinutesBefore>
  <OpprettetAv>81c04b4d-1a06-4901-a84f-a220645a7704</OpprettetAv>
  <Pameldingsfrist>2026-01-01T11:37:17.2977325+01:00</Pameldingsfrist>
  <ParentStadiumId1>82</ParentStadiumId1>
  <ParentStadiumId2>83</ParentStadiumId2>
  <ParentStadiumId3>84</ParentStadiumId3>
  <ParentStadiumId4>85</ParentStadiumId4>
  <ParentStadiumId5>86</ParentStadiumId5>
  <Participants>
    <PlayerToTeam>
      <AntallPurringer>22</AntallPurringer>
      <AutoMember>true</AutoMember>
      <Avlyst>true</Avlyst>
      <Betalt>true</Betalt>
      <BetaltDato>sample string 20</BetaltDato>
      <BetaltMed>sample string 19</BetaltMed>
      <CompanyId>fed9834d-4aa1-415a-9ad5-7a93dd598259</CompanyId>
      <DaysBeforePamelding>37</DaysBeforePamelding>
      <Deltagelse>9</Deltagelse>
      <Description>sample string 50</Description>
      <Egenbetaling>17</Egenbetaling>
      <EndDate>2026-01-01T11:37:17.2977325+01:00</EndDate>
      <EndretAv>sample string 24</EndretAv>
      <EndretDato>2026-01-01T11:37:17.2977325+01:00</EndretDato>
      <EventDate>2026-01-01T11:37:17.2977325+01:00</EventDate>
      <EventId>7</EventId>
      <Haschanged>true</Haschanged>
      <Id>1</Id>
      <InTeam>true</InTeam>
      <Ip>sample string 25</Ip>
      <IsCoach>true</IsCoach>
      <IsDeleted>true</IsDeleted>
      <IsHospitant>true</IsHospitant>
      <IsReferee>true</IsReferee>
      <MatchId>2</MatchId>
      <Oppmote>2026-01-01T11:37:17.2977325+01:00</Oppmote>
      <Pameldingsfrist>2026-01-01T11:37:17.2977325+01:00</Pameldingsfrist>
      <Phone>sample string 43</Phone>
      <Plattform>sample string 35</Plattform>
      <PlayerId>99fa20a3-bbb5-47f3-9e12-023304341371</PlayerId>
      <PlayerNumber>41</PlayerNumber>
      <PurretDato>2026-01-01T11:37:17.2977325+01:00</PurretDato>
      <RandomString>sample string 15</RandomString>
      <Reason>sample string 10</Reason>
      <ReasonId>11</ReasonId>
      <ReminderCount>16</ReminderCount>
      <Rw>true</Rw>
      <Score>38.1</Score>
      <SeasonId>34</SeasonId>
      <Selected>true</Selected>
      <Show>true</Show>
      <SpillerNavn>sample string 14</SpillerNavn>
      <StadiumAddress>sample string 46</StadiumAddress>
      <StadiumName>sample string 45</StadiumName>
      <StadiumPostalAddress>sample string 47</StadiumPostalAddress>
      <StatusDato2>2026-01-01T11:37:17.2977325+01:00</StatusDato2>
      <TeamId>8</TeamId>
      <Title>sample string 12</Title>
      <Type>sample string 5</Type>
      <TypeId>6</TypeId>
    </PlayerToTeam>
    <PlayerToTeam>
      <AntallPurringer>22</AntallPurringer>
      <AutoMember>true</AutoMember>
      <Avlyst>true</Avlyst>
      <Betalt>true</Betalt>
      <BetaltDato>sample string 20</BetaltDato>
      <BetaltMed>sample string 19</BetaltMed>
      <CompanyId>fed9834d-4aa1-415a-9ad5-7a93dd598259</CompanyId>
      <DaysBeforePamelding>37</DaysBeforePamelding>
      <Deltagelse>9</Deltagelse>
      <Description>sample string 50</Description>
      <Egenbetaling>17</Egenbetaling>
      <EndDate>2026-01-01T11:37:17.2977325+01:00</EndDate>
      <EndretAv>sample string 24</EndretAv>
      <EndretDato>2026-01-01T11:37:17.2977325+01:00</EndretDato>
      <EventDate>2026-01-01T11:37:17.2977325+01:00</EventDate>
      <EventId>7</EventId>
      <Haschanged>true</Haschanged>
      <Id>1</Id>
      <InTeam>true</InTeam>
      <Ip>sample string 25</Ip>
      <IsCoach>true</IsCoach>
      <IsDeleted>true</IsDeleted>
      <IsHospitant>true</IsHospitant>
      <IsReferee>true</IsReferee>
      <MatchId>2</MatchId>
      <Oppmote>2026-01-01T11:37:17.2977325+01:00</Oppmote>
      <Pameldingsfrist>2026-01-01T11:37:17.2977325+01:00</Pameldingsfrist>
      <Phone>sample string 43</Phone>
      <Plattform>sample string 35</Plattform>
      <PlayerId>99fa20a3-bbb5-47f3-9e12-023304341371</PlayerId>
      <PlayerNumber>41</PlayerNumber>
      <PurretDato>2026-01-01T11:37:17.2977325+01:00</PurretDato>
      <RandomString>sample string 15</RandomString>
      <Reason>sample string 10</Reason>
      <ReasonId>11</ReasonId>
      <ReminderCount>16</ReminderCount>
      <Rw>true</Rw>
      <Score>38.1</Score>
      <SeasonId>34</SeasonId>
      <Selected>true</Selected>
      <Show>true</Show>
      <SpillerNavn>sample string 14</SpillerNavn>
      <StadiumAddress>sample string 46</StadiumAddress>
      <StadiumName>sample string 45</StadiumName>
      <StadiumPostalAddress>sample string 47</StadiumPostalAddress>
      <StatusDato2>2026-01-01T11:37:17.2977325+01:00</StatusDato2>
      <TeamId>8</TeamId>
      <Title>sample string 12</Title>
      <Type>sample string 5</Type>
      <TypeId>6</TypeId>
    </PlayerToTeam>
  </Participants>
  <Reason>sample string 60</Reason>
  <RecursiveEndTime>sample string 39</RecursiveEndTime>
  <RecursiveEndTime1>2026-01-01T11:37:17.2977325+01:00</RecursiveEndTime1>
  <RecursiveExeptions>sample string 42</RecursiveExeptions>
  <RecursiveId>sample string 38</RecursiveId>
  <RecursiveRule>sample string 41</RecursiveRule>
  <RecursiveStartTime>sample string 40</RecursiveStartTime>
  <RecursiveStartTime1>2026-01-01T11:37:17.2977325+01:00</RecursiveStartTime1>
  <Referee>sample string 75</Referee>
  <RefereePhone>sample string 76</RefereePhone>
  <ShowInBaneDagbok>true</ShowInBaneDagbok>
  <SluttTid>2026-01-01T11:37:17.2977325+01:00</SluttTid>
  <SpilleGrupper>sample string 43</SpilleGrupper>
  <Spillere>true</Spillere>
  <StadiumId>4</StadiumId>
  <StadiumName>sample string 3</StadiumName>
  <StartTid>2026-01-01T11:37:17.2977325+01:00</StartTid>
  <SubBane>sample string 6</SubBane>
  <TeamId>sample string 15</TeamId>
  <TeamIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TeamIds>
  <TextColor>sample string 45</TextColor>
  <Trenere>true</Trenere>
  <Type>sample string 66</Type>
  <UpdatedBy>sample string 27</UpdatedBy>
  <UpdatedById>sample string 23</UpdatedById>
  <UpdatedByPhone>sample string 28</UpdatedByPhone>
  <UpdatedDate>sample string 25</UpdatedDate>
  <UpdatedDate1>2026-01-01T11:37:17.2977325+01:00</UpdatedDate1>
</V2Arrangement>

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.