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": "e9815a0b-970a-4722-bd87-33cc0c89b65b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5786430e-eeb5-441c-857a-aabed945d9a1", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:40:06.4993989-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": "df66d71c-ef24-4359-9dd1-56d0a8977762", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b22768c9-1cd9-418c-9944-e05d73e62f1e", "CreateDate": "2024-11-21T04:40:06.4993989-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:40:06.4993989-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }