POST api/enterpriseteams/{id}?modMembers={modMembers}
Update an enteprise team
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| modMembers | boolean |
Default value is False |
Body Parameters
OnePlanTeamRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamMembers | Collection of TeamMemberRequest |
None. |
|
| TeamName | string |
None. |
|
| TeamDescription | string |
None. |
|
| ProfilePicture | string |
None. |
|
| TeamMembers | Collection of TeamMember |
None. |
|
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| SharedViews | Collection of SharedView |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"TeamMembers": [
{
"Removed": true,
"ResourceId": "c1b6047f-8e30-491b-b898-973345a47383",
"ResourceAllocation": 3.0,
"AllocationType": 0
},
{
"Removed": true,
"ResourceId": "c1b6047f-8e30-491b-b898-973345a47383",
"ResourceAllocation": 3.0,
"AllocationType": 0
}
],
"TeamName": "sample string 1",
"TeamDescription": "sample string 2",
"ProfilePicture": "sample string 3",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "13e9c8e5-e79c-4a2e-917e-edb3cdcf8043",
"StateId": "0ec4ca62-a7b4-4c17-8c95-13757d1718c5"
},
{
"PersonalConfigId": "13e9c8e5-e79c-4a2e-917e-edb3cdcf8043",
"StateId": "0ec4ca62-a7b4-4c17-8c95-13757d1718c5"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Web.API.OnePlanTeamRequest",
"id": "cbbcb9c8-5736-4c9b-bdeb-706f100dba3e",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "2f1dbeb6-ad5d-49db-a25f-85eb53a9b765",
"_ts": 0
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |