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": "b8c35a22-ef9c-4e5e-bd7b-edde7089dd6e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "694e0493-d8d9-49d7-837d-1342d0510cfd", "CreateDate": "2024-11-22T17:41:00.0787517-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T17:41:00.0787517-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": "74bd4253-f478-47b9-aae3-94d05c0b574a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0b571669-2920-41cc-91c3-c28d45b52725", "CreateDate": "2024-11-22T17:41:00.0787517-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T17:41:00.0787517-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }