POST api/teams/add

Add a new Team

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Group.Command.AddTeam.AddTeamCommandDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Responsibilities

Collection of Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

TeamLeaderIds

Collection of integer

None.

TeamMemberIds

Collection of integer

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Responsibilities": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    }
  ],
  "TeamLeaderIds": [
    1,
    2
  ],
  "TeamMemberIds": [
    1,
    2
  ],
  "Id": 2
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.