Hi all,
I ask myself how logicalResource and bucketRefOrValue entitites are related (or not related) to each other in TMF677 Usage Consumption API?
Both entities are palced below "UsageConsumption" entity. Both can have consumptionSummary objects, regarding the spec.
.
In the spec logicalResource is defined as "A list of usage consumption logical resource references"
In the example in the spec document (TMF677_Usage_Consumption_Management_API_REST_Specification_v4.0.0.pdf) SMS usage data is put in logicalResource entity. On the contrary MMS usage modeled out as bucket in bucketRefOrValue structure. Does the fact that sms is flat-rate ("unlimited") and mms is not has something to do with it?
.
Concrete use-case:
In my case I have a cable-segment object of certain length which consists of 144 fibers (in fact we "use" 5000 of such cable-segments). In a time period (a month) 10,20 or N < 145 fibers can be used. So it is a "UsageVolumeProduct". I am not sure if "usage" of fibers in one cable-segment should be modeled as a consumptionSummary within logicalResource or bucketRefOrValue? One could define each cable segment as a "bucket" with 144 fiber objects. But that does appear like the right way of modeling to me.
.
I have also consulted GB922_Product_v22.5.pdf (pages 53++) but could not clearly figure when logicalResource with consumptionSummary should be used.
.
Best Regards
Anton
------------------------------
Anton Tsapko
conology
------------------------------