DELETE Measurements

Deletes the given measurement.

Request Information

URI Parameters

None.

Body Parameters

The measurement to delete.

Measurement
NameDescriptionTypeAdditional information
MeasurementId

globally unique identifier

None.

Asset

Asset

None.

ValueText

string

None.

EffectiveDate

date

None.

WellKnownText

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.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MeasurementId": "63aabbd3-e2b3-4257-ac8d-4768130ca75a",
  "Asset": {
    "AssetId": "c8bcc005-1555-46f4-94f4-8e77b8d76dc4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "34b7e97e-efaa-4702-82ae-5152f87bad0a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "01e5b151-f540-467c-a66d-46d69c873e57",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 6",
      "CreateMachine": "sample string 7",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 8",
      "LastModifiedMachine": "sample string 9"
    },
    "AssetGroup": {
      "AssetGroupId": "0d012fee-fd11-48d9-b76a-f1354530fb9e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "1f6257d5-213f-48c3-a72e-0aa4cdc77f8f",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    "ParentAsset": null,
    "WellKnownText": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
    "MeasurementValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "60316485-0234-4ce5-8d70-ecc86bf311f1",
    "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "ValueText": "sample string 1",
  "EffectiveDate": "2021-04-17T06:50:23.5785039-07:00",
  "WellKnownText": "sample string 2",
  "MeasurementType": {
    "MeasurementTypeId": "47ffb823-ec16-47ad-9d81-0870e052f533",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "34b7e97e-efaa-4702-82ae-5152f87bad0a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "01e5b151-f540-467c-a66d-46d69c873e57",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 6",
      "CreateMachine": "sample string 7",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 8",
      "LastModifiedMachine": "sample string 9"
    },
    "DataType": {
      "DataTypeId": "4f57288a-4adf-4ff4-a677-8e08c76a2cf9",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "fe7c0f91-b30c-4dd7-a976-3b935ef8a798",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "009d59bc-b552-4e42-a713-6f2629b7a435",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      "sample string 1",
      "sample string 2"
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "4da9040b-6fd2-4109-8a89-3535ee5e2307",
    "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "IsValid": true,
  "IsValidMessage": "sample string 4",
  "SourceSystemId": "sample string 5",
  "CompanyId": "5fb0e3a9-908a-48f2-b4c2-a37159ef2232",
  "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
  "CreateUser": "sample string 7",
  "CreateMachine": "sample string 8",
  "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
  "LastModifiedUser": "sample string 9",
  "LastModifiedMachine": "sample string 10"
}

Response Information

Resource Description

On success, the deleted measurement.

NameDescriptionTypeAdditional information
Data

Measurement

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "MeasurementId": "06094ff2-57a9-4386-a599-2195e637f8be",
    "Asset": {
      "AssetId": "d0ceffd0-b78a-40eb-ab83-c1f3a6beaf46",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "ab2e844c-e916-43be-badd-7df20c88d1e5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "ea110d3a-91cc-4927-aaad-8f7223105f27",
        "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "AssetGroup": {
        "AssetGroupId": "de28f7f4-f925-483e-85c5-bec431c27a7e",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "0ddbf943-ed5c-4265-9d3a-878d4493ce3b",
        "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "ParentAsset": null,
      "WellKnownText": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "ced2aa24-4ff2-4276-a79a-b80695312dfc",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    "ValueText": "sample string 1",
    "EffectiveDate": "2021-04-17T06:50:23.5785039-07:00",
    "WellKnownText": "sample string 2",
    "MeasurementType": {
      "MeasurementTypeId": "0a63240c-56e8-463a-9cd5-01e227cfceb3",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AssetType": {
        "AssetTypeId": "ab2e844c-e916-43be-badd-7df20c88d1e5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "ea110d3a-91cc-4927-aaad-8f7223105f27",
        "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
        "CreateUser": "sample string 6",
        "CreateMachine": "sample string 7",
        "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
        "LastModifiedUser": "sample string 8",
        "LastModifiedMachine": "sample string 9"
      },
      "DataType": {
        "DataTypeId": "fb0a7604-f3bc-4570-b562-d37b62cd5583",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "f6f04c39-7be0-484c-b515-b75688001076",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "8376942c-e620-48b6-9db1-102ee9a1ab47",
        "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2021-04-17T06:50:23.5785039-07:00",
      "IsAccumulator": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "38b175ea-9882-4dd7-884c-c506810a76b0",
      "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
      "CreateUser": "sample string 7",
      "CreateMachine": "sample string 8",
      "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
      "LastModifiedUser": "sample string 9",
      "LastModifiedMachine": "sample string 10"
    },
    "IsValid": true,
    "IsValidMessage": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "4be0d478-7acf-4923-a672-bd3d46a6d1b7",
    "CreateDate": "2021-04-17T06:50:23.5785039-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T06:50:23.5785039-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "Total": 1,
  "Message": "sample string 1"
}