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": "d1394653-b19b-4cc1-a44c-b50bbb748e6b",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "d1394653-b19b-4cc1-a44c-b50bbb748e6b",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "a07fcd22-1ef9-4331-b96b-95a2d69c43a5",
"StateId": "782a1670-a50f-4222-8137-28c1a403534e"
},
{
"PersonalConfigId": "a07fcd22-1ef9-4331-b96b-95a2d69c43a5",
"StateId": "782a1670-a50f-4222-8137-28c1a403534e"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a6034ba6-748b-4863-bc96-0dea23384759",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "c6b327be-56a5-4b3d-a296-8ba336198d94",
"_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. |