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": "08651581-41ad-473b-8093-0e106870a219",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "08651581-41ad-473b-8093-0e106870a219",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "4ce76985-dc69-4098-9d31-e0e6a241b5e9",
"StateId": "471adf41-1216-4960-b11b-84de48a05357"
},
{
"PersonalConfigId": "4ce76985-dc69-4098-9d31-e0e6a241b5e9",
"StateId": "471adf41-1216-4960-b11b-84de48a05357"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "859544db-afaf-4381-b4ce-0c94ec5009e0",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "7e99a7de-277d-4d94-a99e-9bdf8bbda606",
"_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. |