Get Unit of Measure
get
/api/utilitiesAdmin/{version}/unitOfMeasure/{id}
Get details of a specific Unit of Measure record by its id.
Request
Path Parameters
-
id(required): string
Value of resource id field. Example: KW (for admin entity 'unitOfMeasure')
-
version(required): string
API version. Example: v1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Nested Schema : unitOfMeasure
Type:
Show Source
object
-
active: boolean
Boolean that is true if active, false if inactive.
-
code(required): string
Code for the Unit of Measure.
-
description(required): string
Description
-
id(required): string
Identifier for the Unit of Measure record.
-
serviceType(required): string
Service Type for the Usage being measured.
Examples
400 Response
An error is encountered due to an invalid request
Root Schema : Error
Type:
Show Source
object
-
code: string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
500 Response
An internal server error is encountered, due to an unknown reason
Root Schema : Error
Type:
Show Source
object
-
code: string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension