POST api/UBCalcMeterReadingConsumption
Documentation for 'Post'.
Request Information
Request body formats
application/json, text/json
Sample:
{ "MeterReading": { "READ_SOURCE_CODE_DESC": "sample string 1", "READ_ADD_SRVC_CODE_DESC": "sample string 2", "X_CAN_EDIT": true, "X_CAN_DELETE": true, "X_PREV_READ_DATE": "2025-04-03T21:33:47.0473242-07:00", "X_UB_SERVICE": { "SRVC_CODE": "sample string 1", "SRVC_TYPE_CODE": "sample string 2", "SRVC_CALC_CODE": "sample string 3", "SRVC_CASH_POST_FLAG": "sample string 4", "SRVC_DESC": "sample string 5", "SRVC_PST_FLAG": "sample string 6", "SRVC_GST_FLAG": "sample string 7", "SRVC_ECON_RATE": 1.0, "SRVC_DEF_SORT": "sample string 8", "SRVC_DEF_UOM_CODE": "sample string 9", "SRVC_DEF_STRATA_CODE": "sample string 10", "SRVC_DEF_SUMRZ_FLAG": "sample string 11", "SRVC_DEF_CNS_CODE": "sample string 12", "SRVC_DEF_BASED_BASIS": "sample string 13", "SRVC_DEF_BASED_SRVC": "sample string 14", "SRVC_DEF_DISC_CODE": "sample string 15", "INS_USER": "sample string 16", "INS_DATE": "2025-04-03T21:33:47.0473242-07:00", "UPD_USER": "sample string 17", "UPD_DATE": "2025-04-03T21:33:47.0473242-07:00", "UB_MARK_CODE": "sample string 18", "SRVC_HST_FLAG": "sample string 19", "SRVC_MIN_DEMAND": 1.0, "SRVC_ANN_MIN": 1.0 }, "ORIG_HASH": "sample string 6", "READ_ID": 7, "CS_ID": 8, "READ_DATE": "2025-04-03T21:33:47.0473242-07:00", "READ_EST_FLAG": "sample string 10", "READ_CUR": 11.0, "READ_PREV": 12.0, "READ_CONS": 13.0, "READ_USAGE_DAYS": 1, "READ_BATCH_TYPE_CODE": "sample string 14", "READ_BATCH_NUM": "sample string 15", "READ_PERSON": "sample string 16", "READ_KVA_PEAK_USE": 1.0, "READ_SOURCE_CODE": "sample string 17", "READ_ADD_SRVC_CODE": "sample string 18", "INS_USER": "sample string 19", "INS_DATE": "2025-04-03T21:33:47.0473242-07:00", "UPD_USER": "sample string 20", "UPD_DATE": "2025-04-03T21:33:47.0473242-07:00", "READ_CONV_FACTOR": 1.0, "READ_GAS_CONS": 1.0, "READ_DAYS_WITH_ZERO_CONS": "sample string 21", "READ_REVERSE_FLOW_EVENT": "sample string 22", "READ_DAYS_OF_LEAK": "sample string 23", "READ_LEAK_STATUS": "sample string 24" } }
Response Information
Response body formats
application/json, text/json
Sample:
{ "ConsumptionCalcResult": { "Consumption": 1.0, "MeterRollover": true } }