My Oracle Support Banner

FA:SCM:MNT Not Able to Create Meter Reading Through REST API: /fscmRestApi/resources/11.13.18.05/meterReadings (Doc ID 2788895.1)

Last updated on JULY 13, 2021

Applies to:

Oracle Maintenance Cloud Service - Version 11.13.21.04.0 and later
Information in this document applies to any platform.

Symptoms

User is not able to create Meter Reading through REST API /fscmRestApi/resources/11.13.18.05/meterReadings

When using POST to create a Meter Reading, the user is getting 400 Bad Request Response with message 'YoumustprovideavaluefortheMeterUsageCodeattribute.' response body.

JSON submitted contains MeterUsageCode attribute, and matches the meter as confirmed when using the GET method.

[
  {
   "AssetNumber": "Asset_01",
   "MeterCode": "MR_01Y",
   "ReadingDate": "2021-05-12 00:00:00",
   "ReadingTypeCode": "ORA_ABSOLUTE",
   "MeterUsageCode": "ORA_ASSET",
   "ReadingValue": 2,
   "Comments": "My Meter Reading using API"
  }

]

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.