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": "6ae3ddbf-f2a4-44d3-a066-269d04b27c04", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "752d686e-ecd8-4191-85a5-78ca4f53c313", "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": "afaf0859-391b-452f-becc-2000217760ae", "Teams": [] }, { "UserId": "752d686e-ecd8-4191-85a5-78ca4f53c313", "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": "afaf0859-391b-452f-becc-2000217760ae", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "f5f12125-3853-4d89-bbca-f50ddfcb0fbc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "MeasurementValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7afa71e4-e5e6-4e91-9aa4-cc01135e1781", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "f5f12125-3853-4d89-bbca-f50ddfcb0fbc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "MeasurementValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7afa71e4-e5e6-4e91-9aa4-cc01135e1781", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "986f9a8a-e9d2-462a-9037-71d4e57cce4e", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-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": "c74dbecb-ca4d-443b-a195-9194a22399d1", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "ac5b5607-5b1a-42ea-914f-a26576b066c7", "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": "6e8dad34-8353-45a8-830d-f3ff1a40b7f7", "Teams": [] }, { "UserId": "ac5b5607-5b1a-42ea-914f-a26576b066c7", "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": "6e8dad34-8353-45a8-830d-f3ff1a40b7f7", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "6bfb1069-d6e7-42bb-8e99-0f0d05504b11", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "MeasurementValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e27df9c5-c01b-4788-9c94-4618bba67077", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "6bfb1069-d6e7-42bb-8e99-0f0d05504b11", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "MeasurementValueNeededDate": "2025-01-30T17:05:22.3488668-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e27df9c5-c01b-4788-9c94-4618bba67077", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "fafbe51e-6a70-43bc-b65d-dad8f454d066", "CreateDate": "2025-01-30T17:05:22.3488668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:22.3488668-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }