POST api/teams/add

Add a new Team

Request Information

URI Parameters

None.

Body Parameters

AddTeamCommandDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Responsibilities

Collection of 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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.