GET api/Account/Players?companyId={companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Playerclass| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PlayerId | globally unique identifier |
None. |
|
| SpillerNavn | string |
None. |
|
| TeamId | integer |
None. |
|
| MatchId | integer |
None. |
|
| EventDate | date |
None. |
|
| Deltagelse | integer |
None. |
|
| Phone | string |
None. |
|
| Reason | string |
None. |
|
| IsCoach | boolean |
None. |
|
| IsHospitant | boolean |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| ReasonId | integer |
None. |
|
| Selected | boolean |
None. |
|
| HasChanged | boolean |
None. |
|
| AutoMember | boolean |
None. |
|
| PlayerNumber | integer |
None. |
|
| Score | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"playerId": "d99ae33c-f02d-4216-9f50-f4e2e8f0abbe",
"spillerNavn": "sample string 3",
"teamId": 4,
"matchId": 5,
"eventDate": "2026-01-01T10:37:38.5180772Z",
"deltagelse": 7,
"phone": "sample string 8",
"reason": "sample string 9",
"isCoach": true,
"isHospitant": true,
"companyId": "a3eb848d-5ac9-4544-8103-7c78fcab2722",
"reasonId": 13,
"selected": true,
"hasChanged": true,
"autoMember": true,
"playerNumber": 17,
"score": 18.1
},
{
"id": 1,
"playerId": "d99ae33c-f02d-4216-9f50-f4e2e8f0abbe",
"spillerNavn": "sample string 3",
"teamId": 4,
"matchId": 5,
"eventDate": "2026-01-01T10:37:38.5180772Z",
"deltagelse": 7,
"phone": "sample string 8",
"reason": "sample string 9",
"isCoach": true,
"isHospitant": true,
"companyId": "a3eb848d-5ac9-4544-8103-7c78fcab2722",
"reasonId": 13,
"selected": true,
"hasChanged": true,
"autoMember": true,
"playerNumber": 17,
"score": 18.1
}
]
application/xml, text/xml
Sample:
<ArrayOfPlayerclass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Models">
<Playerclass>
<AutoMember>true</AutoMember>
<CompanyId>a3eb848d-5ac9-4544-8103-7c78fcab2722</CompanyId>
<Deltagelse>7</Deltagelse>
<EventDate>2026-01-01T11:37:38.5180772+01:00</EventDate>
<HasChanged>true</HasChanged>
<Id>1</Id>
<IsCoach>true</IsCoach>
<IsHospitant>true</IsHospitant>
<MatchId>5</MatchId>
<Phone>sample string 8</Phone>
<PlayerId>d99ae33c-f02d-4216-9f50-f4e2e8f0abbe</PlayerId>
<PlayerNumber>17</PlayerNumber>
<Reason>sample string 9</Reason>
<ReasonId>13</ReasonId>
<Score>18.1</Score>
<Selected>true</Selected>
<SpillerNavn>sample string 3</SpillerNavn>
<TeamId>4</TeamId>
</Playerclass>
<Playerclass>
<AutoMember>true</AutoMember>
<CompanyId>a3eb848d-5ac9-4544-8103-7c78fcab2722</CompanyId>
<Deltagelse>7</Deltagelse>
<EventDate>2026-01-01T11:37:38.5180772+01:00</EventDate>
<HasChanged>true</HasChanged>
<Id>1</Id>
<IsCoach>true</IsCoach>
<IsHospitant>true</IsHospitant>
<MatchId>5</MatchId>
<Phone>sample string 8</Phone>
<PlayerId>d99ae33c-f02d-4216-9f50-f4e2e8f0abbe</PlayerId>
<PlayerNumber>17</PlayerNumber>
<Reason>sample string 9</Reason>
<ReasonId>13</ReasonId>
<Score>18.1</Score>
<Selected>true</Selected>
<SpillerNavn>sample string 3</SpillerNavn>
<TeamId>4</TeamId>
</Playerclass>
</ArrayOfPlayerclass>