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": "281711f9-554e-4b05-b74f-104dbb47e885", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "cf83deae-f4e3-4b33-844f-8909a839ed6c", "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": "a15bfc69-fcab-44f7-9489-f05cd9b82b3e", "Teams": [] }, { "UserId": "cf83deae-f4e3-4b33-844f-8909a839ed6c", "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": "a15bfc69-fcab-44f7-9489-f05cd9b82b3e", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "0e0b31b8-e73a-4c9d-b915-fd775c2c333a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "MeasurementValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "SourceSystemId": "sample string 3", "CompanyId": "14dca3ea-cbbb-4b4d-bbd9-9bf770197309", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "0e0b31b8-e73a-4c9d-b915-fd775c2c333a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "MeasurementValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "SourceSystemId": "sample string 3", "CompanyId": "14dca3ea-cbbb-4b4d-bbd9-9bf770197309", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "76d37449-20a7-43d9-b735-f8da9369745e", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-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": "8356eb4b-a61c-4276-8d3d-cde447f0974f", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "a4529030-a075-4a4f-b1e8-f6281b65a09f", "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": "a7e464c2-f8b9-4115-9bc2-835ff2179549", "Teams": [] }, { "UserId": "a4529030-a075-4a4f-b1e8-f6281b65a09f", "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": "a7e464c2-f8b9-4115-9bc2-835ff2179549", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "75155179-c5fd-488e-add9-d86a601424cc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "MeasurementValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "SourceSystemId": "sample string 3", "CompanyId": "99e7424d-d7f9-43a2-98ba-a37cebca3d29", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "75155179-c5fd-488e-add9-d86a601424cc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "MeasurementValueNeededDate": "2024-11-21T05:31:10.2368441-08:00", "SourceSystemId": "sample string 3", "CompanyId": "99e7424d-d7f9-43a2-98ba-a37cebca3d29", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a7c3c363-31e6-4c73-9f6f-5d2479a275a8", "CreateDate": "2024-11-21T05:31:10.2368441-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:31:10.2368441-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }