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": "babf0901-366b-445f-a684-70a53d73a682",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "babf0901-366b-445f-a684-70a53d73a682",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "beed2a62-4474-47a5-bb2c-981a34c681bd",
"StateId": "eba4f659-637c-4898-897b-5e8ce994cee8"
},
{
"PersonalConfigId": "beed2a62-4474-47a5-bb2c-981a34c681bd",
"StateId": "eba4f659-637c-4898-897b-5e8ce994cee8"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "e94b9aef-28e4-43b2-9146-332b7e5d08e1",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "8718a841-a1af-4299-9f89-77c809af12bc",
"_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. |