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": "2b8f81bc-d39c-4743-91b2-cd4ccf933dab",
  "Asset": {
    "AssetId": "f017687f-40a7-4037-80ec-fc3185153538",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "293edb10-c173-4231-9835-cbe9517c5959",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "2749caf1-f3bd-4d8f-bfe7-a6c272ee266b",
      "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T15:22:09.9669945-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "c4db2703-7c99-4614-a0b3-f0fc9f5667f5",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T15:22:09.9669945-07:00",
      "MeasurementValueNeededDate": "2024-10-10T15:22:09.9669945-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "a0e6e7b7-838a-4363-ac77-c4b9f353896d",
      "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:22:09.9669945-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-10-10T15:22:09.9669945-07:00",
    "MeasurementValueNeededDate": "2024-10-10T15:22:09.9669945-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "1701e699-5374-45a5-a10f-a43fc93b78da",
    "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T15:22:09.9669945-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "ValueText": "sample string 1",
  "EffectiveDate": "2024-10-10T15:22:09.9669945-07:00",
  "Location": "sample string 2",
  "MeasurementType": {
    "MeasurementTypeId": "f34cfbb8-26b9-4673-b44c-475921b11446",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "293edb10-c173-4231-9835-cbe9517c5959",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "2749caf1-f3bd-4d8f-bfe7-a6c272ee266b",
      "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T15:22:09.9669945-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "ce5c9153-b217-48a5-a00f-7b11507a01dd",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "a4d610d9-1b90-40ff-bef8-b73bac9c4bd9",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "7c910b87-4278-4d46-8e4b-05e66a52ef88",
      "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:22:09.9669945-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-10-10T15:22:09.9669945-07:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "9ae20e83-a2ff-4e60-8572-7b4369c36058",
    "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T15:22:09.9669945-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "IsValid": true,
  "IsValidMessage": "sample string 4",
  "SourceSystemId": "sample string 5",
  "CompanyId": "a713789d-9d01-4c9f-9ec8-f1ddf27fbfa7",
  "CreateDate": "2024-10-10T15:22:09.9669945-07:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-10-10T15:22:09.9669945-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"
}