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": "47d91286-dd37-428c-8be3-7f3890d85b20", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "a863b219-a621-46e7-b449-0e29c09b0076", "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": "b7b52aff-11c0-4b5e-99d4-f1be83b715ad", "Teams": [] }, { "UserId": "a863b219-a621-46e7-b449-0e29c09b0076", "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": "b7b52aff-11c0-4b5e-99d4-f1be83b715ad", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "55e38aad-cb64-4dba-bf25-223b1045e991", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "MeasurementValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "SourceSystemId": "sample string 3", "CompanyId": "66e5fb1a-e28e-4ef4-8b08-f8d59bb888c5", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "55e38aad-cb64-4dba-bf25-223b1045e991", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "MeasurementValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "SourceSystemId": "sample string 3", "CompanyId": "66e5fb1a-e28e-4ef4-8b08-f8d59bb888c5", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "6eb0266d-9a01-458b-a08b-b8694127300a", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-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": "e29d82bb-4794-4180-a698-fe8d4d4c2a7c", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "214ec7f5-efe2-4b3b-aa91-5859441d0675", "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": "5e583964-0c2b-46f2-a887-058ae4b9cfd9", "Teams": [] }, { "UserId": "214ec7f5-efe2-4b3b-aa91-5859441d0675", "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": "5e583964-0c2b-46f2-a887-058ae4b9cfd9", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "c6c90913-b78c-4fb7-aba1-7541ad4d2a30", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "MeasurementValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3d771aaa-eb3a-4576-b0bd-bc7bab6a8627", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "c6c90913-b78c-4fb7-aba1-7541ad4d2a30", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "MeasurementValueNeededDate": "2024-12-09T02:28:59.1129251-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3d771aaa-eb3a-4576-b0bd-bc7bab6a8627", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "744fd840-6656-4274-9884-0a341806cbd3", "CreateDate": "2024-12-09T02:28:59.1129251-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:28:59.1129251-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }