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": "fa621f93-b5f9-4c4c-bb4d-a7f30a59b233", "Asset": { "AssetId": "503b204c-9198-4cc2-ad98-9626cdf2fb62", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bfb5c25c-3017-4b0d-b9dc-c6a3ed9eae09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b24b83d7-ec06-4d95-958b-fc3e15f10707", "CreateDate": "2024-10-10T11:55:03.1540838-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:55:03.1540838-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "9f9943ab-1432-4b9f-bdc2-da7438278415", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T11:55:03.1540838-07:00", "MeasurementValueNeededDate": "2024-10-10T11:55:03.1540838-07:00", "SourceSystemId": "sample string 3", "CompanyId": "48f92d52-79a1-4999-8329-75e6223e71b7", "CreateDate": "2024-10-10T11:55:03.1540838-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:55:03.1540838-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T11:55:03.1540838-07:00", "MeasurementValueNeededDate": "2024-10-10T11:55:03.1540838-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a5ef0584-b2b8-4a88-8a65-64535ab3e0c0", "CreateDate": "2024-10-10T11:55:03.1540838-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:55:03.1540838-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "d06bf8b2-8d18-4c1c-bd8f-7c08caef8939", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bfb5c25c-3017-4b0d-b9dc-c6a3ed9eae09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b24b83d7-ec06-4d95-958b-fc3e15f10707", "CreateDate": "2024-10-10T11:55:03.1540838-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:55:03.1540838-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a7f88b9e-f31f-4777-a5b7-94ed44ccdb74", "Name": "sample string 1" }, "Unit": { "UnitId": "e4a3192b-3a0c-467e-a855-2986c62f8cf8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "02f28378-9f87-44c5-9c03-929b71cd00ea", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07: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-10-10T11:55:03.1697065-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d0610a92-54ca-4b4d-a6a7-59c8b972465e", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "LastValueDate": "2024-10-10T11:55:03.1697065-07:00", "SourceSystemId": "sample string 2", "CompanyId": "4a8cc1f4-6f5b-4b27-8e15-ca5b74d04a18", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07: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": "09af004a-493c-402b-9563-0217813e398e", "Asset": { "AssetId": "99a62b8b-d9f4-42d0-bb95-6166da5618cd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "780abd9f-2d82-4374-8bdb-1a790596471a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3d6e68a7-7600-47fb-bd9d-24863778f32f", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1e7e3007-9267-4d31-aee9-15201f025ad5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "MeasurementValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ca65dde8-3b15-4678-b6b7-0172cb732ab8", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "MeasurementValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2be06dcf-d4bd-4a29-9eee-05342c233f4a", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "3e963149-cff3-4116-91a9-f1436458518d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "780abd9f-2d82-4374-8bdb-1a790596471a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3d6e68a7-7600-47fb-bd9d-24863778f32f", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "38b441a2-75ab-47e6-8a76-1e6a09b2e4fa", "Name": "sample string 1" }, "Unit": { "UnitId": "f683bae2-d6fb-4046-886d-396cbaa25057", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "38330aac-0598-43ed-a874-834228906766", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07: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-10-10T11:55:03.1697065-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c4214754-00a9-44a4-a05d-8ff6796654fa", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T11:55:03.1697065-07:00", "LastValueDate": "2024-10-10T11:55:03.1697065-07:00", "SourceSystemId": "sample string 2", "CompanyId": "c7ff981c-6747-40c0-8244-f7d13b5907a6", "CreateDate": "2024-10-10T11:55:03.1697065-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T11:55:03.1697065-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }