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": "7cf46b5a-75a8-4f4f-a908-6b0ce5fd657d",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "7cf46b5a-75a8-4f4f-a908-6b0ce5fd657d",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "f88d3945-fddb-4008-bdad-3ec318307fd2",
"StateId": "5133897f-b26e-4237-942c-82a641129465"
},
{
"PersonalConfigId": "f88d3945-fddb-4008-bdad-3ec318307fd2",
"StateId": "5133897f-b26e-4237-942c-82a641129465"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "e25d9903-61af-41d7-9b6e-af402ec5cc3d",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "fa628869-8b55-4d4a-affd-c176e952f699",
"_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. |