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": "f3afc286-7efb-4757-9281-11f19ab97fe2",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "f3afc286-7efb-4757-9281-11f19ab97fe2",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "762bc7f7-94da-4e5d-94d0-0f53be0a93f0",
"StateId": "159f4396-c6d0-4889-8952-e14a5af38da9"
},
{
"PersonalConfigId": "762bc7f7-94da-4e5d-94d0-0f53be0a93f0",
"StateId": "159f4396-c6d0-4889-8952-e14a5af38da9"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "b35a9ebe-22be-4973-805e-6dd5b8918b45",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "6aff3d3b-4365-48b6-a5da-c8d74146e3dd",
"_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. |