DELETE Units

Deletes the given unit. This will not delete property types or measurement types that use this unit.

Request Information

URI Parameters

None.

Body Parameters

The unit to delete

Unit
NameDescriptionTypeAdditional information
UnitId

globally unique identifier

None.

Code

string

None.

Description

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:
{
  "UnitId": "0813bdd0-f555-4745-a2e0-f7efb8fede84",
  "Code": "sample string 1",
  "Description": "sample string 2",
  "SourceSystemId": "sample string 3",
  "CompanyId": "34054e66-f105-474f-ad92-c8180eba260d",
  "CreateDate": "2024-10-10T15:24:20.1013717-07:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-10-10T15:24:20.1013717-07:00",
  "LastModifiedUser": "sample string 6"
}

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