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": "f094946e-9cf7-40d7-ac1a-5278930519dc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54d71c65-44c4-4e0b-894a-9c1ca2a251d1",
"CreateDate": "2025-11-05T01:48:16.6767364-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T01:48:16.6767364-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}