POST api/V2/EventLists
Request Information
URI Parameters
None.
Body Parameters
EventList| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| TeamId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
None. |
|
| EventName | string |
None. |
|
| InUse | boolean |
None. |
|
| Color | string |
None. |
|
| Comments | string |
None. |
|
| IsClub | boolean |
None. |
|
| VisibleForTeams | boolean |
None. |
|
| EventColor | string |
None. |
|
| IsTournament | boolean |
None. |
|
| IsMatch | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventId": 1,
"teamId": "7489f713-fc18-4297-9b95-09c92d8be176",
"clubId": "f784c659-f12e-4e53-8fee-7ce8bfc17514",
"eventName": "sample string 4",
"inUse": true,
"color": "sample string 6",
"comments": "sample string 7",
"isClub": true,
"visibleForTeams": true,
"eventColor": "sample string 10",
"isTournament": true,
"isMatch": true
}
application/xml, text/xml
Sample:
<EventList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes.V2"> <ClubId>f784c659-f12e-4e53-8fee-7ce8bfc17514</ClubId> <Color>sample string 6</Color> <Comments>sample string 7</Comments> <EventColor>sample string 10</EventColor> <EventId>1</EventId> <EventName>sample string 4</EventName> <InUse>true</InUse> <IsClub>true</IsClub> <IsMatch>true</IsMatch> <IsTournament>true</IsTournament> <TeamId>7489f713-fc18-4297-9b95-09c92d8be176</TeamId> <VisibleForTeams>true</VisibleForTeams> </EventList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventList| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| TeamId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
None. |
|
| EventName | string |
None. |
|
| InUse | boolean |
None. |
|
| Color | string |
None. |
|
| Comments | string |
None. |
|
| IsClub | boolean |
None. |
|
| VisibleForTeams | boolean |
None. |
|
| EventColor | string |
None. |
|
| IsTournament | boolean |
None. |
|
| IsMatch | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"eventId": 1,
"teamId": "8e64cb73-3958-4e54-a730-96ca58f2b5d6",
"clubId": "a8b16445-c225-46ac-adbc-de7bc6b8531a",
"eventName": "sample string 4",
"inUse": true,
"color": "sample string 6",
"comments": "sample string 7",
"isClub": true,
"visibleForTeams": true,
"eventColor": "sample string 10",
"isTournament": true,
"isMatch": true
}
application/xml, text/xml
Sample:
<EventList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes.V2"> <ClubId>a8b16445-c225-46ac-adbc-de7bc6b8531a</ClubId> <Color>sample string 6</Color> <Comments>sample string 7</Comments> <EventColor>sample string 10</EventColor> <EventId>1</EventId> <EventName>sample string 4</EventName> <InUse>true</InUse> <IsClub>true</IsClub> <IsMatch>true</IsMatch> <IsTournament>true</IsTournament> <TeamId>8e64cb73-3958-4e54-a730-96ca58f2b5d6</TeamId> <VisibleForTeams>true</VisibleForTeams> </EventList>