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": "cde4b9a2-09a1-43a0-975c-1b2e4be7ad8c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "231341fc-4f96-490b-865a-9cd26d9baaeb",
"CreateDate": "2026-03-24T05:43:11.668332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T05:43:11.668332-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}