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": "854e0e28-1a45-4f81-a020-76e591df76aa",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "854e0e28-1a45-4f81-a020-76e591df76aa",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "28c6e4e6-6743-4e31-9596-a6b48e9c6934",
"StateId": "d0c48823-a2aa-488d-ac97-bc4dfaebfc32"
},
{
"PersonalConfigId": "28c6e4e6-6743-4e31-9596-a6b48e9c6934",
"StateId": "d0c48823-a2aa-488d-ac97-bc4dfaebfc32"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "9a39229e-d291-4e98-bef8-9fe8bcac2355",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "4d8c3faa-ad70-4344-ae57-8ef6621bdf0a",
"_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. |