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": "dc80ff80-2161-46dc-b3ad-64ebf705edcd",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "dc80ff80-2161-46dc-b3ad-64ebf705edcd",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "ffaffb5e-c800-499e-a58a-436a84e93c96",
"StateId": "103a2c24-8ef6-4019-9100-a1e9bc7b21a9"
},
{
"PersonalConfigId": "ffaffb5e-c800-499e-a58a-436a84e93c96",
"StateId": "103a2c24-8ef6-4019-9100-a1e9bc7b21a9"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "7936bd08-d1a4-49af-8d8d-420b37fe8260",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "0e4cdf0e-87c7-494f-8118-17154fb4aa32",
"_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. |