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": "f2903693-a2f8-400d-9016-857949ae1dbd", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "d47fc9ee-bb72-4cbc-911e-10e055ef2f4a", "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": "ed0419c7-bc56-4579-81db-79a80b44e22d", "Teams": [] }, { "UserId": "d47fc9ee-bb72-4cbc-911e-10e055ef2f4a", "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": "ed0419c7-bc56-4579-81db-79a80b44e22d", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "295127ca-2148-4bcf-9745-eb6faeb8181d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "MeasurementValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2ca1ad3f-7fd3-42ff-87fd-881c5f0b4d4f", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "295127ca-2148-4bcf-9745-eb6faeb8181d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "MeasurementValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2ca1ad3f-7fd3-42ff-87fd-881c5f0b4d4f", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "d1d0845b-1a5e-41ee-be60-bbe90195339f", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-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": "a4770856-0ee0-4a0e-a316-101b9ee6e8c4", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "04f2634d-07fa-4d1c-ae3d-e4c50209fa71", "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": "fae0f73e-659d-4555-ba48-cb6035d65d28", "Teams": [] }, { "UserId": "04f2634d-07fa-4d1c-ae3d-e4c50209fa71", "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": "fae0f73e-659d-4555-ba48-cb6035d65d28", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "d8f43916-8f31-460e-b7aa-3cde0893dd92", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "MeasurementValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c3ad759b-ad66-48e1-97ef-1ee5ea034761", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "d8f43916-8f31-460e-b7aa-3cde0893dd92", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "MeasurementValueNeededDate": "2024-11-21T05:19:58.3956002-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c3ad759b-ad66-48e1-97ef-1ee5ea034761", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3f1cfce4-b386-4ddc-a940-b0fd1fdf51c9", "CreateDate": "2024-11-21T05:19:58.3956002-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:19:58.3956002-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }