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": "80eedf86-5438-4f0e-958b-9f7f41eb07f2",
"clubId": "6bf964a6-1290-4d02-9f29-e290e064348e",
"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>6bf964a6-1290-4d02-9f29-e290e064348e</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>80eedf86-5438-4f0e-958b-9f7f41eb07f2</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": "8e44381e-83f4-446e-84c9-89541b9e2178",
"clubId": "e3b8bb66-3c71-4b45-8667-77f5d1cc9557",
"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>e3b8bb66-3c71-4b45-8667-77f5d1cc9557</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>8e44381e-83f4-446e-84c9-89541b9e2178</TeamId> <VisibleForTeams>true</VisibleForTeams> </EventList>