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": "3c66ec45-45e9-415e-bce5-966d6222cac1",
  "Code": "sample string 1",
  "Description": "sample string 2",
  "SourceSystemId": "sample string 3",
  "CompanyId": "e155d5f3-ea6f-45d1-bd66-09f68afd7b22",
  "CreateDate": "2024-12-09T02:20:18.0781244-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-12-09T02:20:18.0781244-08: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"
}