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": "c6cb79b9-364f-421d-8066-dda55df69e67",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "c6cb79b9-364f-421d-8066-dda55df69e67",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "368957ae-96b0-410f-a634-5e814cbfa4f4",
"StateId": "94830630-0a22-424c-bca0-5010e3eed2e2"
},
{
"PersonalConfigId": "368957ae-96b0-410f-a634-5e814cbfa4f4",
"StateId": "94830630-0a22-424c-bca0-5010e3eed2e2"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "e35d53ed-4c42-4d89-bef7-fedb05d3bc01",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "49fc1756-94bb-4898-946f-3874fe61d0c6",
"_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. |