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.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitId": "bc61246a-6db2-49e7-b1bc-c17fecac6312",
  "Code": "sample string 1",
  "Description": "sample string 2",
  "SourceSystemId": "sample string 3",
  "CompanyId": "8e0ab421-0e21-4207-a59d-89ede6c64385",
  "CreateDate": "2021-04-17T07:42:34.7027846-07:00",
  "CreateUser": "sample string 5",
  "CreateMachine": "sample string 6",
  "LastModifiedDate": "2021-04-17T07:42:34.7027846-07:00",
  "LastModifiedUser": "sample string 7",
  "LastModifiedMachine": "sample string 8"
}

Response Information

Resource Description

On success, the deleted unit.

NameDescriptionTypeAdditional information
Data

Unit

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "UnitId": "7695d67a-8528-4e47-8c48-d1fe082caaf6",
    "Code": "sample string 1",
    "Description": "sample string 2",
    "SourceSystemId": "sample string 3",
    "CompanyId": "805ef609-0858-49ba-9bce-fdd1d2bcf54a",
    "CreateDate": "2021-04-17T07:42:34.7027846-07:00",
    "CreateUser": "sample string 5",
    "CreateMachine": "sample string 6",
    "LastModifiedDate": "2021-04-17T07:42:34.7027846-07:00",
    "LastModifiedUser": "sample string 7",
    "LastModifiedMachine": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}