POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
Measurement| Name | Description | Type | Additional information |
|---|---|---|---|
| MeasurementId | globally unique identifier |
None. |
|
| Asset | Asset |
None. |
|
| ValueText | 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": "f0db2008-09be-4296-b55f-369c72f532c1",
"Asset": {
"AssetId": "d8c57ba8-abd2-4a04-bae1-0dadf81f58c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8d5c9600-e312-4abb-afab-cdbc428d7cf6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f2061bb6-1d36-4e43-88eb-b95efb3c4dae",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "148b4b80-a13b-4371-8a88-955983438199",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"MeasurementValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "50a033e0-8fc3-45cd-b8e3-19a724a5de1c",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"MeasurementValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "eebf6472-e451-4981-8518-b68b670eed62",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-05-04T12:36:49.5659541-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "253779db-ecfc-491a-80f4-e44ea931e398",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8d5c9600-e312-4abb-afab-cdbc428d7cf6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f2061bb6-1d36-4e43-88eb-b95efb3c4dae",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "add9cc3e-faaf-4198-a77d-54c9d229560e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c487ff3e-498d-4b7e-b85c-c703e7ea716d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2d2991ca-3ccd-44aa-abb8-0cd7646a04ba",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-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": "2026-05-04T12:36:49.5659541-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5ce42b4e-e622-4fe8-a64c-110771d57e91",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ac902a4-a668-40d6-be5e-cdba4239d96f",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
}
Response Information
Resource Description
On success, the created measurement.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Measurement |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"MeasurementId": "258311da-6519-4bad-8d1d-46d647ddd78f",
"Asset": {
"AssetId": "723e3471-1e81-4b1d-a188-04c248df7ed6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a4eb0efa-f859-405e-9915-bb647b0235fa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e4a3300a-f160-4351-add6-f4f5e04940c8",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "cea4ee5c-7de3-452e-afef-210854c2ba2d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"MeasurementValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7a965997-053d-4ae0-ab95-6dbf4c667ad0",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"MeasurementValueNeededDate": "2026-05-04T12:36:49.5659541-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1250c096-15d8-416d-affe-d078847a6d58",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-05-04T12:36:49.5659541-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "c478a3d2-d34e-4489-8cb9-8af6c723b9e8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a4eb0efa-f859-405e-9915-bb647b0235fa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e4a3300a-f160-4351-add6-f4f5e04940c8",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b2c3d360-8e63-4fd7-873c-e87012a8ae9f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "38e81ae8-0605-4b96-a204-9f92b03e5321",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ed01ace9-5f93-4a1b-a560-989a63dd2ce3",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-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": "2026-05-04T12:36:49.5659541-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "12ae243d-957f-4322-bbc5-98e725de96a5",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "06451de7-090d-4265-b106-11a5f149c85f",
"CreateDate": "2026-05-04T12:36:49.5659541-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-04T12:36:49.5659541-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}