DELETE Assets

Deletes the given asset.

Request Information

URI Parameters

None.

Body Parameters

Asset to delete

Asset
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Name

string

None.

Description

string

None.

DisplayOrder

integer

None.

AssetType

AssetType

None.

AssetGroup

AssetGroup

None.

ParentAsset

Asset

None.

Location

string

None.

Barcode

Barcode

None.

FormValueNeededDate

date

None.

MeasurementValueNeededDate

date

None.

HasChildren

boolean

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:
{
  "AssetId": "1a37dc7f-b292-4412-9294-19b76068da3c",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "a78ee037-163c-4b33-97af-0bf897da4074",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "8d70add5-2265-4b42-92b4-39118b90dc50",
    "CreateDate": "2024-11-23T01:30:31.7426412-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-11-23T01:30:31.7426412-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "AssetGroup": {
    "AssetGroupId": "93d7132e-be94-4a19-ab28-5fa5711c12ff",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2024-11-23T01:30:31.7426412-08:00",
    "MeasurementValueNeededDate": "2024-11-23T01:30:31.7426412-08:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "4452d94f-1595-498f-8900-a45e808f451e",
    "CreateDate": "2024-11-23T01:30:31.7426412-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-11-23T01:30:31.7426412-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "ParentAsset": null,
  "Location": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "FormValueNeededDate": "2024-11-23T01:30:31.7426412-08:00",
  "MeasurementValueNeededDate": "2024-11-23T01:30:31.7426412-08:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "dc0cb9af-562f-419a-81e2-9235833fff78",
  "CreateDate": "2024-11-23T01:30:31.7426412-08:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-11-23T01:30:31.7426412-08: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"
}