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": "181757d2-593b-4aa3-93e0-0d6c6bde02a3", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "1b720b8f-312c-43b1-9a4b-045a0b56a291", "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": "8e36ad8d-11c0-43d3-9f2b-542618d7f2a5", "Teams": [] }, { "UserId": "1b720b8f-312c-43b1-9a4b-045a0b56a291", "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": "8e36ad8d-11c0-43d3-9f2b-542618d7f2a5", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "4e903308-f067-4201-b96a-1eef1fceab46", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6d2ad0b2-73e6-4d64-8d78-91a24ea08c4b", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "4e903308-f067-4201-b96a-1eef1fceab46", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6d2ad0b2-73e6-4d64-8d78-91a24ea08c4b", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "65d0a9bc-a938-4551-be84-398bbaa6f103", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-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": "06fd4ebc-4543-4329-84ee-0077c8ff9b16", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "3b967b58-44e6-468b-938c-054225e39a13", "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": "b262a772-f9ae-4cd4-955a-133fabe154c9", "Teams": [] }, { "UserId": "3b967b58-44e6-468b-938c-054225e39a13", "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": "b262a772-f9ae-4cd4-955a-133fabe154c9", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "fed54ec4-b236-4e4c-a0cf-ff8899a7bd10", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c696cc4a-358a-43af-84cc-8abcb3ec4d6d", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fed54ec4-b236-4e4c-a0cf-ff8899a7bd10", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.7260276-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c696cc4a-358a-43af-84cc-8abcb3ec4d6d", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "5d89e25c-7adf-4895-939e-6e00014928e3", "CreateDate": "2024-12-21T18:43:41.7260276-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.7260276-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }