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": "4555c563-7ea8-4d5d-8b18-8bb640a56135", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2e15150e-46e4-4fd1-85a2-eddb563be39b", "CreateDate": "2025-01-30T16:58:59.7960944-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:58:59.7960944-08: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": "f022c257-9f5a-4509-a1ea-d3f8b6105e23", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "be5afaf0-f77a-4306-9e60-a0bbb85b8733", "CreateDate": "2025-01-30T16:58:59.7960944-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:58:59.7960944-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }