PUT Units
Updates the given unit.
Request Information
URI Parameters
None.
Body Parameters
Unit to be updated
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": "a94149b4-5edf-48c3-8dee-1cbb01f5eed0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fcba75ea-2993-4789-9105-dfe1836c14da", "CreateDate": "2025-08-30T12:58:09.5681328-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:58:09.5681328-07:00", "LastModifiedUser": "sample string 6" }
Response Information
Resource Description
On success, the updated unit.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Unit |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UnitId": "3047b547-7507-462b-9f26-4267f976fb46", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "495c79f6-8a47-4b73-98e5-5db2ae879b1f", "CreateDate": "2025-08-30T12:58:09.5681328-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:58:09.5681328-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }