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
UnitName | Description | Type | Additional 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": "4ac2de68-9f80-48f2-af51-4270633f6f5d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "780f820f-14b8-47e6-8dad-d381dc7f2b61", "CreateDate": "2024-11-21T04:55:30.9128086-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:55:30.9128086-08:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Total": 1, "Message": "sample string 2" }