Get one asset meter
get
/fscmRestApi/resources/11.13.18.05/installedBaseAssets/{AssetId}/child/meters/{MeterDefinitionId}
Request
Path Parameters
-
AssetId(required): integer(int64)
Value that uniquely identifies the asset. The application generates this value when it creates the asset. This attribute is read-only.
-
MeterDefinitionId(required): integer(int64)
Value that uniquely identifies the meter template. The application creates this value when it creates a meter template. This attribute is read-only.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : installedBaseAssets-meters-item-response
Type:
Show Source
object-
ActiveEndDate: string
(date-time)
Title:
End DateRead Only:trueDate when the application can no longer use the meter template for the asset. The application sets this value to the default, active end date for the meter that it created for the asset. The date must be equal to or greater than the system date, and it must be greater than the value of ActiveStartDate. -
ActiveStartDate: string
(date-time)
Title:
Start DateRead Only:trueDate when the application can use the meter template for the asset. The application sets this value to the active start date for the meter that it created for the asset, by default. The date must be equal to or greater than the system date, and less than the value of ActiveEndDate. -
AllowInMaintProgramFlag: boolean
Read Only:
trueMaximum Length:1Contains one of the following values: true or false. If true, then the meter can be used for scheduling a maintenance program. If false, then the meter cannot be used for scheduling a maintenance program. The default value is false. -
AssetNumber: string
Title:
Asset NumberRead Only:trueMaximum Length:80Value that uniquely identifies the asset for the meter. This attribute is read-only. -
CalculatedUtilizationRate: number
Title:
Calculated Utilization Rate per DayRead Only:trueValue of the calculated utilization rate based on the number of active readings in history. This attribute is read-only. -
DailyUtilizationRate: number
Title:
Estimated Daily Utilization RateRead Only:trueExpected average daily total of readings that are to be entered for a meter. -
DisplayedReading: integer
(int64)
Title:
Displayed ReadingRead Only:trueValue that's indicated on a meter. This value is the same as the Life-to-Date Reading value until a meter is reset or encounters a rollover event. For a change meter, this value is calculated by adding the current net change value to the previous displayed reading value. For an absolute meter, this value is always the same as the reading value. This attribute is read-only. -
LastReadingComments: string
Title:
CommentsRead Only:trueMaximum Length:255Comments of the last active meter reading in history. This attribute is read-only. -
LastReadingDate: string
(date-time)
Title:
Last Reading DateRead Only:trueDate of the last active meter reading in history. This attribute is read-only. -
LastReadingValue: integer
(int64)
Title:
Last Reading ValueRead Only:trueValue of the last active meter reading in history. This attribute is read-only. -
LifeToDateReading: number
Title:
Life-to-Date ReadingRead Only:trueValue that represents the cumulative reading value for an asset meter, irrespective of Reset or Rollover events, over time. It is incremented by recording new meter readings. This attribute is read-only. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MeterCode: string
Title:
Meter CodeRead Only:trueMaximum Length:30Abbreviation that identifies the meter template. This value must use uppercase letters and it can be alphanumeric. Each meter that the application creates for the asset references this value. -
MeterDefinitionId: integer
(int64)
Read Only:
trueValue that uniquely identifies the meter template. The application creates this value when it creates a meter template. This attribute is read-only. -
MeterDescription: string
Title:
Meter DescriptionRead Only:trueMaximum Length:240Description of the meter template. This attribute provides a brief user-defined text providing information on the template characteristics. -
MeterId: integer
(int64)
Read Only:
trueValue that uniquely identifies the asset meter. The application uses this value and the value that identifies the asset to identify the asset meter, and then record a new meter reading. As an alternative, the application can use the meter code and the asset number to identify the asset meter and record the new reading. -
MeterName: string
Title:
Meter NameRead Only:trueMaximum Length:120Name of the meter template. Each meter that the application creates for the asset references this value. The combined values of MeterName and MeterCode provide a unique value that identifies the meter template. -
MeterObjectId: integer
(int64)
Read Only:
trueValue that uniquely identifies the business object that the application creates for this meter. This value represents the asset identifier that the application gets from the asset that references the meter. -
MeterType: string
Title:
Meter TypeRead Only:trueMaximum Length:80Meaning of the type of meter in the meter template. This attribute is read-only. -
MeterTypeCode: string
Title:
Meter Type CodeRead Only:trueMaximum Length:30Abbreviation that identifies the type of meter in the meter template. Each meter that the application creates for the asset references this value. Values for MeterCode are continuous, similar to an odometer or a gauge similar to a thermometer. A list of accepted values is defined in the lookup type ORA_CSE_METER_TYPE_CODE. -
MeterUsageCode: string
Read Only:
trueMaximum Length:30Abbreviation that uniquely identifies whether the application created the meter reading for an asset or for a contract line. Valid values include ORA_ASSET or ORA_CONTRACT. A list of accepted values is defined in the lookup type ORA_CSE_METER_USAGE_CODE. -
ReadingDirection: string
Title:
Reading DirectionRead Only:trueMaximum Length:30Direction of the meter reading in the meter template. Each meter that the application creates for the asset references this value. This attribute specifies the direction to record the meter reading in ascending, descending, or bidirectional direction, depending on the type of meter and type of reading. The application limits the combination of meter, reading type, and direction to the following usages: continuous absolute ascending, continuous absolute change, continuous change ascending, continuous change descending, or gauge absolute bidirectional. A list of accepted values is defined in the lookup type ORA_CSE_DIRECTION. -
ReadingDirectionMeaning: string
Title:
Reading Direction MeaningRead Only:trueMaximum Length:80Meaning of the reading direction in the meter template. This attribute is read-only. -
ReadingType: string
Title:
Reading TypeRead Only:trueMaximum Length:80Meaning of the reading type in the meter template. This attribute is read-only. -
ReadingTypeCode: string
Title:
Reading Type CodeRead Only:trueMaximum Length:30Abbreviation that identifies the type of meter reading. Each meter that the application creates for the asset references this value. This attribute specifies whether to record the meter reading as an absolute value or a change value, depending on the meter type. The application limits the combination of meter and reading type to the following usages: continuous absolute, continuous change, or gauge absolute. A list of accepted values is defined in the lookup type ORA_CSE_READING_TYPE_CODE. -
RecordAtWoComplCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the option that is used to control the meter reading entry at work order completion. -
RecordAtWoComplMeaning: string
Title:
MeaningRead Only:trueMaximum Length:80Meaning that identifies the option that's used to control the meter reading entry at work order completion. This attribute is read-only. -
ResetAllowedFlag: boolean
Title:
Reset allowedRead Only:trueMaximum Length:1Contains one of the following values: true or false. If true, then allow the meter template to reset the asset meter when the application records a new reading in the meter reading history. If false, then do not allow. If true, then you must define ResetValue. The default value is false. Each meter that the application creates for the asset references this value. You cannot define an indicator for a gauge meter. -
ResetValue: number
Title:
Reset ValueRead Only:trueReset value for the meter in the meter template. The application uses this attribute as the reset value when it records the meter reading history. If you set ResetAllowedFlag to true, then you must specify a value for ResetValue. Each meter that the application creates for the asset references this attribute. This attribute must contain a value that is greater than zero, and that is equal to the lowest reading value that the physical meter allows for the asset. -
RolloverAllowedFlag: boolean
Title:
Rollover allowedRead Only:trueMaximum Length:1Contains one of the following values: true or false. If true, then allow the application to rollover the asset meter in the meter template when it records a new reading in the meter reading history. If false, then do not allow rollover. If true, then you must specify values for RolloverMaximumValue and RolloverResetValue. The default value for RolloverAllowedFlag is false. RolloverAllowedFlag is required. Each meter that the application creates for the asset references RolloverAllowedFlag. You can allow rollover only for a continuous absolute or for a change ascending meter, and only for a meter that can reach a maximum value before it rolls over to a reset value, and then continue recording. The default value is false. -
RolloverMaximumValue: number
Title:
Rollover Maximum ValueRead Only:trueMaximum value that the application can set for the asset meter in the meter template when it records a new reading in the meter reading history. If RolloverAllowedFlag is true, then you must provide a value for RolloverMaximumValue. Each meter that the application creates for the asset references RolloverMaximumValue. The value in RolloverMaximumValue must be greater than zero, greater than the value of RolloverResetValue, and must equal the maximum cumulative value that the physical meter allows for the asset. -
RolloverResetValue: number
Title:
Rollover Reset ValueRead Only:trueMinimum value that the application can set for the asset meter in the meter template when it records a new reading in the meter reading history. If RolloverAllowedFlag is true, then you must provide a value for RolloverResetValue. Each meter that the application creates for the asset references RolloverResetValue. The value of RolloverResetValue must be greater than or equal to zero, and must equal the minimum value that the physical meter allows for the asset. -
UnitOfMeasure: string
Title:
UOM NameRead Only:trueMaximum Length:25Meaning of the unit of measure in the meter template. This attribute is read-only. -
UOMCode: string
Title:
UOMRead Only:trueMaximum Length:3Abbreviation that identifies the unit of measure that the meter template uses. Each meter that the application creates for the asset references this value. This attribute provides a context that you can use to define, record, or view meter history. A list of accepted values is defined in the lookup type ORA_CSE_UOM_CODE. -
UtilizationRateComputedAt: number
Read Only:
trueNumber of readings in history for which meter readings will be used to calculate a daily utilization rate. -
WoReadingRecordedFlag: boolean
Read Only:
trueValue that identifies the recorded reading of the work order. This attribute is read-only. -
WorkOrderId: integer
Read Only:
trueUnique identifier of the maintenance work order from which the meter reading was recorded. This attribute is read-only. -
WorkOrderNumber: string
Title:
Work OrderRead Only:trueMaximum Length:255Name of the maintenance work order from which the meter reading was recorded. This attribute is read-only.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.