PUT Units
Updates the given unit.
Request Information
URI Parameters
None.
Body Parameters
Unit to be updated
Unit| Name | 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": "b61329fd-6375-43a9-bf15-0d844aea07dd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b9ab3d9e-a460-4dbc-b4d6-9df6c0d7d719",
"CreateDate": "2026-06-25T03:37:14.3574566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T03:37:14.3574566-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": "8845cb40-d389-4a1b-bc43-eda69dca51cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "14d50d03-31aa-4e51-a4ba-4a70e0af58b8",
"CreateDate": "2026-06-25T03:37:14.3574566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T03:37:14.3574566-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}