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": "32ae511c-c046-4054-ae38-a3c1f65c47d5",
"ResourceAllocation": 3.0,
"AllocationType": 0
},
{
"Removed": true,
"ResourceId": "32ae511c-c046-4054-ae38-a3c1f65c47d5",
"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": "f4683c0b-2ed3-4c23-8d7c-0234101306bd",
"StateId": "c4247396-c874-429a-a067-690a7a902963"
},
{
"PersonalConfigId": "f4683c0b-2ed3-4c23-8d7c-0234101306bd",
"StateId": "c4247396-c874-429a-a067-690a7a902963"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Web.API.OnePlanTeamRequest",
"id": "71dc0f5c-ef83-4170-8e07-bae3360912d7",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "349ef743-fc57-435a-ad7e-65ea2e98e0c1",
"_ts": 639162735827279210
}
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. |