POST api/teams/{id}/members/add

Adds a member to a team

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Team Id

integer

Required

Body Parameters

Details of team members

Collection of AddTeamMemberCommandDataContract
NameDescriptionTypeAdditional information
NegotiatorId

integer

None.

TeamRelationshipTypes

Collection of EnumDataContract

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "NegotiatorId": 1,
    "TeamRelationshipTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ]
  },
  {
    "NegotiatorId": 1,
    "TeamRelationshipTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Team

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.