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": "139336aa-fa4f-4a61-bcc3-6f9006a7aa70",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c7d55eb-2290-495a-b590-481cefd0392c",
"CreateDate": "2026-01-22T20:10:11.3935027-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T20:10:11.3935027-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": "4b5d20d0-d672-4f30-969e-cf15258125e3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "28c3e424-e2f2-4d71-beee-32fc87f4fc88",
"CreateDate": "2026-01-22T20:10:11.3935027-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T20:10:11.3935027-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}