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": "32004dc5-5db0-4936-99e6-ea64958860e9",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "32004dc5-5db0-4936-99e6-ea64958860e9",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "dc2bb31a-5bc3-44a4-aa53-a1ea7c96731b",
"StateId": "b79877c6-ed37-4a5c-9b56-d9e75d128107"
},
{
"PersonalConfigId": "dc2bb31a-5bc3-44a4-aa53-a1ea7c96731b",
"StateId": "b79877c6-ed37-4a5c-9b56-d9e75d128107"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "1e79f830-a009-4506-8303-da52d89203d2",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "3bfd94e8-8348-4447-b82c-2c19d7a2afcf",
"_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. |