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": "e2b61c85-179e-4dcc-a88b-22ccd06dc959",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "e2b61c85-179e-4dcc-a88b-22ccd06dc959",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "418b4204-4518-4616-917f-3d3ec15f1d9d",
"StateId": "fcbf381e-d5a5-42bc-b1ca-c549d045e121"
},
{
"PersonalConfigId": "418b4204-4518-4616-917f-3d3ec15f1d9d",
"StateId": "fcbf381e-d5a5-42bc-b1ca-c549d045e121"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "d5e39fb6-a882-4c21-95d3-c7470dbe914c",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "5b1d2e12-c3c7-447a-b5cd-0cd473265e3c",
"_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. |