POST api/enterpriseteams

Create an enteprise team

Request Information

URI Parameters

None.

Body Parameters

OnePlanTeam
NameDescriptionTypeAdditional information
TeamName

string

None.

TeamDescription

string

None.

ProfilePicture

string

None.

TeamMembers

Collection of TeamMember

None.

Fields

Dictionary of string [key] and Object [value]

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": "b1a6bf53-ca1a-457f-87ca-586bdb4dd63d",
      "ResourceAllocation": 2.0,
      "AllocationType": 0
    },
    {
      "ResourceId": "b1a6bf53-ca1a-457f-87ca-586bdb4dd63d",
      "ResourceAllocation": 2.0,
      "AllocationType": 0
    }
  ],
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "__app__": "WORKPLANNER",
  "__entity_kind__": "WorkPlanner.Models.OnePlanTeam",
  "id": "0806f2b8-2b9a-4f28-b627-4676e1f64ef9",
  "RestoreFromId": "00000000-0000-0000-0000-000000000000",
  "ConfigId": "9a64aed6-a6d9-4e04-85c2-b71ddd052abf",
  "_ts": 638648371403354814
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.