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": "fcb23d98-2926-442a-9643-5559d00ab838",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "fcb23d98-2926-442a-9643-5559d00ab838",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "efba0f56-9a98-48a0-bb34-4450a1e25040",
"StateId": "4c16e5ff-7ff4-411c-8234-70c53a513e40"
},
{
"PersonalConfigId": "efba0f56-9a98-48a0-bb34-4450a1e25040",
"StateId": "4c16e5ff-7ff4-411c-8234-70c53a513e40"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "85952593-e91e-4b00-ba08-a42f02c4c371",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "67002fb3-a792-4483-bd97-e9cfcfea86a4",
"_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. |