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": "9ac1599b-0cfd-4603-bc90-96d5d0e5df47",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "9ac1599b-0cfd-4603-bc90-96d5d0e5df47",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "f4107167-9607-49a3-b8ca-7055f5ce77c5",
"StateId": "6b9a99af-74f4-471f-beef-529eb901b09e"
},
{
"PersonalConfigId": "f4107167-9607-49a3-b8ca-7055f5ce77c5",
"StateId": "6b9a99af-74f4-471f-beef-529eb901b09e"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "c1771d23-1baa-4a35-85da-d9da786d7561",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "75edc0dd-8640-444a-b5f0-497c77957529",
"_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. |