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": "8b1bab13-3e0c-4873-acf1-e1df335d5269",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "8b1bab13-3e0c-4873-acf1-e1df335d5269",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "24bcc064-ad74-475e-94f0-b327973ef9b0",
"StateId": "13f4fa5d-ca54-4c96-b4c5-928e94b28d57"
},
{
"PersonalConfigId": "24bcc064-ad74-475e-94f0-b327973ef9b0",
"StateId": "13f4fa5d-ca54-4c96-b4c5-928e94b28d57"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "f2f7a382-5b00-44bd-8726-8a9e725c96ba",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "582bf6f3-0f3c-4938-a647-832aeac5d912",
"_ts": 639158032644625646
}
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. |