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": "78e3cc5e-b030-4e88-b366-ad65598795e8",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "78e3cc5e-b030-4e88-b366-ad65598795e8",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "436eb13d-4f22-4384-b445-09dd99cb174c",
"StateId": "4502cc2f-bd93-4f4e-80da-a9dad4d8d30a"
},
{
"PersonalConfigId": "436eb13d-4f22-4384-b445-09dd99cb174c",
"StateId": "4502cc2f-bd93-4f4e-80da-a9dad4d8d30a"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "6ecab95c-66e6-4374-bba9-cb412bd59b1b",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "cfcc68f9-e3d2-402b-8898-f80fa533b83b",
"_ts": 639176534190729647
}
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. |