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": "2fc5daf7-b44a-4d0f-acf9-08fe4b67e258", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "5596ea80-c73f-4dff-8fcf-e0155cfdad4a", "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": "3ceaa88f-6fa3-41d9-b23d-69695a9db0d9", "Teams": [] }, { "UserId": "5596ea80-c73f-4dff-8fcf-e0155cfdad4a", "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": "3ceaa88f-6fa3-41d9-b23d-69695a9db0d9", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "14391356-afc5-4812-bd7f-389ff296143b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "MeasurementValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "SourceSystemId": "sample string 3", "CompanyId": "97a38dee-a02c-46ff-89f6-47eb9e2419d2", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "14391356-afc5-4812-bd7f-389ff296143b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "MeasurementValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "SourceSystemId": "sample string 3", "CompanyId": "97a38dee-a02c-46ff-89f6-47eb9e2419d2", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "dfac0ac1-4968-4235-ad39-2109c03a1193", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07: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": "2f67dd67-3c83-4cd8-9c46-105174ca2de4", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "f31576f0-2264-4fd6-a2b9-6ec6666cec89", "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": "2fcd91f3-7ef9-4961-be56-ce9018b20cc1", "Teams": [] }, { "UserId": "f31576f0-2264-4fd6-a2b9-6ec6666cec89", "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": "2fcd91f3-7ef9-4961-be56-ce9018b20cc1", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "fad3fc7e-9ae7-4ec5-aff5-1b1453c7a0b7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "MeasurementValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "SourceSystemId": "sample string 3", "CompanyId": "13f75ab8-e3b9-43cc-81fc-3e123f2e246c", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fad3fc7e-9ae7-4ec5-aff5-1b1453c7a0b7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "MeasurementValueNeededDate": "2025-04-03T15:30:27.4187614-07:00", "SourceSystemId": "sample string 3", "CompanyId": "13f75ab8-e3b9-43cc-81fc-3e123f2e246c", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "96911549-3c03-4541-b59e-021071c47564", "CreateDate": "2025-04-03T15:30:27.4187614-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:30:27.4187614-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }