AlphaAlpha Docs

Create a team

Creates a new team

POST
/hr/teams
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/hr/teams" \  -H "Content-Type: application/json" \  -d '{    "dailyCapacity": 0,    "memberIds": [      "string"    ],    "name": "string",    "status": "ACTIVE"  }'
{
  "color": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "dailyCapacity": 0,
  "description": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "memberIds": [
    "string"
  ],
  "members": [
    {
      "email": "string",
      "firstName": "string",
      "id": "string",
      "jobTitle": "string",
      "lastName": "string"
    }
  ],
  "name": "string",
  "status": "ACTIVE",
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}