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": "16016214-ad01-4855-acbe-fea276b49829",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "16016214-ad01-4855-acbe-fea276b49829",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "ffb54776-3b0e-4136-b2f4-a96ca8c40408",
"StateId": "aa7d0f56-9fc5-454a-8047-18f58cd8e4ca"
},
{
"PersonalConfigId": "ffb54776-3b0e-4136-b2f4-a96ca8c40408",
"StateId": "aa7d0f56-9fc5-454a-8047-18f58cd8e4ca"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "d350e18b-8fd3-4996-b196-ae1630efff6a",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "5f9d9158-01d4-47c5-8a32-0a068406e015",
"_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. |