PUT api/Teams/UpdateTeam

Request Information

URI Parameters

None.

Body Parameters

UpdateTeamRequestVM
NameDescriptionTypeAdditional information
Id

string

Required

Name

string

Required

ParentAccountId

string

Required

UserId

string

Required

Description

string

None.

Color

ColorViewModel

Required

UserIdsToAdd

Collection of string

None.

UserIdsToRemove

Collection of string

None.

Email

string

None.

PhoneNumber

string

None.

Website

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "ParentAccountId": "sample string 3",
  "UserId": "sample string 4",
  "Description": "sample string 5",
  "Color": {
    "HexValue": "sample string 1",
    "RgbValue": {
      "R": "sample string 1",
      "G": "sample string 2",
      "B": "sample string 3",
      "A": "sample string 4"
    },
    "Gradient": "sample string 2"
  },
  "UserIdsToAdd": [
    "sample string 1",
    "sample string 2"
  ],
  "UserIdsToRemove": [
    "sample string 1",
    "sample string 2"
  ],
  "Email": "sample string 6",
  "PhoneNumber": "sample string 7",
  "Website": "sample string 8"
}

application/xml, text/xml

Sample:
<UpdateTeamRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.TeamRequestVM">
  <Color xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Elements">
    <d2p1:Gradient>sample string 2</d2p1:Gradient>
    <d2p1:HexValue>sample string 1</d2p1:HexValue>
    <d2p1:RgbValue>
      <d2p1:A>sample string 4</d2p1:A>
      <d2p1:B>sample string 3</d2p1:B>
      <d2p1:G>sample string 2</d2p1:G>
      <d2p1:R>sample string 1</d2p1:R>
    </d2p1:RgbValue>
  </Color>
  <Description>sample string 5</Description>
  <Email>sample string 6</Email>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <ParentAccountId>sample string 3</ParentAccountId>
  <PhoneNumber>sample string 7</PhoneNumber>
  <UserId>sample string 4</UserId>
  <UserIdsToAdd xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UserIdsToAdd>
  <UserIdsToRemove xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UserIdsToRemove>
  <Website>sample string 8</Website>
</UpdateTeamRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.