POST v3/sportteam/{id}/players/add
[Admin User Permission Required] add players to team
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | team id |
Define this parameter in the request URI. |
inVO |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "players": [ { "memberId": "sample string 1", "jerseyNumber": "sample string 2", "country": "sample string 3", "zipCode": "sample string 4" }, { "memberId": "sample string 1", "jerseyNumber": "sample string 2", "country": "sample string 3", "zipCode": "sample string 4" }, { "memberId": "sample string 1", "jerseyNumber": "sample string 2", "country": "sample string 3", "zipCode": "sample string 4" } ], "ignoreRestrictions": true, "sportTeamId": "sample string 2", "curUserId": "sample string 3", "isSSO": true, "requestHost": "sample string 5", "applicationPath": "sample string 6", "secureApplicationPath": "sample string 7", "absoluteApplicationPath": "sample string 8", "isHttps": true, "isMobileDevice": true, "isFullEmbed": true, "clientType": 0, "clientVersion": "sample string 12", "clientOS": "sample string 13", "clientBuild": "sample string 14", "premiumAppId": "sample string 15", "clientWidth": 16, "clientHeight": 17, "timezone": 18 }
application/xml, text/xml
Sample:
<SportTeamAddPlayersInVO 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">17</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">16</ClientWidth> <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 8</absoluteApplicationPath> <applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 6</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 14</clientBuild> <clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 13</clientOS> <clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 12</clientVersion> <curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 3</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 15</premiumAppId> <requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 5</requestHost> <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 7</secureApplicationPath> <timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">18</timezone> <SportTeamId>sample string 2</SportTeamId> <IgnoreRestrictions>true</IgnoreRestrictions> <Players> <SportTeamAddPlayersVO> <Country>sample string 3</Country> <JerseyNumber>sample string 2</JerseyNumber> <MemberId>sample string 1</MemberId> <ZipCode>sample string 4</ZipCode> </SportTeamAddPlayersVO> <SportTeamAddPlayersVO> <Country>sample string 3</Country> <JerseyNumber>sample string 2</JerseyNumber> <MemberId>sample string 1</MemberId> <ZipCode>sample string 4</ZipCode> </SportTeamAddPlayersVO> <SportTeamAddPlayersVO> <Country>sample string 3</Country> <JerseyNumber>sample string 2</JerseyNumber> <MemberId>sample string 1</MemberId> <ZipCode>sample string 4</ZipCode> </SportTeamAddPlayersVO> </Players> </SportTeamAddPlayersInVO>
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:
{ "notAllowJoinPlayers": [ { "errorMsg": "sample string 1", "id": "sample string 2", "name": "sample string 3" }, { "errorMsg": "sample string 1", "id": "sample string 2", "name": "sample string 3" }, { "errorMsg": "sample string 1", "id": "sample string 2", "name": "sample string 3" } ], "ineligiblePlayers": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "joinAsNomadPlayers": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<SportTeamAddPlayersOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.SportTeam"> <IneligiblePlayers xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> </IneligiblePlayers> <JoinAsNomadPlayers xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> <d2p1:BasicInfoOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:BasicInfoOutVO> </JoinAsNomadPlayers> <NotAllowJoinPlayers xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Team"> <d2p1:NotAllowJoinPlayerOutVO> <id xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 2</id> <name xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 3</name> <d2p1:ErrorMsg>sample string 1</d2p1:ErrorMsg> </d2p1:NotAllowJoinPlayerOutVO> <d2p1:NotAllowJoinPlayerOutVO> <id xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 2</id> <name xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 3</name> <d2p1:ErrorMsg>sample string 1</d2p1:ErrorMsg> </d2p1:NotAllowJoinPlayerOutVO> <d2p1:NotAllowJoinPlayerOutVO> <id xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 2</id> <name xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">sample string 3</name> <d2p1:ErrorMsg>sample string 1</d2p1:ErrorMsg> </d2p1:NotAllowJoinPlayerOutVO> </NotAllowJoinPlayers> </SportTeamAddPlayersOutVO>
multipart/form-data
Sample:
Sample not available.