POST Teams

Creates a new team.

Request Information

URI Parameters

None.

Body Parameters

Team to be created. TeamId should not be filled in.

Team
NameDescriptionTypeAdditional information
TeamId

globally unique identifier

None.

Name

string

None.

Description

string

None.

Users

Collection of User

None.

AssetGroups

Collection of AssetGroup

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TeamId": "a66306f5-bba4-4db3-9d45-9f1a0f004ceb",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Users": [
    {
      "UserId": "1a7cfa6c-6b2c-4043-bfcd-6c37fc3996df",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "b42e3bee-32a9-4e53-8994-ae46aa4007f9",
      "Teams": []
    },
    {
      "UserId": "1a7cfa6c-6b2c-4043-bfcd-6c37fc3996df",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "b42e3bee-32a9-4e53-8994-ae46aa4007f9",
      "Teams": []
    }
  ],
  "AssetGroups": [
    {
      "AssetGroupId": "b6195551-1107-467e-846f-819e8b29ea3c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
      "MeasurementValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "c74e3b42-5cd3-4ec6-bfc5-86fc7150d80e",
      "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
      "LastModifiedUser": "sample string 6"
    },
    {
      "AssetGroupId": "b6195551-1107-467e-846f-819e8b29ea3c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
      "MeasurementValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "c74e3b42-5cd3-4ec6-bfc5-86fc7150d80e",
      "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
      "LastModifiedUser": "sample string 6"
    }
  ],
  "SourceSystemId": "sample string 3",
  "CompanyId": "a5c181a7-071a-4c9a-a2e7-3738f5358001",
  "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
  "LastModifiedUser": "sample string 6"
}

Response Information

Resource Description

On success, the created team.

NameDescriptionTypeAdditional information
Data

Team

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "TeamId": "1165c3d6-db76-4948-b5a6-d7ade8569745",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Users": [
      {
        "UserId": "41c388aa-ebda-4fd7-9768-1758b993876e",
        "UserName": "sample string 1",
        "FullName": "sample string 2",
        "PhoneNumber": "sample string 3",
        "Email": "sample string 4",
        "IsLockedOut": true,
        "IsApproved": true,
        "Role": {
          "Name": "sample string 1",
          "Description": "sample string 2"
        },
        "CompanyId": "2f044a38-8039-42ae-92d7-a43fccca94c2",
        "Teams": []
      },
      {
        "UserId": "41c388aa-ebda-4fd7-9768-1758b993876e",
        "UserName": "sample string 1",
        "FullName": "sample string 2",
        "PhoneNumber": "sample string 3",
        "Email": "sample string 4",
        "IsLockedOut": true,
        "IsApproved": true,
        "Role": {
          "Name": "sample string 1",
          "Description": "sample string 2"
        },
        "CompanyId": "2f044a38-8039-42ae-92d7-a43fccca94c2",
        "Teams": []
      }
    ],
    "AssetGroups": [
      {
        "AssetGroupId": "9266550d-a8fc-413c-b815-7f7a66c79d60",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
        "MeasurementValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "ffdca856-65a0-4b56-b4f9-6ebe9e3fe443",
        "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
        "LastModifiedUser": "sample string 6"
      },
      {
        "AssetGroupId": "9266550d-a8fc-413c-b815-7f7a66c79d60",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
        "MeasurementValueNeededDate": "2024-12-03T10:13:01.1608681-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "ffdca856-65a0-4b56-b4f9-6ebe9e3fe443",
        "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
        "LastModifiedUser": "sample string 6"
      }
    ],
    "SourceSystemId": "sample string 3",
    "CompanyId": "93fc20b5-35af-443f-a697-15c57d05137c",
    "CreateDate": "2024-12-03T10:13:01.1608681-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-12-03T10:13:01.1608681-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "Total": 1,
  "Message": "sample string 1"
}