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": "cc8f5eff-b898-480b-ac75-88020827ce71", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "acc3784d-ed75-44a1-9061-bd5877d41f2a", "CreateDate": "2025-08-29T17:18:09.0175789-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:18:09.0175789-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": "afdccf5c-620a-4232-8a0b-ef387c516ffd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a65078c9-5678-49f1-89f0-03d8e3b3c8fb", "CreateDate": "2025-08-29T17:18:09.0175789-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:18:09.0175789-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }