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": "a21f9366-5919-4fb6-ae01-d3b91b437ef2", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "6e80a967-2bd1-432c-9ee5-b5dbc9699568", "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": "150773e1-dadf-41e9-bf84-851cbb85e173", "Teams": [] }, { "UserId": "6e80a967-2bd1-432c-9ee5-b5dbc9699568", "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": "150773e1-dadf-41e9-bf84-851cbb85e173", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "70964706-95ac-4930-b9af-a2116e060534", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "MeasurementValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e8a68fb-aead-4e1d-aba5-84d83b237be4", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "70964706-95ac-4930-b9af-a2116e060534", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "MeasurementValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e8a68fb-aead-4e1d-aba5-84d83b237be4", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "f7c59b27-60ef-464d-9b5f-51cab94a10c7", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-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": "55d3867e-c799-47cb-bfec-d1796a5d4e62", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "a8a2a279-5e93-4244-9bb6-f839f1146275", "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": "2456a624-4870-4100-9b32-6bf74f23cb52", "Teams": [] }, { "UserId": "a8a2a279-5e93-4244-9bb6-f839f1146275", "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": "2456a624-4870-4100-9b32-6bf74f23cb52", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "2e29e20a-2f53-43f5-bbea-cc0d38cebea4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "MeasurementValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9267a7e7-bb1f-4b19-b187-5b35a076817b", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "2e29e20a-2f53-43f5-bbea-cc0d38cebea4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "MeasurementValueNeededDate": "2024-10-10T04:50:32.1638303-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9267a7e7-bb1f-4b19-b187-5b35a076817b", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "90d3d0e4-e247-48f0-8646-8215311c0768", "CreateDate": "2024-10-10T04:50:32.1638303-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T04:50:32.1638303-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }