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.

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": "416ba59e-4e10-4fc0-9251-101c4b8202b0",
  "Asset": {
    "AssetId": "a8cc057d-43f3-408e-b310-8c88caa0bebd",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "79a8b76a-cc81-4d37-9dcc-919c09c46e69",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "41b96e5e-a2bd-439b-8c4b-c7a41dcc4a5d",
      "CreateDate": "2024-12-08T10:37:13.884676-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "e86b5fe3-235a-4c89-80ad-ab407dcf5502",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-08T10:37:13.884676-08:00",
      "MeasurementValueNeededDate": "2024-12-08T10:37:13.884676-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "e2963e0e-ac35-4711-92d3-7872b513b135",
      "CreateDate": "2024-12-08T10:37:13.884676-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-08T10:37:13.884676-08:00",
    "MeasurementValueNeededDate": "2024-12-08T10:37:13.884676-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b568fead-83ff-4cd8-a24e-f5e484ef320f",
    "CreateDate": "2024-12-08T10:37:13.884676-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "ValueText": "sample string 1",
  "DisplayText": "sample string 2",
  "EffectiveDate": "2024-12-08T10:37:13.884676-08:00",
  "Location": "sample string 3",
  "MeasurementType": {
    "MeasurementTypeId": "24eb18a4-3860-4074-a415-d3e39f3c8e42",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "79a8b76a-cc81-4d37-9dcc-919c09c46e69",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "41b96e5e-a2bd-439b-8c4b-c7a41dcc4a5d",
      "CreateDate": "2024-12-08T10:37:13.884676-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "ae38667c-d001-46cb-a723-cf54a2c36789",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "2ecb5eae-edd9-4f00-b55c-638238ce2773",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "ebe62ba1-ebe8-47e6-9d80-e8a4d019fe30",
      "CreateDate": "2024-12-08T10:37:13.884676-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      {
        "ValidValueId": "34771e7f-80db-4cc0-8989-5a7be86dc2fc",
        "FieldId": "f7118b40-6f59-46ef-86e3-d14a8e7b2cf6",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      },
      {
        "ValidValueId": "34771e7f-80db-4cc0-8989-5a7be86dc2fc",
        "FieldId": "f7118b40-6f59-46ef-86e3-d14a8e7b2cf6",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      }
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-12-08T10:37:13.884676-08:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "d593c064-a3f6-4eec-885c-b34819576978",
    "CreateDate": "2024-12-08T10:37:13.884676-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "IsValid": true,
  "IsValidMessage": "sample string 5",
  "SourceSystemId": "sample string 6",
  "CompanyId": "7a7b8797-40e9-452b-bb7b-b8aed2d4da29",
  "CreateDate": "2024-12-08T10:37:13.884676-08:00",
  "CreateUser": "sample string 8",
  "LastModifiedDate": "2024-12-08T10:37:13.884676-08:00",
  "LastModifiedUser": "sample string 9"
}

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"
}