PUT AssetMeasurementTypes
Updates an asset measurement type.
Request Information
URI Parameters
None.
Body Parameters
AssetMeasurementTypeName | Description | Type | Additional information |
---|---|---|---|
AssetMeasurementTypeId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
MeasurementType | MeasurementType |
None. |
|
Label | string |
None. |
|
MinValue | decimal number |
None. |
|
MaxValue | decimal number |
None. |
|
MinLength | integer |
None. |
|
MaxLength | integer |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
LastValueDate | date |
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:
{ "AssetMeasurementTypeId": "8495696f-188c-4768-b309-a5da873407b7", "Asset": { "AssetId": "9c700751-d80f-4287-8a06-b427fca42d02", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0682eb39-5331-463e-9879-21154d81480b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1b3b3911-7e77-4b4e-9ace-2c1d215c2603", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "da43e054-9923-4736-84a3-8be1a8eeeec4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "MeasurementValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a4cc4f8a-c539-403c-ae2a-b60116eb1b1e", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "MeasurementValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3bae93ab-31a1-4858-b139-0461fecd2c95", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "eb7f61c7-42ca-43d6-8b9d-73581715ae6e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0682eb39-5331-463e-9879-21154d81480b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1b3b3911-7e77-4b4e-9ace-2c1d215c2603", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "64bb5d0e-9961-4a19-9155-c70a9aa8fbbb", "Name": "sample string 1" }, "Unit": { "UnitId": "d891000b-ec5c-45c2-bd7c-1fc4277dbc82", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8a104177-1c0a-4f58-b59e-9e6131302edc", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "829eaf57-3e19-4689-818b-37cfa98b9181", "FieldId": "5e164779-cc47-4bb0-8f0c-e798453c9be0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "829eaf57-3e19-4689-818b-37cfa98b9181", "FieldId": "5e164779-cc47-4bb0-8f0c-e798453c9be0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d02b3b79-eeb3-49d3-bf0b-54a9439cd7af", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "LastValueDate": "2025-02-05T06:12:40.4482294-08:00", "SourceSystemId": "sample string 2", "CompanyId": "297c7859-d6a0-4713-9efc-3839e824f9c6", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 5" }
Response Information
Resource Description
On success, the updated asset measurement type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | AssetMeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetMeasurementTypeId": "9ce5f575-3d93-4429-886a-374c0d44f52d", "Asset": { "AssetId": "31b6613f-7d55-47a6-830f-5a222fe49444", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c0e0f2ba-8e61-4956-b5b3-2a1f77ace2e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "17067d16-acec-4ece-8a3a-85c9859596ed", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "134ad7ea-9c2c-4e4e-b0f1-4e3a884e0bbe", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "MeasurementValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5c0f66a9-70b2-484c-b684-cbe540ad7232", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "MeasurementValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7fba9710-790d-4830-bc06-f9921ad1e114", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "9c3ce5cb-926c-43c5-8f74-5a045145d6d8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c0e0f2ba-8e61-4956-b5b3-2a1f77ace2e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "17067d16-acec-4ece-8a3a-85c9859596ed", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "3a1ac969-ad86-486b-8c7d-81e52e9911a3", "Name": "sample string 1" }, "Unit": { "UnitId": "4271f6d7-b3bb-41d0-930e-886f93b9471f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "161ff2f2-8a81-4833-90c5-7521a0a88067", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f80cc206-d755-4ca4-ac9b-8b5cc0c4a674", "FieldId": "91c89b63-8199-4288-bb80-0a9202f83428", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f80cc206-d755-4ca4-ac9b-8b5cc0c4a674", "FieldId": "91c89b63-8199-4288-bb80-0a9202f83428", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e2846827-6f4f-4aad-8ad7-1c5c01624ca2", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:12:40.4482294-08:00", "LastValueDate": "2025-02-05T06:12:40.4482294-08:00", "SourceSystemId": "sample string 2", "CompanyId": "e0bdcea8-610d-4053-bf35-8ffe62b58b30", "CreateDate": "2025-02-05T06:12:40.4482294-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T06:12:40.4482294-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }