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": "9a4f367f-2796-4cb8-b958-b1ec9d7d825d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b8d75f48-8830-480a-8bbb-7c9d7e59bda0",
"CreateDate": "2025-12-05T06:17:36.8697337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T06:17:36.8697337-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}