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": "ed1aaf98-41a4-4708-b728-6cef2725472f",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "ed1aaf98-41a4-4708-b728-6cef2725472f",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "a18e78c8-ed32-4fca-9e6a-18ba244ae2ad",
"StateId": "2c38032b-92a5-4ec3-b5a4-9d5008d28de9"
},
{
"PersonalConfigId": "a18e78c8-ed32-4fca-9e6a-18ba244ae2ad",
"StateId": "2c38032b-92a5-4ec3-b5a4-9d5008d28de9"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a5dea916-90df-4b87-a787-2dd6b32caf77",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "73b1f0a3-fb13-4269-aa6a-4d9a8354e609",
"_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. |