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": "ea40bf36-b0ef-4c12-9d6a-fbfc79e7c9c8",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "ea40bf36-b0ef-4c12-9d6a-fbfc79e7c9c8",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "ec0422b9-9959-422f-ab5d-4611cb41f603",
"StateId": "b362be04-dda0-406d-ad40-bf49806e5141"
},
{
"PersonalConfigId": "ec0422b9-9959-422f-ab5d-4611cb41f603",
"StateId": "b362be04-dda0-406d-ad40-bf49806e5141"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "8831dbb8-e857-4bbe-866b-34d673554cf6",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "6769aba9-bb24-4c4d-b716-189b19fa2123",
"_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. |