PUT Measurements
Updates the given measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to update
MeasurementName | Description | Type | Additional information |
---|---|---|---|
MeasurementId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
ValueText | string |
None. |
|
DisplayText | string |
None. |
|
EffectiveDate | date |
None. |
|
Location | string |
None. |
|
MeasurementType | MeasurementType |
None. |
|
IsValid | boolean |
None. |
|
IsValidMessage | string |
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:
{ "MeasurementId": "e1071570-7e6f-4fcc-b10b-56008d6039ff", "Asset": { "AssetId": "6aa5ddf8-07e0-4b91-a1a4-383c44cad408", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "03ced0da-73c8-4102-ac26-b8ca57db9d17", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "03d37ef4-e91f-441d-99be-88127e428220", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e7e7e6b1-bf23-4aed-9399-868abb1a57d7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "MeasurementValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "SourceSystemId": "sample string 3", "CompanyId": "91929a82-422b-461f-9d83-be419c7ff835", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "MeasurementValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f80d8b0b-d251-4eb1-9dff-dba7e62fcc58", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-21T05:30:07.511762-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "0c180825-b550-4a67-aaf3-76a198b1959b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "03ced0da-73c8-4102-ac26-b8ca57db9d17", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "03d37ef4-e91f-441d-99be-88127e428220", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "62e1dbd1-0f16-40d9-9728-3dec7021f8b1", "Name": "sample string 1" }, "Unit": { "UnitId": "62eb2165-a270-4273-9591-356aac9d4fb6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b9d9cbaa-470f-4f2b-8841-b8c14ceee6dd", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c36ef8d8-667d-4ed5-be31-e19568653c7a", "FieldId": "d05fba19-ad45-48d8-863d-11b02cab405e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c36ef8d8-667d-4ed5-be31-e19568653c7a", "FieldId": "d05fba19-ad45-48d8-863d-11b02cab405e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "60735934-cf55-4281-8091-d6edc295e736", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "af74c9f4-0ff0-4da6-8ab5-9827de174a6b", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 9" }
Response Information
Resource Description
On success, the updated measurement.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Measurement |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "MeasurementId": "4260abdb-93a3-4455-b4f5-c2b254ce45b1", "Asset": { "AssetId": "fb21dc1a-0124-4b86-8896-13e7c8242bd0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "95211b4d-d13d-4e34-8ed4-b2f8d614207e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9bb3c9bb-3a86-4416-9b07-428dd85aeed4", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0cb5e79a-d5c6-4616-8918-d99f28e783c0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "MeasurementValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "SourceSystemId": "sample string 3", "CompanyId": "71fad430-39bd-4486-85e1-710003242e55", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "MeasurementValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "412b1d80-0b5d-4847-95a7-699f8d186ddb", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-21T05:30:07.511762-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "45468fbd-1bf0-47d4-820b-a0c4a58fb0ea", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "95211b4d-d13d-4e34-8ed4-b2f8d614207e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9bb3c9bb-3a86-4416-9b07-428dd85aeed4", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "447e22cb-147d-45b6-b5e8-294ef05f5463", "Name": "sample string 1" }, "Unit": { "UnitId": "e7220be3-e555-47a5-bbd7-dc4771d67659", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "46cab6c6-d548-4420-9613-a69f4e95b184", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7c094eb2-1a25-4822-9fed-24898a84d81e", "FieldId": "618ae2f5-f387-4e76-bb5b-6be3ade440a4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7c094eb2-1a25-4822-9fed-24898a84d81e", "FieldId": "618ae2f5-f387-4e76-bb5b-6be3ade440a4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:30:07.511762-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "23863344-1362-44af-a6d2-5d73c1d7eb0b", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "c691c9cb-e159-4b9f-9560-74240df62720", "CreateDate": "2024-11-21T05:30:07.511762-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-21T05:30:07.511762-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }