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": "c24e2956-e295-4e2b-817a-50f14d0164bd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91236849-d424-4540-9a36-0ca44d92863a",
"CreateDate": "2025-12-10T05:03:43.6961599-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:43.6961599-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}