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": "36f55743-293a-4350-ba47-a571b1bb32db",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "36f55743-293a-4350-ba47-a571b1bb32db",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "f61970ca-9f45-4aad-8118-0ecca723e259",
"StateId": "3c9cb6e5-71cb-4b6c-812b-2b489b7a5fcb"
},
{
"PersonalConfigId": "f61970ca-9f45-4aad-8118-0ecca723e259",
"StateId": "3c9cb6e5-71cb-4b6c-812b-2b489b7a5fcb"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "a60fa65d-bb49-411e-a349-a613ed3b9535",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "12b1d6d8-f63b-4751-9aeb-d0c9835ba992",
"_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. |