POST api/enterpriseteams
Create an enteprise team
Request Information
URI Parameters
None.
Body Parameters
OnePlanTeam| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"TeamName": "sample string 1",
"TeamDescription": "sample string 2",
"ProfilePicture": "sample string 3",
"TeamMembers": [
{
"ResourceId": "4ad0185c-91a3-43eb-9314-11d305f85e47",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "4ad0185c-91a3-43eb-9314-11d305f85e47",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "e4cdae10-180a-4c9a-bd29-8ddcb20c9079",
"StateId": "8d206231-0bb9-4857-baf4-c0d3c4ee3dd5"
},
{
"PersonalConfigId": "e4cdae10-180a-4c9a-bd29-8ddcb20c9079",
"StateId": "8d206231-0bb9-4857-baf4-c0d3c4ee3dd5"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "db910f3c-cb30-4e29-b7a6-06fb40329f78",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "17d003c3-c06f-4344-aa23-dadf46114852",
"_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. |