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": "160db9e4-b812-4ff5-9dc5-f317fa81c082",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "160db9e4-b812-4ff5-9dc5-f317fa81c082",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "c4419dcc-6fa6-408a-b9ce-f0be79d948f3",
"StateId": "653aa522-37d0-4049-963e-d3a2722dc596"
},
{
"PersonalConfigId": "c4419dcc-6fa6-408a-b9ce-f0be79d948f3",
"StateId": "653aa522-37d0-4049-963e-d3a2722dc596"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "b4e176a2-f9a1-474f-93d3-4e3e6c093e4c",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "bf8d0ad7-6a28-41df-82ed-7381a18e18c9",
"_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. |