POST Teams
Creates a new team.
Request Information
URI Parameters
None.
Body Parameters
Team to be created. TeamId should not be filled in.
TeamName | Description | Type | Additional 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": "7a0024ee-4449-411e-8fff-10f43dd039c2", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "f7981405-36fc-4c21-80ae-9dcfada01a39", "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": "c7ad578c-1765-4f6e-95b7-ece2ae16ba06", "Teams": [] }, { "UserId": "f7981405-36fc-4c21-80ae-9dcfada01a39", "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": "c7ad578c-1765-4f6e-95b7-ece2ae16ba06", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "d6ec2a45-c7e6-46a8-953c-810d40135523", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "MeasurementValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5a753d2d-13ec-46eb-8f11-44054a5882b2", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "d6ec2a45-c7e6-46a8-953c-810d40135523", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "MeasurementValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5a753d2d-13ec-46eb-8f11-44054a5882b2", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "9c7d81b6-4ae0-4c61-922d-d73ec46e0ba7", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
On success, the created team.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Team |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TeamId": "dc4662dd-5066-40d4-9286-2b6005f0856b", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "bcf369d8-f2f5-4a1d-9f57-d97d21614685", "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": "74f1c937-8f2c-4b8e-a2e5-7a4b3be5c01e", "Teams": [] }, { "UserId": "bcf369d8-f2f5-4a1d-9f57-d97d21614685", "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": "74f1c937-8f2c-4b8e-a2e5-7a4b3be5c01e", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "95322f73-f7fc-4123-86cf-5f5700bd3fe2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "MeasurementValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d5162f7b-6dae-4f35-82de-fd4b83e90223", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "95322f73-f7fc-4123-86cf-5f5700bd3fe2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "MeasurementValueNeededDate": "2025-01-30T12:33:10.2830402-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d5162f7b-6dae-4f35-82de-fd4b83e90223", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "371e716b-cf8b-49ef-9922-6bc631389c51", "CreateDate": "2025-01-30T12:33:10.2830402-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:33:10.2830402-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }