POST api/V2/referee/save

Request Information

URI Parameters

None.

Body Parameters

RefereeDetails
NameDescriptionTypeAdditional information
RefereeNumber

integer

None.

RefereeUserId

globally unique identifier

None.

LocalClubGuid

globally unique identifier

None.

Active

boolean

None.

PersonInfoHidden

boolean

None.

RefereeTypeId

integer

None.

RefereeType

string

None.

RefereeClubId

integer

None.

RefereeClub

string

None.

Comments

string

None.

MaxAge

integer

None.

MinAge

integer

None.

JoinDate

date

None.

StadiumName

string

None.

MatchStartDate

date

None.

RefereeName

string

None.

Matches

Collection of MatchList

None.

SuitableForTeam

boolean

None.

Email

string

None.

MobilePhone

string

None.

Salary

decimal number

None.

MatchesLastYear

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "refereeNumber": 1,
  "refereeUserId": "55058f27-6491-42d9-83df-25cb15aa4dea",
  "localClubGuid": "231fc301-6545-4552-adb2-4774798e6d88",
  "active": true,
  "personInfoHidden": true,
  "refereeTypeId": 6,
  "refereeType": "sample string 7",
  "refereeClubId": 8,
  "refereeClub": "sample string 9",
  "comments": "sample string 10",
  "maxAge": 11,
  "minAge": 12,
  "joinDate": "2026-01-01T10:33:41.0946427Z",
  "stadiumName": "sample string 14",
  "matchStartDate": "2026-01-01T10:33:41.0946427Z",
  "refereeName": "sample string 16",
  "matches": [
    {
      "matchStartDate": "2026-01-01T10:33:41.0946427Z",
      "stadiumName": "sample string 2",
      "matchId": 3,
      "awayTeamName": "sample string 4",
      "homeTeamName": "sample string 5",
      "homeTeamClubId": 6,
      "awayTeamClubId": 7
    },
    {
      "matchStartDate": "2026-01-01T10:33:41.0946427Z",
      "stadiumName": "sample string 2",
      "matchId": 3,
      "awayTeamName": "sample string 4",
      "homeTeamName": "sample string 5",
      "homeTeamClubId": 6,
      "awayTeamClubId": 7
    }
  ],
  "suitableForTeam": true,
  "email": "sample string 18",
  "mobilePhone": "sample string 19",
  "salary": 20.1,
  "matchesLastYear": true
}

application/xml, text/xml

Sample:
<RefereeDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes.V2">
  <Active>true</Active>
  <Comments>sample string 10</Comments>
  <Email>sample string 18</Email>
  <JoinDate>2026-01-01T11:33:41.0946427+01:00</JoinDate>
  <LocalClubGuid>231fc301-6545-4552-adb2-4774798e6d88</LocalClubGuid>
  <MatchStartDate>2026-01-01T11:33:41.0946427+01:00</MatchStartDate>
  <Matches xmlns:d2p1="http://schemas.datacontract.org/2004/07/oiback.Classes">
    <d2p1:MatchList>
      <d2p1:AwayTeamClubId>7</d2p1:AwayTeamClubId>
      <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName>
      <d2p1:HomeTeamClubId>6</d2p1:HomeTeamClubId>
      <d2p1:HomeTeamName>sample string 5</d2p1:HomeTeamName>
      <d2p1:MatchId>3</d2p1:MatchId>
      <d2p1:MatchStartDate>2026-01-01T11:33:41.0946427+01:00</d2p1:MatchStartDate>
      <d2p1:StadiumName>sample string 2</d2p1:StadiumName>
    </d2p1:MatchList>
    <d2p1:MatchList>
      <d2p1:AwayTeamClubId>7</d2p1:AwayTeamClubId>
      <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName>
      <d2p1:HomeTeamClubId>6</d2p1:HomeTeamClubId>
      <d2p1:HomeTeamName>sample string 5</d2p1:HomeTeamName>
      <d2p1:MatchId>3</d2p1:MatchId>
      <d2p1:MatchStartDate>2026-01-01T11:33:41.0946427+01:00</d2p1:MatchStartDate>
      <d2p1:StadiumName>sample string 2</d2p1:StadiumName>
    </d2p1:MatchList>
  </Matches>
  <MatchesLastYear>true</MatchesLastYear>
  <MaxAge>11</MaxAge>
  <MinAge>12</MinAge>
  <MobilePhone>sample string 19</MobilePhone>
  <PersonInfoHidden>true</PersonInfoHidden>
  <RefereeClub>sample string 9</RefereeClub>
  <RefereeClubId>8</RefereeClubId>
  <RefereeName>sample string 16</RefereeName>
  <RefereeNumber>1</RefereeNumber>
  <RefereeType>sample string 7</RefereeType>
  <RefereeTypeId>6</RefereeTypeId>
  <RefereeUserId>55058f27-6491-42d9-83df-25cb15aa4dea</RefereeUserId>
  <Salary>20.1</Salary>
  <StadiumName>sample string 14</StadiumName>
  <SuitableForTeam>true</SuitableForTeam>
</RefereeDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RefereeDetails
NameDescriptionTypeAdditional information
RefereeNumber

integer

None.

RefereeUserId

globally unique identifier

None.

LocalClubGuid

globally unique identifier

None.

Active

boolean

None.

PersonInfoHidden

boolean

None.

RefereeTypeId

integer

None.

RefereeType

string

None.

RefereeClubId

integer

None.

RefereeClub

string

None.

Comments

string

None.

MaxAge

integer

None.

MinAge

integer

None.

JoinDate

date

None.

StadiumName

string

None.

MatchStartDate

date

None.

RefereeName

string

None.

Matches

Collection of MatchList

None.

SuitableForTeam

boolean

None.

Email

string

None.

MobilePhone

string

None.

Salary

decimal number

None.

MatchesLastYear

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "refereeNumber": 1,
  "refereeUserId": "43374d57-137b-48fe-98b5-2847c7028b46",
  "localClubGuid": "5302bd3b-dcde-4eda-9ee1-cc28a5f7cdaf",
  "active": true,
  "personInfoHidden": true,
  "refereeTypeId": 6,
  "refereeType": "sample string 7",
  "refereeClubId": 8,
  "refereeClub": "sample string 9",
  "comments": "sample string 10",
  "maxAge": 11,
  "minAge": 12,
  "joinDate": "2026-01-01T10:33:41.0946427Z",
  "stadiumName": "sample string 14",
  "matchStartDate": "2026-01-01T10:33:41.0946427Z",
  "refereeName": "sample string 16",
  "matches": [
    {
      "matchStartDate": "2026-01-01T10:33:41.0946427Z",
      "stadiumName": "sample string 2",
      "matchId": 3,
      "awayTeamName": "sample string 4",
      "homeTeamName": "sample string 5",
      "homeTeamClubId": 6,
      "awayTeamClubId": 7
    },
    {
      "matchStartDate": "2026-01-01T10:33:41.0946427Z",
      "stadiumName": "sample string 2",
      "matchId": 3,
      "awayTeamName": "sample string 4",
      "homeTeamName": "sample string 5",
      "homeTeamClubId": 6,
      "awayTeamClubId": 7
    }
  ],
  "suitableForTeam": true,
  "email": "sample string 18",
  "mobilePhone": "sample string 19",
  "salary": 20.1,
  "matchesLastYear": true
}

application/xml, text/xml

Sample:
<RefereeDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes.V2">
  <Active>true</Active>
  <Comments>sample string 10</Comments>
  <Email>sample string 18</Email>
  <JoinDate>2026-01-01T11:33:41.0946427+01:00</JoinDate>
  <LocalClubGuid>5302bd3b-dcde-4eda-9ee1-cc28a5f7cdaf</LocalClubGuid>
  <MatchStartDate>2026-01-01T11:33:41.0946427+01:00</MatchStartDate>
  <Matches xmlns:d2p1="http://schemas.datacontract.org/2004/07/oiback.Classes">
    <d2p1:MatchList>
      <d2p1:AwayTeamClubId>7</d2p1:AwayTeamClubId>
      <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName>
      <d2p1:HomeTeamClubId>6</d2p1:HomeTeamClubId>
      <d2p1:HomeTeamName>sample string 5</d2p1:HomeTeamName>
      <d2p1:MatchId>3</d2p1:MatchId>
      <d2p1:MatchStartDate>2026-01-01T11:33:41.0946427+01:00</d2p1:MatchStartDate>
      <d2p1:StadiumName>sample string 2</d2p1:StadiumName>
    </d2p1:MatchList>
    <d2p1:MatchList>
      <d2p1:AwayTeamClubId>7</d2p1:AwayTeamClubId>
      <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName>
      <d2p1:HomeTeamClubId>6</d2p1:HomeTeamClubId>
      <d2p1:HomeTeamName>sample string 5</d2p1:HomeTeamName>
      <d2p1:MatchId>3</d2p1:MatchId>
      <d2p1:MatchStartDate>2026-01-01T11:33:41.0946427+01:00</d2p1:MatchStartDate>
      <d2p1:StadiumName>sample string 2</d2p1:StadiumName>
    </d2p1:MatchList>
  </Matches>
  <MatchesLastYear>true</MatchesLastYear>
  <MaxAge>11</MaxAge>
  <MinAge>12</MinAge>
  <MobilePhone>sample string 19</MobilePhone>
  <PersonInfoHidden>true</PersonInfoHidden>
  <RefereeClub>sample string 9</RefereeClub>
  <RefereeClubId>8</RefereeClubId>
  <RefereeName>sample string 16</RefereeName>
  <RefereeNumber>1</RefereeNumber>
  <RefereeType>sample string 7</RefereeType>
  <RefereeTypeId>6</RefereeTypeId>
  <RefereeUserId>43374d57-137b-48fe-98b5-2847c7028b46</RefereeUserId>
  <Salary>20.1</Salary>
  <StadiumName>sample string 14</StadiumName>
  <SuitableForTeam>true</SuitableForTeam>
</RefereeDetails>