POST api/V2/referee/save
Request Information
URI Parameters
None.
Body Parameters
RefereeDetails| Name | Description | Type | Additional 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. |
|
| string |
None. |
||
| MobilePhone | string |
None. |
|
| Salary | decimal number |
None. |
|
| MatchesLastYear | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"refereeNumber": 1,
"refereeUserId": "9e42ac7c-69d2-4f01-bffe-f825fe9e2b6e",
"localClubGuid": "a62f218c-d695-4ac4-bc5b-5fae125c51f1",
"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-03-05T05:46:59.6692321Z",
"stadiumName": "sample string 14",
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"refereeName": "sample string 16",
"matches": [
{
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"stadiumName": "sample string 2",
"matchId": 3,
"awayTeamName": "sample string 4",
"homeTeamName": "sample string 5",
"homeTeamClubId": 6,
"awayTeamClubId": 7
},
{
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"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-03-05T06:46:59.6692321+01:00</JoinDate>
<LocalClubGuid>a62f218c-d695-4ac4-bc5b-5fae125c51f1</LocalClubGuid>
<MatchStartDate>2026-03-05T06:46:59.6692321+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-03-05T06:46:59.6692321+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-03-05T06:46:59.6692321+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>9e42ac7c-69d2-4f01-bffe-f825fe9e2b6e</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| Name | Description | Type | Additional 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. |
|
| string |
None. |
||
| MobilePhone | string |
None. |
|
| Salary | decimal number |
None. |
|
| MatchesLastYear | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"refereeNumber": 1,
"refereeUserId": "72a3ea7a-dbbb-45b3-b6e5-6eddd87c1c2f",
"localClubGuid": "81b2d6a6-c94f-47ed-b497-a662bb425e6e",
"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-03-05T05:46:59.6692321Z",
"stadiumName": "sample string 14",
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"refereeName": "sample string 16",
"matches": [
{
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"stadiumName": "sample string 2",
"matchId": 3,
"awayTeamName": "sample string 4",
"homeTeamName": "sample string 5",
"homeTeamClubId": 6,
"awayTeamClubId": 7
},
{
"matchStartDate": "2026-03-05T05:46:59.6692321Z",
"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-03-05T06:46:59.6692321+01:00</JoinDate>
<LocalClubGuid>81b2d6a6-c94f-47ed-b497-a662bb425e6e</LocalClubGuid>
<MatchStartDate>2026-03-05T06:46:59.6692321+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-03-05T06:46:59.6692321+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-03-05T06:46:59.6692321+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>72a3ea7a-dbbb-45b3-b6e5-6eddd87c1c2f</RefereeUserId>
<Salary>20.1</Salary>
<StadiumName>sample string 14</StadiumName>
<SuitableForTeam>true</SuitableForTeam>
</RefereeDetails>