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 Dezrez.Core.DataContracts.External.Api.Agency.Command.AddTeamMemberCommandDataContract
NameDescriptionTypeAdditional information
NegotiatorId

integer

None.

TeamRelationshipTypes

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

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

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"
      }
    ]
  }
]

Response Information

Resource Description

Team

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.