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": "5ea5c760-4408-4379-9f64-c305d8e3f008", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d7b87ec3-c065-4e91-856d-5425eaf7ed58", "CreateDate": "2024-12-21T18:59:23.5711444-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:59:23.5711444-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": "3df34fb3-3cbe-4ee8-b6cc-8fb1742959c9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "783e54bd-0d69-43de-aeab-50e4c80df347", "CreateDate": "2024-12-21T18:59:23.5711444-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:59:23.5711444-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }