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": "ff6b088f-7ba8-4740-b415-790ef2d4b24b",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "ff6b088f-7ba8-4740-b415-790ef2d4b24b",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "1868e3cf-26fa-48a7-8e90-2f4ef8c61ad9",
"StateId": "c14c2a3e-a530-4506-bf08-6c0ad24b063b"
},
{
"PersonalConfigId": "1868e3cf-26fa-48a7-8e90-2f4ef8c61ad9",
"StateId": "c14c2a3e-a530-4506-bf08-6c0ad24b063b"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "de4584a6-bfd4-4148-9be8-c61e0042265b",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "986ac845-0446-4476-ad16-77e3aaeaa7b9",
"_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. |