POST api/V2/sekretariat/addPlayerToTeam

Request Information

URI Parameters

None.

Body Parameters

CmPlayers
NameDescriptionTypeAdditional information
cupTeamPlayersId

integer

None.

cupTeamId

integer

None.

playerName

string

None.

draktNr

string

None.

importedPlayerId

integer

None.

cupId

integer

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "cupTeamPlayersId": 1,
  "cupTeamId": 2,
  "playerName": "sample string 3",
  "draktNr": "sample string 4",
  "importedPlayerId": 5,
  "cupId": 6,
  "isDeleted": true
}

application/xml, text/xml

Sample:
<CmPlayers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <CupId>6</CupId>
  <CupTeamId>2</CupTeamId>
  <CupTeamPlayersId>1</CupTeamPlayersId>
  <DraktNr>sample string 4</DraktNr>
  <ImportedPlayerId>5</ImportedPlayerId>
  <IsDeleted>true</IsDeleted>
  <PlayerName>sample string 3</PlayerName>
</CmPlayers>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.