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": "6a94fb17-9305-4f8d-8b30-852b2348a255",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "6a94fb17-9305-4f8d-8b30-852b2348a255",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "8150fc7d-1164-49a5-8eba-398f4e25b214",
"StateId": "17348957-831a-462a-96be-f143e1f7008c"
},
{
"PersonalConfigId": "8150fc7d-1164-49a5-8eba-398f4e25b214",
"StateId": "17348957-831a-462a-96be-f143e1f7008c"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a05cbcb1-519a-4ba1-bc4c-fe6fdb08d8cd",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "c4bd551c-47ae-42f6-9570-a50ff8dd04c7",
"_ts": 639152817832154556
}
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. |