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": "aa5055d9-84be-440e-9b49-063c5aac5261",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "aa5055d9-84be-440e-9b49-063c5aac5261",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "06f8bd1d-4a3c-457d-96eb-312be87e60f3",
"StateId": "48ccffb6-a556-4b66-bc88-17cbb08dc0bb"
},
{
"PersonalConfigId": "06f8bd1d-4a3c-457d-96eb-312be87e60f3",
"StateId": "48ccffb6-a556-4b66-bc88-17cbb08dc0bb"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "3885c3a3-b1a7-42f3-b0d9-64530fdec83f",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "4ed14f5d-22c0-482a-9ecc-f7c2dbfd8562",
"_ts": 639155435857532715
}
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. |