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": "92d5df30-173b-4c60-a796-37bb0ce4a67f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7f3ae89e-b1df-459b-ab72-84a6f4e62460", "CreateDate": "2024-12-09T01:31:06.21868-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:31:06.21868-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": "faaa832b-589d-4aad-9743-81307c971eff", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "569d444a-2bb4-4ebb-8062-091d7b777755", "CreateDate": "2024-12-09T01:31:06.21868-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:31:06.21868-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }