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": "6988b959-5f81-4f8a-83a0-c63d7fded805", "Asset": { "AssetId": "896e7967-b106-4a98-ac92-f9824f09235e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "18985262-787a-4dcf-a6a9-1f23f5ac1567", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "766c2516-7dde-4c5d-8562-9a12e62b39c7", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "63bd8b71-b9c7-4426-a640-fd6b7b2d402c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "SourceSystemId": "sample string 3", "CompanyId": "87e60c9c-88da-49b9-891d-c9f679c6c2eb", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6cfeae4d-0103-45a3-8cdd-2a9d3aeee9b6", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "ffbd8d94-37f8-4971-8c6f-d594a37b739e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "18985262-787a-4dcf-a6a9-1f23f5ac1567", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "766c2516-7dde-4c5d-8562-9a12e62b39c7", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "47ebcaa6-420f-4990-8f8c-04537f573b40", "Name": "sample string 1" }, "Unit": { "UnitId": "1f5567d1-9923-471f-a6ed-5352bb38c805", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9261c60a-ec25-4dca-8f14-863a44558afe", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "456b352b-4c70-451e-aa17-d26a9b46c519", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "LastValueDate": "2024-12-21T18:48:05.040842-08:00", "SourceSystemId": "sample string 2", "CompanyId": "9a43587c-eeee-4e9f-87dc-8c1c4e683511", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T18:48:05.040842-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": "80f87a36-1919-416f-86d5-a730196377c8", "Asset": { "AssetId": "35ab71ab-eb4c-4262-bb12-3959242e0b4d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0ef67706-b38c-4b20-a0cc-8e9404550cd2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8a036660-6761-424f-84cb-0996bc5b9f24", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0a191a8a-529e-4337-abbc-fa3cba9ae66c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "SourceSystemId": "sample string 3", "CompanyId": "45310b61-d381-4d30-94ae-146d50ff586d", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "57b605e4-2e0b-4920-9c20-461edd07d381", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "42e1c321-406f-4405-8c36-e87495474f7e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0ef67706-b38c-4b20-a0cc-8e9404550cd2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8a036660-6761-424f-84cb-0996bc5b9f24", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "03d3e9af-2fd4-4614-988e-28f94e39c418", "Name": "sample string 1" }, "Unit": { "UnitId": "97810a34-206d-4313-805f-6aae6e78ff15", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "94e67e56-a842-4862-98f8-0c7ca5d6c5b2", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "994319c3-7492-42fe-bf34-6ad642945ae4", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:48:05.040842-08:00", "LastValueDate": "2024-12-21T18:48:05.040842-08:00", "SourceSystemId": "sample string 2", "CompanyId": "e1b50d59-efb3-474d-8eb9-02f56c038c4f", "CreateDate": "2024-12-21T18:48:05.040842-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T18:48:05.040842-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }