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": "885733ec-4d43-479f-a31f-4e8e941caf21",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1361ce45-a2f6-452d-8b6e-7923dbd045ca",
"CreateDate": "2026-10-06T03:25:49.2906419-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-06T03:25:49.2906419-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": "10ad6826-1123-4d6f-8f3d-da395c8c2dbf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fdae6553-6243-495a-a9ae-064188562f7d",
"CreateDate": "2026-10-06T03:25:49.2906419-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-06T03:25:49.2906419-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}