POST v3/sportteam/creategame
create game for sport team
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inVO |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "sportTeamId": "sample string 1", "gameType": 0, "isHomeTeam": 2, "opponent": "sample string 3", "durationType": 4, "startDatetime": "2025-01-10T06:57:02.2596391-06:00", "endDatetime": "2025-01-10T06:57:02.2596391-06:00", "gameLengthHours": 7, "gameLengthMinutes": 8, "location": "sample string 9", "longitude": 1.1, "latitude": 1.1, "locationDetail": "sample string 10", "subject": "sample string 11", "repeat": true, "repeatType": 13, "repeatInterval": 1, "startsOn": "2025-01-10T06:57:02.2596391-06:00", "endsOn": "2025-01-10T06:57:02.2596391-06:00", "repeatData": 1, "curUserId": "sample string 14", "isSSO": true, "requestHost": "sample string 16", "applicationPath": "sample string 17", "secureApplicationPath": "sample string 18", "absoluteApplicationPath": "sample string 19", "isHttps": true, "isMobileDevice": true, "isFullEmbed": true, "clientType": 0, "clientVersion": "sample string 23", "clientOS": "sample string 24", "clientBuild": "sample string 25", "premiumAppId": "sample string 26", "clientWidth": 27, "clientHeight": 28, "timezone": 29 }
application/xml, text/xml
Sample:
<CreateSportTeamGameInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.SportTeam"> <ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">28</ClientHeight> <ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType> <ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">27</ClientWidth> <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 19</absoluteApplicationPath> <applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 17</applicationPath> <cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey> <clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 25</clientBuild> <clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 24</clientOS> <clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 23</clientVersion> <curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 14</curUserId> <isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed> <isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps> <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice> <isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO> <premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 26</premiumAppId> <requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 16</requestHost> <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 18</secureApplicationPath> <timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">29</timezone> <DurationType>4</DurationType> <EndDatetime>2025-01-10T06:57:02.2596391-06:00</EndDatetime> <EndsOn>2025-01-10T06:57:02.2596391-06:00</EndsOn> <GameLengthHours>7</GameLengthHours> <GameLengthMinutes>8</GameLengthMinutes> <GameType>Game</GameType> <IsHomeTeam>2</IsHomeTeam> <Latitude>1.1</Latitude> <Location>sample string 9</Location> <LocationDetail>sample string 10</LocationDetail> <Longitude>1.1</Longitude> <Opponent>sample string 3</Opponent> <Repeat>true</Repeat> <RepeatData>1</RepeatData> <RepeatType>13</RepeatType> <SportTeamId>sample string 1</SportTeamId> <StartDatetime>2025-01-10T06:57:02.2596391-06:00</StartDatetime> <StartsOn>2025-01-10T06:57:02.2596391-06:00</StartsOn> <Subject>sample string 11</Subject> <repeatInterval>1</repeatInterval> </CreateSportTeamGameInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Response body formats
application/json, text/json
Sample:
{ "returnValue": true, "code": 0, "message": "sample string 2" }
application/xml, text/xml
Sample:
<BooleanOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <code>None</code> <message>sample string 2</message> <returnValue>true</returnValue> </BooleanOutVO>
multipart/form-data
Sample:
Sample not available.