My Oracle Support Banner

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

Last updated on JULY 13, 2021

Applies to:

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


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

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"





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

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