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": "2d5fba05-08ea-4705-aa7c-69b28291cb00",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "2d5fba05-08ea-4705-aa7c-69b28291cb00",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "a7a572eb-2493-4209-b49b-0e38b0c1163d",
"StateId": "bded5499-7d93-4a81-bcdd-b2f8f27d63b5"
},
{
"PersonalConfigId": "a7a572eb-2493-4209-b49b-0e38b0c1163d",
"StateId": "bded5499-7d93-4a81-bcdd-b2f8f27d63b5"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "8eafd069-f4d3-4ba2-8a9b-58336bbf8516",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "0f370413-10ad-41da-8b26-a1536cb58260",
"_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. |