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": "a7a4435d-1a18-423d-9e20-296fa00efaed",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "a7a4435d-1a18-423d-9e20-296fa00efaed",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "3ab17746-fa84-400d-aa82-254704d8d03a",
"StateId": "28af9fae-1d04-44d9-a012-1d5d447ff4ba"
},
{
"PersonalConfigId": "3ab17746-fa84-400d-aa82-254704d8d03a",
"StateId": "28af9fae-1d04-44d9-a012-1d5d447ff4ba"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "4ddb499b-7ea6-49f8-af98-b570c9b35e9a",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "5311f8fb-0887-4591-8aa7-2944ed2dcef3",
"_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. |