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": "82810f0b-5d0a-48fe-9aa0-99a004ab3f64",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "82810f0b-5d0a-48fe-9aa0-99a004ab3f64",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "2e5faa85-b798-4109-8e7a-f9a9f46cce2a",
"StateId": "cd74ac6e-fcc5-4f09-81d4-c797ce530199"
},
{
"PersonalConfigId": "2e5faa85-b798-4109-8e7a-f9a9f46cce2a",
"StateId": "cd74ac6e-fcc5-4f09-81d4-c797ce530199"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a6a8daa4-cf73-4284-9479-6c838afb7534",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "bf801fe0-54e8-4aae-9618-5c52eaa7e13d",
"_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. |