POST api/Teams/SaveNewTeam
Request Information
URI Parameters
None.
Body Parameters
SaveNewTeamRequestVMName | Description | Type | Additional information |
---|---|---|---|
Name | string |
Required |
|
UserId | string |
Required |
|
ParentAccountId | string |
Required |
|
Description | string |
None. |
|
Color | ColorViewModel |
None. |
|
UserIdsToAdd | Collection of string |
None. |
|
string |
None. |
||
PhoneNumber | string |
None. |
|
Website | string |
None. |
|
SubAccountId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "UserId": "sample string 2", "ParentAccountId": "sample string 3", "Description": "sample string 4", "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" ], "Email": "sample string 5", "PhoneNumber": "sample string 6", "Website": "sample string 7", "SubAccountId": "sample string 8" }
application/xml, text/xml
Sample:
<SaveNewTeamRequestVM 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 4</Description> <Email>sample string 5</Email> <Name>sample string 1</Name> <ParentAccountId>sample string 3</ParentAccountId> <PhoneNumber>sample string 6</PhoneNumber> <SubAccountId>sample string 8</SubAccountId> <UserId>sample string 2</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> <Website>sample string 7</Website> </SaveNewTeamRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.