GET Units?unitId={unitId}
Retrieves a unit by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
unitId |
Id of the unit |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the unit.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Unit |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UnitId": "2fc8c98e-b128-48d1-b919-670ec901c828", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5553f243-ae4a-4553-926d-a77eb80a3551", "CreateDate": "2025-05-08T20:47:35.2980327-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T20:47:35.2980327-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }