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": "1e0254f1-fe83-4c71-a61b-318179ebffd7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d3ca7a15-3b14-4bf6-af56-b3ee4fb7943a", "CreateDate": "2024-11-21T05:18:27.6481463-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:18:27.6481463-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }