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": "53cec629-cd66-4200-b0ca-54abb606c073",
"clubId": "298bc810-055d-4565-beb1-4898a68e0295",
"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>298bc810-055d-4565-beb1-4898a68e0295</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>53cec629-cd66-4200-b0ca-54abb606c073</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": "ef70cdc1-931a-48ea-a54a-5400d7d363f4",
"clubId": "9ed64b07-5d5f-44ec-9863-9ff4942e030b",
"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>9ed64b07-5d5f-44ec-9863-9ff4942e030b</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>ef70cdc1-931a-48ea-a54a-5400d7d363f4</TeamId> <VisibleForTeams>true</VisibleForTeams> </EventList>