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": "076e1bb2-3183-498c-8ae3-413cf348600a", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "f5190e44-f0df-42a1-8887-92f69f27d6ea", "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": "ff0a7757-abc6-4fcd-ad96-7f4e8a799aa5", "Teams": [] }, { "UserId": "f5190e44-f0df-42a1-8887-92f69f27d6ea", "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": "ff0a7757-abc6-4fcd-ad96-7f4e8a799aa5", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "2e00a8b1-b32b-410b-89be-57648975210f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:58:44.7058842-08:00", "MeasurementValueNeededDate": "2024-12-22T02:58:44.7058842-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2da94da0-bc4e-4cbf-821f-9d4151037b5f", "CreateDate": "2024-12-22T02:58:44.7058842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7058842-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "2e00a8b1-b32b-410b-89be-57648975210f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:58:44.7058842-08:00", "MeasurementValueNeededDate": "2024-12-22T02:58:44.7058842-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2da94da0-bc4e-4cbf-821f-9d4151037b5f", "CreateDate": "2024-12-22T02:58:44.7058842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7058842-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "2d9a3bcb-e973-4faf-9e88-6d370e4b4dfc", "CreateDate": "2024-12-22T02:58:44.7058842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7058842-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": "83afa068-d1dc-40d2-830a-d5658c260986", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "4a4a6455-b18d-4021-9dc5-a91248e102fc", "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": "f6636055-6464-46ef-afcb-61e152a4e835", "Teams": [] }, { "UserId": "4a4a6455-b18d-4021-9dc5-a91248e102fc", "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": "f6636055-6464-46ef-afcb-61e152a4e835", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "43c2ec7d-1c9d-4f90-9273-c4ca6e9080fd", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:58:44.7214974-08:00", "MeasurementValueNeededDate": "2024-12-22T02:58:44.7214974-08:00", "SourceSystemId": "sample string 3", "CompanyId": "827020c3-489f-426d-b34b-ecf7c516fd59", "CreateDate": "2024-12-22T02:58:44.7214974-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7214974-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "43c2ec7d-1c9d-4f90-9273-c4ca6e9080fd", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:58:44.7214974-08:00", "MeasurementValueNeededDate": "2024-12-22T02:58:44.7214974-08:00", "SourceSystemId": "sample string 3", "CompanyId": "827020c3-489f-426d-b34b-ecf7c516fd59", "CreateDate": "2024-12-22T02:58:44.7214974-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7214974-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "96faaa00-e0e4-4cf4-ab74-af3a584f76cd", "CreateDate": "2024-12-22T02:58:44.7214974-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:58:44.7214974-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }