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": "4e787d55-0e3d-4993-9c98-15af5cdb2805", "UserId": "81c23e6c-934a-4170-bb47-1c94f5baf4f6" }
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>4e787d55-0e3d-4993-9c98-15af5cdb2805</SportsTypeId> <TeamName>sample string 1</TeamName> <TeamNameFr>sample string 2</TeamNameFr> <TeamStats>sample string 3</TeamStats> <UserId>81c23e6c-934a-4170-bb47-1c94f5baf4f6</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>