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": "669ebdd8-1be2-4516-830b-dfa4e7083087", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "a7db6236-3a5a-4e2e-8845-8742974521bd", "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": "8b94a61d-9bfd-43f3-80e5-3cf2425f78c1", "Teams": [] }, { "UserId": "a7db6236-3a5a-4e2e-8845-8742974521bd", "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": "8b94a61d-9bfd-43f3-80e5-3cf2425f78c1", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "042cd55c-4736-47d8-8099-cae73b34e173", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "MeasurementValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "SourceSystemId": "sample string 3", "CompanyId": "69bd5b4e-3133-4eba-a16a-cc452183952b", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "042cd55c-4736-47d8-8099-cae73b34e173", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "MeasurementValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "SourceSystemId": "sample string 3", "CompanyId": "69bd5b4e-3133-4eba-a16a-cc452183952b", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1c4615bb-9774-40da-b4dc-549be501cbe1", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-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": "d5e9ceeb-6128-4c0f-a023-d321bdfdb0a0", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "f31a1236-4c9a-43a9-8715-715367377922", "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": "0459c2d6-5969-4a47-b809-955bf32fab9b", "Teams": [] }, { "UserId": "f31a1236-4c9a-43a9-8715-715367377922", "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": "0459c2d6-5969-4a47-b809-955bf32fab9b", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "7b422880-8d82-46d6-9519-bb05db5c37b3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "MeasurementValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6704387c-0abd-4b73-a3f1-39ad264f3b56", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7b422880-8d82-46d6-9519-bb05db5c37b3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "MeasurementValueNeededDate": "2024-12-21T18:50:42.0335433-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6704387c-0abd-4b73-a3f1-39ad264f3b56", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "5ece043f-a8b9-479f-8a7b-0d90d446389d", "CreateDate": "2024-12-21T18:50:42.0335433-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:50:42.0335433-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }