POST v3/me/teams/{id}/jersey

PARTICIPANT (member-self) JERSEY SELF-EDIT — set the CURRENT member's jersey number on a team. Member-self: curUserId is FORCED to the authenticated identity and the target TeamMembers row is RESOLVED from (curUserId, teamId) — the body's only payload is the jersey number, so this route can only edit the caller's own roster row. Wraps the page-pure TeamApi.EditJerseyNumber (imLeagues.Internal.API/BO/TeamApi.cs:6406) which re-guards (curUserId==teamMember.MemberId || IsTeamAdmin || IsOfficialCanEdit) and clears any teammate currently holding the same number (matches the SPA roster edit). Only meaningful when the league enables jersey numbers (league.UseJerseyNumbers) — the FE only shows the editor in that case. An empty/blank number clears it.

Request Information

Parameters

NameDescriptionAdditional information
id
team id whose roster row (the caller's) is edited

Define this parameter in the request URI.

inVO
{ jerseyNumber } — the new jersey number (string; may be blank to clear)

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "jerseyNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<JerseyNumberInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input">
  <jerseyNumber>sample string 1</jerseyNumber>
</JerseyNumberInVO>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="jerseyNumber"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "isDone": true,
  "code": 0,
  "message": "sample string 2",
  "data": {},
  "cachedKey": "sample string 4",
  "correlationId": "85467853-7afb-42ba-b8e5-adc7b9cf4f45",
  "jwtTokenForSPA": "sample string 6",
  "jwtTokenIndexForSPA": 1
}

application/xml, text/xml

Sample:
<ResultOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">
  <CachedKey>sample string 4</CachedKey>
  <Code>None</Code>
  <CorrelationId>85467853-7afb-42ba-b8e5-adc7b9cf4f45</CorrelationId>
  <Data />
  <IsDone>true</IsDone>
  <JwtTokenForSPA>sample string 6</JwtTokenForSPA>
  <JwtTokenIndexForSPA>1</JwtTokenIndexForSPA>
  <Message>sample string 2</Message>
</ResultOutVO>

multipart/form-data

Sample:

Sample not available.