POST v3/me/teams/{id}/captain/requests/confirm

CAPTAIN — approve a pending join request. body { teamMemberId } = the pending TeamMembers row id (the `id` on TeamMemberRequestOutVO, surfaced by the roster view's teamMemberRequestList). Gated on the route team by AssertMayDecideJoinRequests (captain, or a club's designated advisor — C006); the target row must be on that team. Wraps the page-pure TeamApi.AcceptTeamMemberRequest (TeamApi.cs:320 — re-gates with the same ClubJoinApprovalBO predicate via CanAcceptTeamRequest).

Request Information

Parameters

NameDescriptionAdditional information
id
team id (captain's team)

Define this parameter in the request URI.

inVO
{ teamMemberId } — the pending request row id

Define this parameter in the request body.

Request body formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

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

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--