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": "0a473f5a-667a-43ab-875d-277d67c38d03",
"ResourceAllocation": 2.0,
"AllocationType": 0
},
{
"ResourceId": "0a473f5a-667a-43ab-875d-277d67c38d03",
"ResourceAllocation": 2.0,
"AllocationType": 0
}
],
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"SharedViews": [
{
"PersonalConfigId": "3b1d6127-a02a-4036-b73b-936f35f1eeff",
"StateId": "5fc3edec-0c9a-4359-925e-7b875db47c5e"
},
{
"PersonalConfigId": "3b1d6127-a02a-4036-b73b-936f35f1eeff",
"StateId": "5fc3edec-0c9a-4359-925e-7b875db47c5e"
}
],
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
"id": "43e63bb5-9249-4190-b95c-a0e6c46c86d9",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "f535c668-444a-4c27-867d-3fb4ba57cb6d",
"_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. |