POST api/Team/AddTeam
Request Information
URI Parameters
None.
Body Parameters
AddTeamCommandDtoName | Description | Type | Additional information |
---|---|---|---|
TeamName | string |
None. |
|
TeamNameFr | string |
None. |
|
TeamStats | string |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "TeamName": "sample string 1", "TeamNameFr": "sample string 2", "TeamStats": "sample string 3", "SportsTypeId": "3e699ddc-c73f-4f49-9a10-85eb12743267", "UserId": "623c0d5a-917b-48cc-b0c9-cc51b88f47f8" }
application/xml, text/xml
Sample:
<AddTeamCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.TeamModule.Model"> <SportsTypeId>3e699ddc-c73f-4f49-9a10-85eb12743267</SportsTypeId> <TeamName>sample string 1</TeamName> <TeamNameFr>sample string 2</TeamNameFr> <TeamStats>sample string 3</TeamStats> <UserId>623c0d5a-917b-48cc-b0c9-cc51b88f47f8</UserId> </AddTeamCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>