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. |
|
| 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": "58adebcc-93eb-4239-a6a7-ae2bba5aa80f",
"Asset": {
"AssetId": "36c95f0f-28d7-4b87-ba0e-0041aefac6ed",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "11ce4cb2-44a9-4ff9-b991-1a51dd89a0b8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54be7488-b78b-4641-99c3-0110a646d780",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "eede62ff-5ab5-4494-a0ff-22c1d8c59ff9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ba10faaf-48d9-4ea4-b4e1-a8f33592a8f4",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "dff58ee3-6dfb-407f-9754-0c8095301dab",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"StateType": {
"StateTypeId": "fd8e93d9-1702-4734-a3dc-4bccf26a7e8c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "11ce4cb2-44a9-4ff9-b991-1a51dd89a0b8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54be7488-b78b-4641-99c3-0110a646d780",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ee133403-98fd-418b-9972-ccdeec287207",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "60de9540-e71d-4608-aa9f-59e4068fd880",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "34b61083-6132-43ee-8503-497f83711e05",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"StatusType": {
"StatusTypeId": "e6dbaad3-baa0-43f6-b5c6-203c449df0d3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "11ce4cb2-44a9-4ff9-b991-1a51dd89a0b8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54be7488-b78b-4641-99c3-0110a646d780",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "88ed71a4-8586-43c7-a5e5-e00622527d50",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "81d5a85a-db89-44e6-830a-7665e33ef62e",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "24f494b4-187f-4af8-b467-9db3a56a1dd7",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5ff733c2-1c84-4bd3-9798-cf9b7bb547e9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "370f0065-56e0-401f-a406-63d560755759",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "07f5fadc-1aff-4d44-9bce-7e5340bb83c5",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "69026b7c-7dd6-4aa6-a9b2-ffaab1696946",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "88215205-44ec-44bb-8ac9-d682a9f72e91",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "11ce4cb2-44a9-4ff9-b991-1a51dd89a0b8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54be7488-b78b-4641-99c3-0110a646d780",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "916101ea-ce96-4a63-99f4-831812498e73",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "86d9c468-4625-4367-b8b0-6f147365fbf2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9ccb6a76-66ee-429e-8fb5-3390d70fd59d",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ebf2c0c0-0a83-4c56-9cae-c9a5c8acead4",
"FieldId": "5aefe98a-d4a7-496d-9dc7-58d1dfeeefb3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ebf2c0c0-0a83-4c56-9cae-c9a5c8acead4",
"FieldId": "5aefe98a-d4a7-496d-9dc7-58d1dfeeefb3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0d9649b2-f171-4479-bc6a-30dcc3e1ba68",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "acc8b1c1-d364-4c6e-b867-424c0414921b",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 9"
}
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": "d396f21e-b9a3-4290-a863-ae72c43b3985",
"Asset": {
"AssetId": "c013bda3-c857-48b9-894c-335cb4aa0a5a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c274edb5-f4ab-4e5a-b16c-f78e8d93ea6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43af5877-7945-4305-ab7d-318fc1909fe0",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "21549ce7-f662-4289-8ce7-3b6171747b47",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b00db61b-65cd-4d8f-bec7-087f2e2f01f3",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "27de0568-dbf8-41b4-9ffd-c349c07bb271",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"StateType": {
"StateTypeId": "ba363f6a-a0fa-49e4-8138-e943594bbbe8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c274edb5-f4ab-4e5a-b16c-f78e8d93ea6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43af5877-7945-4305-ab7d-318fc1909fe0",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "21f5aafc-a3e2-4943-a7a4-7857055aa91d",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "527cdf75-3e8a-4e1e-a824-9c14a9d2671d",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5e6d0081-ad42-422d-9588-7f78918f2728",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"StatusType": {
"StatusTypeId": "3d23a86f-26e8-4864-bd1a-e612cc8abb54",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c274edb5-f4ab-4e5a-b16c-f78e8d93ea6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43af5877-7945-4305-ab7d-318fc1909fe0",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "67b9b7cc-2df7-4226-81d8-b2486e210a15",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3bbfdc1c-a62b-4782-b1a2-0c8570680bf1",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d4d0efea-459f-4bff-9fc7-a3a63248813a",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5ad021d6-bee6-4d0d-815a-9df4788611f1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "29ae3de4-6987-4bd2-88c1-03c92f462fb2",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "182d052e-5d25-4fec-8d71-115d9db7f85e",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cb3404d1-b5f3-47d0-8889-b696241fe60e",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-01-07T15:58:26.2166128-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "31f751ad-efcd-45ee-a451-69aa2ce215ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c274edb5-f4ab-4e5a-b16c-f78e8d93ea6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43af5877-7945-4305-ab7d-318fc1909fe0",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7b48b931-8973-4779-8421-1989d32d2aa2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6e82ff97-cf04-4c26-aedc-0238dc7d6394",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4e281ddb-54d0-4cef-b998-87994369e545",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6a0bbc63-a0bc-41e1-b12b-a87dcef68b46",
"FieldId": "99964663-a7f8-4149-ae2f-fbf3bbfc6cfd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6a0bbc63-a0bc-41e1-b12b-a87dcef68b46",
"FieldId": "99964663-a7f8-4149-ae2f-fbf3bbfc6cfd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-07T15:58:26.2166128-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d8fd24a8-b6b4-431c-8185-0f287b063f72",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "3898da74-a111-4f08-a78c-0fd39ebe6909",
"CreateDate": "2026-01-07T15:58:26.2166128-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-01-07T15:58:26.2166128-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}