Hi,
I have some questions regarding the constraints that have been set for ProductTerm sub-resource.
According to TMF637 Product Inventory Management API REST Specification Release 19.0.0 the ProductTerm sub-resource has among others these two fields:
- duration - A quantity (Quantity). Duration of the productTerm.
- name - A string. Name of the productTerm.
The Product Inventory Management API Conformance Profile Release 19.0.0 gives the following constraints on the two fields:
- duration - Mandatory if name not provided
- name - Mandatory if duration not provided
We would like to understand why are there such constraints in place and what is the actual idea behind the "name" field - what should it containt?
How can the "name" field replace the machine-readable "duration" field in real-world scenarios?
Thanks in advance!
------------------------------
Indrek Rajamets
Telia Eesti AS
------------------------------