POST api/Team/AddTeam
Request Information
URI Parameters
None.
Body Parameters
AddTeamCommandDtoName | Description | Type | Additional information |
---|---|---|---|
TeamName | string |
None. |
|
TeamStats | string |
None. |
|
UserId | globally unique identifier |
None. |
|
SportsTypeId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "TeamName": "sample string 1", "TeamStats": "sample string 2", "UserId": "13bbe1e3-5024-4c9b-9285-52ce157ee5a0", "SportsTypeId": "e7493435-0fa2-40e7-be95-e9289aa59e41" }
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>e7493435-0fa2-40e7-be95-e9289aa59e41</SportsTypeId> <TeamName>sample string 1</TeamName> <TeamStats>sample string 2</TeamStats> <UserId>13bbe1e3-5024-4c9b-9285-52ce157ee5a0</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>