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": "93cd73e7-743f-4773-8c7c-c281f112669c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "782fc0e4-0caf-4ba1-9da5-31f4e4363c9f", "CreateDate": "2025-04-03T15:32:47.2432274-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:32:47.2432274-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": "b8735f88-9208-4310-bd70-29ca14e44733", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "eaa19885-c69a-47f0-8ee7-663d9e697be9", "CreateDate": "2025-04-03T15:32:47.2432274-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:32:47.2432274-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }