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": "820ef972-bc5d-471b-accc-e1893eee4be3",
"clubId": "2d3f95f2-b8a8-463d-b33d-5522a6981755",
"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>2d3f95f2-b8a8-463d-b33d-5522a6981755</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>820ef972-bc5d-471b-accc-e1893eee4be3</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": "5ca401d6-19eb-4ed1-b2e2-edb6784e7a7b",
"clubId": "fd5d854f-b520-401a-b1f8-0b409caf8b8d",
"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>fd5d854f-b520-401a-b1f8-0b409caf8b8d</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>5ca401d6-19eb-4ed1-b2e2-edb6784e7a7b</TeamId> <VisibleForTeams>true</VisibleForTeams> </EventList>