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": "ba51d0b1-f2d3-4e40-8f66-44cc4966b403", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f975d0ff-903a-4765-9408-034a2069ef39", "CreateDate": "2024-12-21T19:02:32.1221585-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:02:32.1221585-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }