Looking at POST operation of TMF622 Product Ordering Management API
As i understand across the TMF APIs, The general pattern for id attributes in POST (Create resource) operation is: id fields are not included in input payload, ids are Initially generated by the server and provided in the response upon resource creation.
But when it comes to product Order Item Id, it is different for post operation, the orderItem id is mandatory. the description says "Identifier of the line item (generally it is a sequence number 01, 02, 03, ...)". the orderItem.id is consistently mandatory(for post operation) across other order APIs as well (Service Ordering, Resource Ordering APIs).
Could anybody please help me understand following:
1. In POST response, what should we return in the order Items Id attribute? will it be server generated order item id or the order item id sent in request payload itself?
2. Why is orderItem id mandatory for creating order item resource? What are the usecases to make orderitem id mandatory in POST operation?
Thanks
------------------------------
Venkat Bollina
SSE Enterprise Telecoms
------------------------------