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": "42a650d4-7010-41e7-b48c-cc48a3a9d46a",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "62fea644-afb6-47bd-91f3-5af398e0fb6f",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "12e430bb-f551-4141-95b3-924076fba96c",
    "CreateDate": "2024-12-09T03:16:47.8516019-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-12-09T03:16:47.8516019-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "AssetGroup": {
    "AssetGroupId": "f00c0e3f-7e7a-409c-9af8-0f4fe6983a3d",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2024-12-09T03:16:47.8516019-08:00",
    "MeasurementValueNeededDate": "2024-12-09T03:16:47.8516019-08:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "1574411a-80f2-48a1-b0f4-e628c591b822",
    "CreateDate": "2024-12-09T03:16:47.8516019-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-12-09T03:16:47.8516019-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "ParentAsset": null,
  "Location": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "FormValueNeededDate": "2024-12-09T03:16:47.8516019-08:00",
  "MeasurementValueNeededDate": "2024-12-09T03:16:47.8516019-08:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "1050e260-fa29-4491-b6ae-7687108d3cb4",
  "CreateDate": "2024-12-09T03:16:47.8516019-08:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-12-09T03:16:47.8516019-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"
}