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": "8c50f9aa-0f8f-4efd-beb6-4b9adebba485", "Asset": { "AssetId": "4c9e3d4b-b9bb-4623-9b70-f8753dedb1bd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1e588612-18ce-4b04-9a85-90be2870edd0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "56e77fca-5117-4f5d-974d-3ae098fb8b00", "CreateDate": "2024-12-26T03:29:03.9946241-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:29:03.9946241-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "09c0ec3d-bf07-409c-a8eb-40ab5b12924d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:29:03.9946241-08:00", "MeasurementValueNeededDate": "2024-12-26T03:29:03.9946241-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a1671c0f-9d8e-41b3-abf9-5d6c050fb6f3", "CreateDate": "2024-12-26T03:29:03.9946241-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:29:03.9946241-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-26T03:29:03.9946241-08:00", "MeasurementValueNeededDate": "2024-12-26T03:29:03.9946241-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "08f1067d-ccf1-4e5a-a4e1-b79bac0ded95", "CreateDate": "2024-12-26T03:29:03.9946241-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:29:03.9946241-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "f358ec1d-ee53-4d45-a617-161b1255f04e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1e588612-18ce-4b04-9a85-90be2870edd0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "56e77fca-5117-4f5d-974d-3ae098fb8b00", "CreateDate": "2024-12-26T03:29:03.9946241-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:29:03.9946241-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4c372d3a-89fa-4af3-a8dd-ccf1500e19e3", "Name": "sample string 1" }, "Unit": { "UnitId": "36da2c02-7f90-430a-aaa1-f03d7b47465d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c4ece1a6-3568-463f-a328-a74ce3212270", "CreateDate": "2024-12-26T03:29:03.9946241-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:29:03.9946241-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "268c0051-531d-44ee-a9d4-924f7c6c0e24", "FieldId": "d6e75082-999c-4ad6-8a69-245282fdb111", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "268c0051-531d-44ee-a9d4-924f7c6c0e24", "FieldId": "d6e75082-999c-4ad6-8a69-245282fdb111", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "2e9710fd-cc25-4aed-ab1f-604334b9b374", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:29:04.0102527-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-26T03:29:04.0102527-08:00", "LastValueDate": "2024-12-26T03:29:04.0102527-08:00", "SourceSystemId": "sample string 2", "CompanyId": "e20614ba-8d6b-4817-b9cc-ab166b6573a7", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-26T03:29:04.0102527-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": "3435107c-e634-431d-a9ad-6236b4aacf70", "Asset": { "AssetId": "370dcba3-88ea-45f6-bc87-7a492d8eea2d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "32c1df1e-53da-43fa-b8cf-62b641ef5c35", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1d0d6cd5-9314-40ae-bac3-a1a41227644e", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8b67b0c7-8339-4343-84a7-66c1f3f2eb7b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "MeasurementValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "SourceSystemId": "sample string 3", "CompanyId": "500c010d-67e6-4a73-b1e1-305e24004b5d", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "MeasurementValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "652d81c2-37fd-472a-a6ee-6dd71549ad03", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "49804f9d-c37d-4fd0-b80c-d4b66c1dbd6e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "32c1df1e-53da-43fa-b8cf-62b641ef5c35", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1d0d6cd5-9314-40ae-bac3-a1a41227644e", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "ce2a5e88-4e7e-4c9c-92e3-17dc91259079", "Name": "sample string 1" }, "Unit": { "UnitId": "017b3312-1e98-40c8-80e9-9a3708a0ac6f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e7cc09f7-c3bd-417d-b1d8-3939833c82fa", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "0a220557-cd26-447f-8cfd-e4c11e7de568", "FieldId": "314c4863-1901-4158-b53a-8321e6214b45", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "0a220557-cd26-447f-8cfd-e4c11e7de568", "FieldId": "314c4863-1901-4158-b53a-8321e6214b45", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:29:04.0102527-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "2cf890b8-9b1d-4d15-927a-f58495cd1b6b", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:29:04.0102527-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-26T03:29:04.0102527-08:00", "LastValueDate": "2024-12-26T03:29:04.0102527-08:00", "SourceSystemId": "sample string 2", "CompanyId": "5056326a-7172-4dbf-aa34-5b6213cf19cc", "CreateDate": "2024-12-26T03:29:04.0102527-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-26T03:29:04.0102527-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }