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": "4acf530f-a734-4a87-bb1e-4a88cf44488e",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "4acf530f-a734-4a87-bb1e-4a88cf44488e",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "ec20107d-4efe-4a27-9dc0-0adefc522021",
"StateId": "acf64bf5-8c7d-40dc-9888-37a0b2347ebb"
},
{
"PersonalConfigId": "ec20107d-4efe-4a27-9dc0-0adefc522021",
"StateId": "acf64bf5-8c7d-40dc-9888-37a0b2347ebb"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "e0f0bd8e-352a-4b7d-96b6-4851ee701fc5",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "f0484c55-4603-4051-95b6-c549adb680e5",
"_ts": 639173925037497905
}
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. |