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": "5e6a04e9-5810-4366-9eed-fd67aea780ca", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "89b2f3ce-8ae2-48e5-964d-57e3a481dc78", "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": "efbda716-3620-403b-800b-866c68e2f29c", "Teams": [] }, { "UserId": "89b2f3ce-8ae2-48e5-964d-57e3a481dc78", "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": "efbda716-3620-403b-800b-866c68e2f29c", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "d40e3c0f-ff72-4c59-9bdb-27c4d0cdda4e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "MeasurementValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "f29cb4e3-718f-4793-bcf5-01ba29d790ea", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "d40e3c0f-ff72-4c59-9bdb-27c4d0cdda4e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "MeasurementValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "f29cb4e3-718f-4793-bcf5-01ba29d790ea", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "ed1358f6-f025-4102-aebc-3d10215207dc", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-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": "8fa34208-c5ae-47e3-8bee-098b91589d8e", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "13858b27-acfb-45bc-aa40-f9badd9b67ee", "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": "59fe4037-e03f-4403-9403-fbadc2218f23", "Teams": [] }, { "UserId": "13858b27-acfb-45bc-aa40-f9badd9b67ee", "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": "59fe4037-e03f-4403-9403-fbadc2218f23", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "b3faa00c-bd31-48bd-b55b-28247520b9e4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "MeasurementValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "885bfd1a-b85b-4f6d-97e8-445480371281", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "b3faa00c-bd31-48bd-b55b-28247520b9e4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "MeasurementValueNeededDate": "2024-12-09T02:10:54.5814109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "885bfd1a-b85b-4f6d-97e8-445480371281", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "e636d08e-a6d5-416e-8e01-c702aeb50ec2", "CreateDate": "2024-12-09T02:10:54.5814109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:10:54.5814109-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }