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": "a4f862c3-cfb1-45fb-9656-60f3f6686aee", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6ebd8fd6-3ae5-4ab7-9a38-c3ab49c6819e", "CreateDate": "2024-12-09T02:15:33.6403213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:15:33.6403213-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }