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.

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": "27df69f6-5e05-414a-82a8-dc52e58400d2",
  "Asset": {
    "AssetId": "0d2cf57f-7108-40d5-9c72-ab582029f6e5",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "292c80db-1dd2-4cc5-b58d-c75f622393d0",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "9b04411d-933e-429f-a1ef-abb46b0542c3",
      "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "27099482-1302-4c3b-bcdc-a50bf3c64df7",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-03-29T00:04:03.0216632-07:00",
      "MeasurementValueNeededDate": "2024-03-29T00:04:03.0216632-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "cf42af40-ecc7-4be9-9b49-4f76b0d5c192",
      "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-03-29T00:04:03.0216632-07:00",
    "MeasurementValueNeededDate": "2024-03-29T00:04:03.0216632-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "5d70bc76-876f-40b7-8748-0ab3f7ae6f9e",
    "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "ValueText": "sample string 1",
  "EffectiveDate": "2024-03-29T00:04:03.0216632-07:00",
  "Location": "sample string 2",
  "MeasurementType": {
    "MeasurementTypeId": "5c983c49-1fcb-472d-9a10-e3381dfca228",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "292c80db-1dd2-4cc5-b58d-c75f622393d0",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "9b04411d-933e-429f-a1ef-abb46b0542c3",
      "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "b5600ec5-1f0a-44b9-a8af-5a5954aa206f",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "0451a863-474a-4bd2-a143-430dfe7d74f7",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "71828d61-6dd3-4d36-85d1-97f295de8f97",
      "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-03-29T00:04:03.0216632-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": "2024-03-29T00:04:03.0216632-07:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "7b3794de-57b5-410a-aac5-7b603ec377e7",
    "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "IsValid": true,
  "IsValidMessage": "sample string 4",
  "SourceSystemId": "sample string 5",
  "CompanyId": "ccbe5e2d-d04d-43ef-a15e-bb2b0cdd8bb2",
  "CreateDate": "2024-03-29T00:04:03.0216632-07:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-03-29T00:04:03.0216632-07:00",
  "LastModifiedUser": "sample string 8"
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Object

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Total": 1,
  "Message": "sample string 2"
}