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": "72594e41-e558-45ab-8fbb-07f118657d45",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "72594e41-e558-45ab-8fbb-07f118657d45",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "6531c1e2-fb5a-4642-8112-ec1d66043a36",
"StateId": "505a6d7d-937d-4520-bc87-3aac4e06d143"
},
{
"PersonalConfigId": "6531c1e2-fb5a-4642-8112-ec1d66043a36",
"StateId": "505a6d7d-937d-4520-bc87-3aac4e06d143"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "3e54a94f-a766-425d-b547-b28c82374fb7",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "0a3f9661-7722-4441-899b-22876bf5224b",
"_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. |