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": "180b54da-8664-4edc-a215-f3529f922a03",
  "Code": "sample string 1",
  "Description": "sample string 2",
  "SourceSystemId": "sample string 3",
  "CompanyId": "157a648b-cb57-4a09-86e7-c2aa8996fb66",
  "CreateDate": "2024-11-21T05:31:10.2368441-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-11-21T05:31:10.2368441-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"
}