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": "02fcceb4-9b0c-460a-aba0-8f44c8dd38e9",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "02fcceb4-9b0c-460a-aba0-8f44c8dd38e9",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "64928ef9-0eea-4c1a-b3d9-d87b1fb1c31e",
"StateId": "2a403b19-eb19-4428-99cf-47e8551bcdb8"
},
{
"PersonalConfigId": "64928ef9-0eea-4c1a-b3d9-d87b1fb1c31e",
"StateId": "2a403b19-eb19-4428-99cf-47e8551bcdb8"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "f1353363-b192-4742-8f26-f9fdeede71f8",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "61ffec0e-1e0d-4b4b-90a2-bbfdd38b4750",
"_ts": 639162735109329682
}
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. |