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": "aa6cb7d1-ea61-4eaf-ac4c-d7a7a20489e5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1ecaa926-c7c5-4b24-8ccd-19b06b34cbbd", "CreateDate": "2024-10-10T15:24:14.1952174-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:14.1952174-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }