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": "599717db-064d-4201-aa7d-3ca94bd3444a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3923824a-5a31-474e-bcba-9ac574c0d72a", "CreateDate": "2024-12-26T03:14:40.012629-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:14:40.012629-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": "207df318-53e6-4aa3-8e87-49e96d853867", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8f167a91-9bbf-4b29-a5e9-d24790451ae7", "CreateDate": "2024-12-26T03:14:40.012629-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:14:40.012629-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }