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": "f04cdc4e-1a8d-4a6a-acd9-9d9bf5e0803d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1b8797dc-ed39-4e48-ab1a-4a445f2098ec",
"CreateDate": "2026-01-21T06:49:22.1051118-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-21T06:49:22.1051118-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}