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": "7f9351ef-0f01-4444-a7c6-2f843204df1e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "409f5f91-1471-4609-8211-5390b35fb82e", "CreateDate": "2024-12-21T18:54:46.971618-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:54:46.971618-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": "4c664235-e28c-4574-81a9-7bed0be8fe3f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b1990a5f-3385-432c-9745-6c10658ce48e", "CreateDate": "2024-12-21T18:54:46.971618-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:54:46.971618-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }