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": "10fbbb7a-64b4-4df3-a7f3-3804bc8507ef",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "10fbbb7a-64b4-4df3-a7f3-3804bc8507ef",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "47260a65-8623-43f0-8330-2aa2822e1fb1",
"StateId": "bb1edd8f-cb36-4736-a188-34ae30565dda"
},
{
"PersonalConfigId": "47260a65-8623-43f0-8330-2aa2822e1fb1",
"StateId": "bb1edd8f-cb36-4736-a188-34ae30565dda"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "d8b7b6bf-eeb8-4dd9-b053-d3ca8d9b02d6",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "ca421789-90e5-4962-a833-ddf73d3ff2bf",
"_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. |