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": "e7bc4201-6650-47a2-91c1-5022ffe6763a",
"Asset": {
"AssetId": "8a57e585-6dc7-48c1-ae1c-afb455e46ef3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ce82ca67-796e-49f9-b23c-73647a6bf518",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95489d06-322c-484f-8741-35ff169ffdea",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "dd5f3f09-5f33-4ee7-a5f0-0fcdd389a2c2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "02a13667-b8b0-411b-936c-c24be9959e0f",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "cc3c7b90-738c-4c1f-ac28-f6ec4290ebe6",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"StateType": {
"StateTypeId": "9ef8fe7f-9080-42ff-9fac-23cd15d30fef",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ce82ca67-796e-49f9-b23c-73647a6bf518",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95489d06-322c-484f-8741-35ff169ffdea",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "19712243-6a71-4c1e-8e1f-fda15d56a098",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b7e21dc6-b93c-4fa8-bce2-353bc1844fad",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "efea3800-d1f6-4acd-a101-a8c10387c173",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"StatusType": {
"StatusTypeId": "60d0d617-352b-4877-9b13-344843c0d985",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ce82ca67-796e-49f9-b23c-73647a6bf518",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95489d06-322c-484f-8741-35ff169ffdea",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6a918d77-764a-40fd-868d-49b568831bec",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b41f034a-ee63-40fd-b9e9-3640cb82f70f",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d299bd26-9939-4c52-8d03-7e0e07b74b86",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "162bff74-96cc-468b-a1a3-79348f246f2c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c90eb2f3-e484-47f1-82e9-b6fac8b0e08d",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6eae3fd1-a894-438b-9609-70c34cf8f96b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "06f6559b-a71d-48e7-ab51-1b0ee8e0254a",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "43d9bff4-54f6-4b7f-ba4e-39803941f2fe",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ce82ca67-796e-49f9-b23c-73647a6bf518",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95489d06-322c-484f-8741-35ff169ffdea",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9b394502-d883-4785-a5ee-31bc1555196d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "13673f5c-e6ee-496d-a77d-20e9066b0d2a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a6b8e5b2-61b0-4e3f-9907-0daf89fae3a3",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a9d6a1e3-d8df-4a88-9dc9-31613e951b9d",
"FieldId": "859b3098-1170-4d4d-91f4-38f087af251d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a9d6a1e3-d8df-4a88-9dc9-31613e951b9d",
"FieldId": "859b3098-1170-4d4d-91f4-38f087af251d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5cc9366a-3cf8-407f-a7c3-8240208f91fd",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "49c80cd0-525a-449c-8648-32c52fdcc87e",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-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": "795e8aa2-3a7f-4b77-bba2-b4425c083bb8",
"Asset": {
"AssetId": "f1f35cae-d6e0-4de7-818a-e8c81de53911",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f72428ae-6a32-41dd-8ee9-0720de7e6bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7e76bf36-8ecb-4056-a4ef-5f3e6996899b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3f3bb787-f023-46e5-a43e-b77e28c65311",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d9b379a0-3a61-4a3b-9733-646a593bd439",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1fa147bd-813f-4811-8602-9f75da2183a7",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"StateType": {
"StateTypeId": "0b86310e-8eb8-4bf6-981f-01f8a3518caf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f72428ae-6a32-41dd-8ee9-0720de7e6bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7e76bf36-8ecb-4056-a4ef-5f3e6996899b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bf6c8bc2-1dc6-4086-a5b2-6e5d030f462a",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d7ca98f-88e7-430c-9cce-fe5877cee996",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "909f5123-f8a8-406b-b398-3a9032ea61b2",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"StatusType": {
"StatusTypeId": "812efb49-a777-40ab-8d2e-7a2539a4a3b8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f72428ae-6a32-41dd-8ee9-0720de7e6bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7e76bf36-8ecb-4056-a4ef-5f3e6996899b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6ebf015f-a080-42b7-8dc0-1e519b50004b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5e67724a-146c-4e89-b584-451c8f670f9b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1136f256-d421-4951-be8b-d3bb8d21a9e6",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "eaa302f3-346f-464f-af40-d5b9401cf2b3",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4790f9bb-89c0-4529-a4b3-b2b3bb8f0db9",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f4c99495-bb6f-4dac-8d45-ab2c14ec4309",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "23a39d20-4243-41bc-85c5-f1d237658106",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-22T14:12:54.9569898-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "a7f537f2-918c-4bc6-a739-9a347c57531b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f72428ae-6a32-41dd-8ee9-0720de7e6bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7e76bf36-8ecb-4056-a4ef-5f3e6996899b",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e5775345-fa42-4123-bf1a-c3c9f8f0c1e0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "539fedf7-30df-4a06-8954-d80dbe6bb621",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "242d4a17-c79f-48aa-813d-67c885bbe8f5",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bd2b1e57-1246-4348-8f34-51d1b1688a22",
"FieldId": "1c3bf09e-699f-4007-905e-40f786955c31",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bd2b1e57-1246-4348-8f34-51d1b1688a22",
"FieldId": "1c3bf09e-699f-4007-905e-40f786955c31",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-22T14:12:54.9569898-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f3fb7b9b-73e5-4429-a6f6-e406ce455eaf",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "f23389fa-11ac-4722-8030-6cb1592b3e2a",
"CreateDate": "2026-11-22T14:12:54.9569898-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-22T14:12:54.9569898-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}