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": "f17312bd-5b77-4a1e-bc37-a86d749e9b01", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "6b1f9276-73f3-4abd-8ad2-0b3339cd1397", "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": "9d6d578e-3042-4e80-8a6c-8e01d02cdd1f", "Teams": [] }, { "UserId": "6b1f9276-73f3-4abd-8ad2-0b3339cd1397", "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": "9d6d578e-3042-4e80-8a6c-8e01d02cdd1f", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "6417ab96-e0c2-4958-a427-f2934508df3e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "MeasurementValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2282335f-b545-489e-9b21-d55bb0c406b6", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "6417ab96-e0c2-4958-a427-f2934508df3e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "MeasurementValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2282335f-b545-489e-9b21-d55bb0c406b6", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "fe0716a4-5deb-41c1-9d1a-7119c751caef", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-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": "b8e7d1f7-d991-4d47-a25c-7687b50c272b", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "4d300c32-430c-4259-ad11-67016184d2ba", "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": "34ce04d9-6612-47e8-8f7f-137c61de9771", "Teams": [] }, { "UserId": "4d300c32-430c-4259-ad11-67016184d2ba", "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": "34ce04d9-6612-47e8-8f7f-137c61de9771", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "bda1940c-be3a-4c25-bdb5-265935111960", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "MeasurementValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "SourceSystemId": "sample string 3", "CompanyId": "627014fe-d29c-4c24-b3ba-3078c7f4d79b", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "bda1940c-be3a-4c25-bdb5-265935111960", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "MeasurementValueNeededDate": "2024-12-22T02:50:36.2891749-08:00", "SourceSystemId": "sample string 3", "CompanyId": "627014fe-d29c-4c24-b3ba-3078c7f4d79b", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "6b4fd1ed-32f6-4cc5-8a63-20fd8e176a16", "CreateDate": "2024-12-22T02:50:36.2891749-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:36.2891749-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }