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": "2ec0bc95-c29a-42c1-8ebf-62f665914c34",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "2ec0bc95-c29a-42c1-8ebf-62f665914c34",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "9033e5ba-8ee3-406e-a341-624689a40162",
"StateId": "3bac1dcd-7b1b-4a5d-9363-b5293c28bd3e"
},
{
"PersonalConfigId": "9033e5ba-8ee3-406e-a341-624689a40162",
"StateId": "3bac1dcd-7b1b-4a5d-9363-b5293c28bd3e"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "65bac66f-e517-4a2b-951b-e55cad38da7e",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "40c8a630-9a02-4b2c-b60b-bb77d4591d5f",
"_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. |