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": "ed5705d6-653f-47fc-8353-463320330bb0",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "ed5705d6-653f-47fc-8353-463320330bb0",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "4ed02c0c-2b11-4a8e-bea1-98dcc275636d",
"StateId": "fb5628d6-fb23-4723-a923-ccc5e0cf52eb"
},
{
"PersonalConfigId": "4ed02c0c-2b11-4a8e-bea1-98dcc275636d",
"StateId": "fb5628d6-fb23-4723-a923-ccc5e0cf52eb"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a766777b-40d3-4a51-9149-104dabb9f059",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "33a9a4ee-b2be-4de9-bbc4-4c97542db649",
"_ts": 639147625699865840
}
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. |