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": "7969b693-1e6d-4e2a-bdd2-c6d43ecbe7e2",
"Asset": {
"AssetId": "ea0ed342-2abc-480d-81c6-5a9b40aaffec",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1dcf8a10-3fd4-4720-b63e-06e1601845db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a6a2c3c-a295-43bd-8701-8a80df9b4c2e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "2276ae45-dc56-408d-8537-0d8dad452246",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ec10c485-0794-40c3-9f00-b71390dbd28e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d6b2e2e0-93db-405f-9c3d-0a6b005f45b9",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"StateType": {
"StateTypeId": "3945908e-a62b-476e-a515-2a8d5fa8427d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1dcf8a10-3fd4-4720-b63e-06e1601845db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a6a2c3c-a295-43bd-8701-8a80df9b4c2e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2c6c1b5e-d671-45bd-8dd6-4e8bbcf02df6",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "61dec613-4662-45dc-851b-b27540bb8b79",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2b9847bd-dece-4938-8234-dce736475939",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"StatusType": {
"StatusTypeId": "8203d2a2-4ea6-4449-a7ec-50ab3c51c400",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1dcf8a10-3fd4-4720-b63e-06e1601845db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a6a2c3c-a295-43bd-8701-8a80df9b4c2e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "09254208-410f-4b4c-95bc-ba462455903e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b5d1cd7f-5a76-4fbc-b5fd-0af7b38379e6",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1b60da01-ee40-4aaa-8450-92c15dfddcaa",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ce262b7a-4e9f-413e-94e9-976369dd645c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fc3fa09e-e416-432b-adcf-e5810fc216c6",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4b0173ff-8988-4116-968d-0e65f38f5282",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "57e85bf4-1dc0-457d-aa43-0ced9d037810",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "94e8b970-2f25-4ffa-a091-446aaca3cde2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1dcf8a10-3fd4-4720-b63e-06e1601845db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1a6a2c3c-a295-43bd-8701-8a80df9b4c2e",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fa9b85f5-9188-4dab-9d41-3038938c6016",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "95c3e82f-7c8e-4bab-9359-f2863b236d2e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7867762c-b56b-418b-9dd3-70ee967e7acb",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c27bcd89-7c5b-45be-a769-98794ad63254",
"FieldId": "e91a9fc2-4b42-4047-b0ce-be7883113b71",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c27bcd89-7c5b-45be-a769-98794ad63254",
"FieldId": "e91a9fc2-4b42-4047-b0ce-be7883113b71",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "59267cad-e83e-4c6f-b656-e2de08a5c4d8",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "90c1407b-00ad-401c-9e53-669824ad9501",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07: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": "d72c8989-d01c-4c8d-925a-88ab8351103a",
"Asset": {
"AssetId": "3c379cd5-4f11-4610-bca4-6873a5b99314",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "59da75c6-4fdf-48a1-9ac1-32e1089c8bb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "520e4f69-7252-44ee-bd76-e7c02fb6164a",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9d9c906d-4253-4bdb-ab35-85390ef2f659",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a5f2574c-66d3-45f2-8291-f1b913568ac4",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7526a017-7c29-4404-aba8-9171eb4cde3e",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"StateType": {
"StateTypeId": "544b0dc7-f919-45cf-a396-e2bb834386bf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "59da75c6-4fdf-48a1-9ac1-32e1089c8bb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "520e4f69-7252-44ee-bd76-e7c02fb6164a",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "894daab8-26b6-42a2-8b76-29091559283d",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "53ab33f0-a4c1-4c82-a005-2908baef0763",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "81ea6c44-be5b-49c1-92b0-83146d81d936",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"StatusType": {
"StatusTypeId": "dc4528d7-bb26-425d-981f-f77a20c8556d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "59da75c6-4fdf-48a1-9ac1-32e1089c8bb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "520e4f69-7252-44ee-bd76-e7c02fb6164a",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "17360d81-b457-4f86-81fa-ab9915690de6",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "db422224-c234-46ef-9d79-ce7e266895c6",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e8128792-0d57-44df-822f-9c08c86ce4d4",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0427bdae-0ef1-4a62-9450-b27f1bf86867",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bab73b4c-97c6-451d-969a-cecc0210beba",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "10425885-8ddf-4b93-ba71-106c13072392",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ecd9b998-1b62-4131-b282-b05924cec95b",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-04T17:26:30.3004818-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "fb0893a6-5acb-4807-8bf3-28e583968a1a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "59da75c6-4fdf-48a1-9ac1-32e1089c8bb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "520e4f69-7252-44ee-bd76-e7c02fb6164a",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e83dabf4-318d-408f-8acb-10ed6eb56dbb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5f26f42a-d110-49c7-aba6-d97887bc54ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d81e34c-46c5-4e5f-9079-86d9e06689d4",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e172974e-9f58-46cd-8ca9-ced14f292144",
"FieldId": "bd92f500-62c2-4bb5-ab1c-7cc86beddbe2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e172974e-9f58-46cd-8ca9-ced14f292144",
"FieldId": "bd92f500-62c2-4bb5-ab1c-7cc86beddbe2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:26:30.3004818-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "027425d3-5109-4a30-bf81-2c22f4718d16",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "4cf0d79d-6052-479e-88cb-73929e0f08e9",
"CreateDate": "2026-08-04T17:26:30.3004818-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-04T17:26:30.3004818-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}