PUT Teams
Updates the given team.
Request Information
URI Parameters
None.
Body Parameters
Team to be updated
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": "c70186af-6d1a-4f75-86c4-333c8e420ded", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "e14df81b-abb2-4036-92f5-a3af1f1f2496", "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": "81ae8495-21b0-4958-ad5a-f8134e0b2d55", "Teams": [] }, { "UserId": "e14df81b-abb2-4036-92f5-a3af1f1f2496", "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": "81ae8495-21b0-4958-ad5a-f8134e0b2d55", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "37d664e9-04c3-4eb2-81e7-be1d26deeae5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "MeasurementValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "SourceSystemId": "sample string 3", "CompanyId": "879bee8b-eab5-4d28-97cc-c3e70614e181", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "37d664e9-04c3-4eb2-81e7-be1d26deeae5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "MeasurementValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "SourceSystemId": "sample string 3", "CompanyId": "879bee8b-eab5-4d28-97cc-c3e70614e181", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "d2cebe80-4061-4b5d-837e-ac4d28717f6d", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
On success, the updated team.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Team |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TeamId": "185b7616-7414-4272-8dec-2f27715f2776", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "84dd4f18-ca58-4300-b8e4-7946efc8ae21", "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": "ebb7756a-e34c-44df-b97a-fa1d02ed92f5", "Teams": [] }, { "UserId": "84dd4f18-ca58-4300-b8e4-7946efc8ae21", "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": "ebb7756a-e34c-44df-b97a-fa1d02ed92f5", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "3e94273b-13e7-4e9e-9601-57217115094b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "MeasurementValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87729c-582e-410a-a002-31e33b50410a", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3e94273b-13e7-4e9e-9601-57217115094b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "MeasurementValueNeededDate": "2024-12-03T09:44:59.6900798-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87729c-582e-410a-a002-31e33b50410a", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1c964b41-37ab-485d-a784-90339989d1ee", "CreateDate": "2024-12-03T09:44:59.6900798-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:44:59.6900798-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }