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": "ced72e8e-96e5-4f95-ba9b-1add790689dc",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "ced72e8e-96e5-4f95-ba9b-1add790689dc",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "e660e825-336a-4485-81a2-90cff9ccca28",
"StateId": "495c5aa7-e2ae-423d-a7b0-024fcb3f59f9"
},
{
"PersonalConfigId": "e660e825-336a-4485-81a2-90cff9ccca28",
"StateId": "495c5aa7-e2ae-423d-a7b0-024fcb3f59f9"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "0f62cbf5-bed8-42a9-a42c-b3365deee27b",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "a0fa7cd7-3cdc-40da-b26c-3692f0c2c873",
"_ts": 639165916085172875
}
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. |