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": "727c89fc-54d7-4b07-befe-58c2cc223ca4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c49739cf-4580-442b-bedb-32ce83018208",
"CreateDate": "2026-02-23T10:47:29.0169181-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T10:47:29.0169181-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": "aa55d548-e521-4ac5-a4a4-5e34b877a062",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c5c827af-3093-4c81-8a18-79c689b9c94e",
"CreateDate": "2026-02-23T10:47:29.0169181-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T10:47:29.0169181-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}