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": "2dd33e84-aae8-411e-80ad-76489104e589",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "2dd33e84-aae8-411e-80ad-76489104e589",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "13ab028b-474f-4365-83b3-ae8ad3f51ab6",
"StateId": "7b60ed2a-7cbe-4bb2-87d6-e5b953dd9368"
},
{
"PersonalConfigId": "13ab028b-474f-4365-83b3-ae8ad3f51ab6",
"StateId": "7b60ed2a-7cbe-4bb2-87d6-e5b953dd9368"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "629dfde4-e38d-4e9f-9cf7-f6ec674af565",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "cca89c5c-ea7c-4f1d-b484-9eddac9bd296",
"_ts": 639160681697077832
}
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. |