POST v3/sportteam/{id}/members/addnew
[Admin User Permission Required] add new member to team by admin
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
inVO | user info |
Define this parameter in the request body. |
id | team id |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{ "sportTeamId": "sample string 1", "jerseyNumber": "sample string 2", "token": "sample string 3", "eventId": "sample string 4", "inviteType": "sample string 5", "firstName": "sample string 6", "lastName": "sample string 7", "email": "sample string 8", "password": "sample string 9", "gender": "sample string 10", "status": "sample string 11", "grad": "sample string 12", "dob": "sample string 13", "networkId": "sample string 14", "answers": [ { "id": 1, "answer": "sample string 2" }, { "id": 1, "answer": "sample string 2" }, { "id": 1, "answer": "sample string 2" } ], "chkReceiveMessage": true, "phoneNumber": "sample string 16", "carrier": "sample string 17", "captchaViewIndex": 18, "reCaptchaResponse": "sample string 19", "solveMediaChallenge": "sample string 20", "solveMediaAnswer": "sample string 21", "createdByType": 0, "activateUrl": "sample string 22", "emailType": 0, "curUserId": "sample string 23", "isSSO": true, "requestHost": "sample string 25", "applicationPath": "sample string 26", "secureApplicationPath": "sample string 27", "absoluteApplicationPath": "sample string 28", "isHttps": true, "isMobileDevice": true, "isFullEmbed": true, "clientType": 0, "clientVersion": "sample string 32", "clientOS": "sample string 33", "clientBuild": "sample string 34", "premiumAppId": "sample string 35", "clientWidth": 36, "clientHeight": 37, "timezone": 38, "asJoinRequest": true, "requestMessage": "sample string 2", "createByAdmin": true, "nonBinary": true, "isAdmin": true, "isChair": true, "isAlwaysEligible": true, "pid": "sample string 8", "sidAdditionalInfo": "sample string 9", "optInIMLeaguesNews": true, "userType": "sample string 11", "photoURL": "sample string 12" }
application/xml, text/xml
Sample:
<SportTeamCreateMemberInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input"> <ClientHeight>37</ClientHeight> <ClientType>Site</ClientType> <ClientWidth>36</ClientWidth> <absoluteApplicationPath>sample string 28</absoluteApplicationPath> <applicationPath>sample string 26</applicationPath> <cachedKey>sample string 13</cachedKey> <clientBuild>sample string 34</clientBuild> <clientOS>sample string 33</clientOS> <clientVersion>sample string 32</clientVersion> <curUserId>sample string 23</curUserId> <isFullEmbed>true</isFullEmbed> <isHttps>true</isHttps> <isMobileDevice>true</isMobileDevice> <isSSO>true</isSSO> <premiumAppId>sample string 35</premiumAppId> <requestHost>sample string 25</requestHost> <secureApplicationPath>sample string 27</secureApplicationPath> <timezone>38</timezone> <ActivateUrl>sample string 22</ActivateUrl> <Answers> <QuestionAnswerInVO> <answer>sample string 2</answer> <id>1</id> </QuestionAnswerInVO> <QuestionAnswerInVO> <answer>sample string 2</answer> <id>1</id> </QuestionAnswerInVO> <QuestionAnswerInVO> <answer>sample string 2</answer> <id>1</id> </QuestionAnswerInVO> </Answers> <AsJoinRequest>true</AsJoinRequest> <CaptchaViewIndex>18</CaptchaViewIndex> <Carrier>sample string 17</Carrier> <ChkReceiveMessage>true</ChkReceiveMessage> <CreateByAdmin>true</CreateByAdmin> <CreatedByType>CreateByUser</CreatedByType> <Dob>sample string 13</Dob> <Email>sample string 8</Email> <EmailType>RECIT</EmailType> <EventId>sample string 4</EventId> <FirstName>sample string 6</FirstName> <Gender>sample string 10</Gender> <Grad>sample string 12</Grad> <InviteType>sample string 5</InviteType> <IsAdmin>true</IsAdmin> <IsAlwaysEligible>true</IsAlwaysEligible> <IsChair>true</IsChair> <LastName>sample string 7</LastName> <NetworkId>sample string 14</NetworkId> <NonBinary>true</NonBinary> <OptInIMLeaguesNews>true</OptInIMLeaguesNews> <PID>sample string 8</PID> <Password>sample string 9</Password> <PhoneNumber>sample string 16</PhoneNumber> <PhotoURL>sample string 12</PhotoURL> <ReCaptchaResponse>sample string 19</ReCaptchaResponse> <RequestMessage>sample string 2</RequestMessage> <SIDAdditionalInfo>sample string 9</SIDAdditionalInfo> <SolveMediaAnswer>sample string 21</SolveMediaAnswer> <SolveMediaChallenge>sample string 20</SolveMediaChallenge> <Status>sample string 11</Status> <Token>sample string 3</Token> <UserType>sample string 11</UserType> <JerseyNumber>sample string 2</JerseyNumber> <SportTeamId>sample string 1</SportTeamId> </SportTeamCreateMemberInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AsJoinRequest" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RequestMessage" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CreateByAdmin" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NonBinary" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsAdmin" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsChair" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsAlwaysEligible" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PID" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SIDAdditionalInfo" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="OptInIMLeaguesNews" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UserType" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PhotoURL" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e--