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": "32b4ebca-2e75-413e-b9c9-3cf706f2b702",
"ResourceAllocation": 3.0,
"AllocationType": 0
},
{
"Removed": true,
"ResourceId": "32b4ebca-2e75-413e-b9c9-3cf706f2b702",
"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": "8815b56e-91d3-4133-a45a-bcf719c82b09",
"StateId": "7fe3f81a-4562-49f3-b664-a2885fb7bd16"
},
{
"PersonalConfigId": "8815b56e-91d3-4133-a45a-bcf719c82b09",
"StateId": "7fe3f81a-4562-49f3-b664-a2885fb7bd16"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Web.API.OnePlanTeamRequest",
"id": "7ec2d53f-330b-46ab-b462-de2d8c6e9772",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "8b5f7948-984c-4743-a92c-294a506071c1",
"_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. |