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": "a563e170-9614-41bd-9d8d-63e95933fb0a",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "a563e170-9614-41bd-9d8d-63e95933fb0a",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "794a0446-1f82-453b-bdfc-4a10c8a9e4ed",
"StateId": "284046ec-55e1-498e-9b5c-bb32d77201b1"
},
{
"PersonalConfigId": "794a0446-1f82-453b-bdfc-4a10c8a9e4ed",
"StateId": "284046ec-55e1-498e-9b5c-bb32d77201b1"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "eb878c8e-6423-4dfb-96dc-b7b1a4ab3c85",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "cd707a70-6d6a-4429-ac4b-e5b48e12a1cb",
"_ts": 639150222583863033
}
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. |