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": "72d260ca-9b3b-43e2-ac9a-41d765f80d96", "Asset": { "AssetId": "dac84d4d-f200-492b-a470-a34031d7bbbb", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6f390f87-37ac-47a0-8b98-a7141106c0d5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d804df7b-0f81-4223-9ab0-d73667ece4a4", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "19c48ab1-ecef-49ff-9f82-e66eb38708f1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "MeasurementValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b4da337f-4c55-44d7-afe5-d9d225be2310", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "MeasurementValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "25d88326-553e-40fb-a2f5-149db2acb913", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "a20942d3-c341-471b-8080-cb7516bc7324", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6f390f87-37ac-47a0-8b98-a7141106c0d5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d804df7b-0f81-4223-9ab0-d73667ece4a4", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "17ed0865-447d-4085-9c17-815753c56670", "Name": "sample string 1" }, "Unit": { "UnitId": "81fda7ad-9376-4451-a8cc-bb62f3f95247", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fd0698b4-2fb2-4a0e-9764-fad525afbbcf", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "594e280a-eabb-4d6b-8884-a9296c24e314", "FieldId": "9d2cf5be-f60c-456b-bafe-b5bade3ff498", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "594e280a-eabb-4d6b-8884-a9296c24e314", "FieldId": "9d2cf5be-f60c-456b-bafe-b5bade3ff498", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "51f8d135-7964-4ab0-b35b-f5a2e43aae16", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:33:37.6621848-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:33:37.6621848-08:00", "LastValueDate": "2024-11-22T09:33:37.6621848-08:00", "SourceSystemId": "sample string 2", "CompanyId": "f8546b83-4a18-48d7-89e0-cc51bd23b843", "CreateDate": "2024-11-22T09:33:37.6621848-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-22T09:33:37.6621848-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": "1ec23f77-9df0-4eea-bf77-fa56d565643b", "Asset": { "AssetId": "21354a6e-a22b-4fa4-a1b2-c9394b77c990", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f961b66f-f2a8-4126-8ad3-e4c28b936e11", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "48b40ed9-3365-4836-8a88-43ccbcb40d8a", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "821d4f43-f27a-472d-b9d4-89aaa94d5311", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "MeasurementValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a1507e55-a95e-474b-892e-d4ac02af5a04", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "MeasurementValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8a949e25-e1f1-4b8c-b1c1-afc866cfdeaa", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "5d7d3d69-6d79-432e-8a24-573e2f85e566", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f961b66f-f2a8-4126-8ad3-e4c28b936e11", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "48b40ed9-3365-4836-8a88-43ccbcb40d8a", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "00ca8030-6edf-4d90-aa39-05a0fa8a72c6", "Name": "sample string 1" }, "Unit": { "UnitId": "badf92be-aaaa-4a44-9b4f-9c994c83c4d8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1d5ff550-4009-4701-829a-3c53813057dd", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d2f4ea76-93e0-47f2-b3d6-fd7b9ae5e25b", "FieldId": "3f4636c1-8bb3-4dd2-8af1-ebba8d5d98b8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d2f4ea76-93e0-47f2-b3d6-fd7b9ae5e25b", "FieldId": "3f4636c1-8bb3-4dd2-8af1-ebba8d5d98b8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ff5c3221-95a3-4188-a5bd-bad03e6f07d8", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:33:37.6777357-08:00", "LastValueDate": "2024-11-22T09:33:37.6777357-08:00", "SourceSystemId": "sample string 2", "CompanyId": "c5c3c579-5a49-42fc-b1dc-b503f0d35c2a", "CreateDate": "2024-11-22T09:33:37.6777357-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-22T09:33:37.6777357-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }