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": "2fb15cf5-fd17-4dbf-9569-405757658c23",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "2fb15cf5-fd17-4dbf-9569-405757658c23",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "21b896f1-b1a0-48ed-bd0c-db4a56f62388",
"StateId": "c71a0561-2270-4bdb-bf51-a2721f8a1636"
},
{
"PersonalConfigId": "21b896f1-b1a0-48ed-bd0c-db4a56f62388",
"StateId": "c71a0561-2270-4bdb-bf51-a2721f8a1636"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "3943bb64-caa9-402c-8b8c-dd17c12add4d",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "e326a906-d73c-4666-ad47-248e1da63930",
"_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. |