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": "41a2b0c6-676f-4a79-af10-6a3bca8fad1a", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "32861569-0fe9-4dbf-a6a5-749138355868", "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": "f1b803b4-e195-419c-a405-e7562be39f61", "Teams": [] }, { "UserId": "32861569-0fe9-4dbf-a6a5-749138355868", "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": "f1b803b4-e195-419c-a405-e7562be39f61", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "d5aebee4-56be-4934-b81f-2567b5d16fc0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "SourceSystemId": "sample string 3", "CompanyId": "36cbfb41-ae2f-4ccc-8a76-f0a9e4d6445f", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "d5aebee4-56be-4934-b81f-2567b5d16fc0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "SourceSystemId": "sample string 3", "CompanyId": "36cbfb41-ae2f-4ccc-8a76-f0a9e4d6445f", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8608d952-52a7-4c76-8fd2-eb095144a0fa", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07: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": "4d41fe9f-b3a2-487f-8804-e282bda179bf", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "4cb9611d-da88-4e5d-93cd-5881c8d02cef", "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": "6078d16a-33e2-4f54-831b-2a877849dbef", "Teams": [] }, { "UserId": "4cb9611d-da88-4e5d-93cd-5881c8d02cef", "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": "6078d16a-33e2-4f54-831b-2a877849dbef", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "8b8e0e51-e4f1-4413-8927-89cfa7048c0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "SourceSystemId": "sample string 3", "CompanyId": "85b74bbb-38ec-40f2-96a8-e3b39421f7e2", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "8b8e0e51-e4f1-4413-8927-89cfa7048c0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:08.0388682-07:00", "SourceSystemId": "sample string 3", "CompanyId": "85b74bbb-38ec-40f2-96a8-e3b39421f7e2", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "4cf08ae6-98bd-4ad0-851a-bcc0d955ca9c", "CreateDate": "2024-10-10T15:24:08.0388682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:08.0388682-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }