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": "2e1d1805-0956-4c48-9143-b8218910a30b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2118d6f4-c588-4103-9c20-1ed30c051727", "CreateDate": "2025-05-09T01:29:06.8501911-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:29:06.8501911-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }