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": "68ecf97e-c078-4dba-bf57-90d5ef7ca2e2",
"Asset": {
"AssetId": "ba996916-df5e-4cc6-8576-eb0b7fe1e547",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8e6a9ec1-3ab3-4b4f-a05a-7b3e14f224ad",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f4ef945c-1e3d-4239-8155-312612a163d0",
"CreateDate": "2026-08-03T02:03:00.6784169-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:03:00.6784169-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1c6164e7-3c38-4990-95d0-c761834a2056",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-03T02:03:00.6784169-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:03:00.6784169-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "57df7aa6-6572-4358-988a-37df24eb033d",
"CreateDate": "2026-08-03T02:03:00.6784169-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:03:00.6784169-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-03T02:03:00.6940428-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:03:00.6940428-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "564542ed-35d2-450d-aa9e-52ab3d7274c7",
"CreateDate": "2026-08-03T02:03:00.6940428-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:00.6940428-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-08-03T02:03:00.6940428-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "4c8241c2-8a07-45e5-8f98-2083264655af",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8e6a9ec1-3ab3-4b4f-a05a-7b3e14f224ad",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f4ef945c-1e3d-4239-8155-312612a163d0",
"CreateDate": "2026-08-03T02:03:00.6784169-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:03:00.6784169-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ba24a6ff-ed8e-44c1-b2bf-8c05215081ff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7f119287-8cb7-4a14-8c63-b9af9157e3a6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b1ffbb5e-95da-43af-96cb-99297a2c8656",
"CreateDate": "2026-08-03T02:03:00.6940428-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:03:00.6940428-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-08-03T02:03:00.6940428-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7f1f1aef-fba4-4ff3-b2e9-94bdad5e1d88",
"CreateDate": "2026-08-03T02:03:00.6940428-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:00.6940428-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4191734d-ae07-4ba9-80a1-9cea504193f1",
"CreateDate": "2026-08-03T02:03:00.6940428-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:00.6940428-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": "bb9706aa-39a4-4ca0-8d73-b51b8acdf814",
"Asset": {
"AssetId": "a4af84ef-95f8-47ce-b30f-15fe6638db35",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e9cbfff5-c314-4243-a016-32032608d713",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d9e5540a-89c9-4aa8-8908-3fa88b94e3ed",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b4591b54-fdef-40d1-b0db-89156c7e8b35",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-03T02:03:01.0377967-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:03:01.0377967-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "98bf6c5d-d6cc-4bb7-8931-157bfa36e223",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-03T02:03:01.0377967-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:03:01.0377967-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7f98fc4c-acb2-4adf-b1fb-cdb5255211a0",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"EffectiveDate": "2026-08-03T02:03:01.0377967-07:00",
"Location": "sample string 2",
"MeasurementType": {
"MeasurementTypeId": "96520ca6-3a66-49bd-9770-c6f3f0dbb238",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e9cbfff5-c314-4243-a016-32032608d713",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d9e5540a-89c9-4aa8-8908-3fa88b94e3ed",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "906b17eb-93a0-4512-8cac-e2c9c67a7683",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5032cd0d-b118-4bbc-ae1b-40486c282c94",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d2024fec-9d48-464f-8118-47fab45640b3",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-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-08-03T02:03:01.0377967-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cd7948dc-11b5-48bc-b1c9-2fe1c4d86d92",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2a40c40f-151a-4f60-aaa9-952dc6ffd0fb",
"CreateDate": "2026-08-03T02:03:01.0377967-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:03:01.0377967-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}