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": "7e0ccb77-e9d3-4a1b-b8d0-b64f8c3c472c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c973f304-9f1e-4df9-9907-dfa6f5021a9e", "CreateDate": "2024-04-25T14:29:17.9946014-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-25T14:29:17.9946014-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }