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": "180ecaf5-8770-4e50-9334-96ef09980768", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e3e08821-b37b-4a5a-adf9-8cbd041201a6", "CreateDate": "2024-10-10T15:24:18.0388817-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:18.0388817-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": "315b4db0-56a8-4208-b614-a98f49bd3edf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8116bc5a-df12-4f79-a86a-f20ddfa18b14", "CreateDate": "2024-10-10T15:24:18.0388817-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:18.0388817-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }