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": "b7f52d4d-89c9-463f-bf1c-ab8a31f5d22d",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "b7f52d4d-89c9-463f-bf1c-ab8a31f5d22d",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "a247f30c-a171-4345-bbe4-273029db9339",
"StateId": "638b2f2e-4db2-4ba7-88c1-6e54a6a94fa6"
},
{
"PersonalConfigId": "a247f30c-a171-4345-bbe4-273029db9339",
"StateId": "638b2f2e-4db2-4ba7-88c1-6e54a6a94fa6"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "05c72e3a-5f53-49c7-a9a9-e2ec0e31e8c0",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "bbce790d-5293-4079-95af-4d5ae75b3a98",
"_ts": 639171333777969536
}
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. |