DELETE AssetTypes

Deletes the given asset type, including all assets of that type.

Request Information

URI Parameters

None.

Body Parameters

Asset type to delete

AssetType
NameDescriptionTypeAdditional information
AssetTypeId

globally unique identifier

None.

Name

string

None.

Description

string

None.

DisplayColor

string

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetTypeId": "59d2872c-13b2-4e0e-ab9d-6c90f6f021c0",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayColor": "sample string 3",
  "SourceSystemId": "sample string 4",
  "CompanyId": "064d9d89-f836-4b57-86f4-773312452783",
  "CreateDate": "2021-04-17T06:41:26.866216-07:00",
  "CreateUser": "sample string 6",
  "CreateMachine": "sample string 7",
  "LastModifiedDate": "2021-04-17T06:41:26.866216-07:00",
  "LastModifiedUser": "sample string 8",
  "LastModifiedMachine": "sample string 9"
}

Response Information

Resource Description

On success, the deleted asset type.

NameDescriptionTypeAdditional information
Data

AssetType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetTypeId": "bb3e5779-46dd-4fa1-8358-1532b9b23d61",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "5ebe883b-8d03-4343-84cc-f81039e0a720",
    "CreateDate": "2021-04-17T06:41:26.866216-07:00",
    "CreateUser": "sample string 6",
    "CreateMachine": "sample string 7",
    "LastModifiedDate": "2021-04-17T06:41:26.866216-07:00",
    "LastModifiedUser": "sample string 8",
    "LastModifiedMachine": "sample string 9"
  },
  "Total": 1,
  "Message": "sample string 1"
}