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": "a838517c-3231-4e34-b84a-2eacd7074347",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "a838517c-3231-4e34-b84a-2eacd7074347",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "f90852bd-c195-483a-9f0f-e441f72743b8",
"StateId": "da84917d-ac63-478e-9976-3fbc2c90d1de"
},
{
"PersonalConfigId": "f90852bd-c195-483a-9f0f-e441f72743b8",
"StateId": "da84917d-ac63-478e-9976-3fbc2c90d1de"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "4f3cd275-0ecd-449c-b45c-3a070b3aff4c",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "a99f993c-5708-4ac1-9ace-9f003032e10b",
"_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. |