@sebastian @Ashish Thanks for your responses .
I had followup queries for DeleteServiceOrder API :
i see that we need to send a synchronous response with 204 http & not a acknowledged response which means all the deletions should happen immediately & if this is the case there is no need to send event notifications to the subscribers on the delete event
But if the service needs to be deleted in the network then it might take time & better to send acknowledged request immediately & send event update once the service is deleted in the network
However if i look at the swagger specs ,i see there is a serviceOrderDeleteEvent as well to send the event notifications & payload for that is complete service order
In my view ,this means that we need to send event notification after all service order items within service order is deleted successfully and serviceOrderDeleteEvent notification that needs to be sent out should have overall service order state as 'complete' & each service state will be 'terminated'Is this the right understanding?
I am a bit confused on immediate 204 response to be sent ,should it be that way or do we need to send synchronous response with state 'acknowledged' & later notify of the deletion status using serviceOrderDeleteEvent?
------------------------------
Reshmi G C
Cisco Systems
------------------------------
Original Message:
Sent: Oct 10, 2022 00:58
From: Ashish Agrawal
Subject: Delete Service ORder - TMF 641
Logically if service is provisioned in network and order is open, delete service call should do following:
1. delete the network inventory and
2. either cancel the order or close the order (depending on how billing works)
------------------------------
Ashish Agrawal
IBM Corporation
Original Message:
Sent: Oct 06, 2022 22:07
From: Reshmi G C
Subject: Delete Service ORder - TMF 641
How is Delete service order supposed to be implemented?
Does it work only on Completed Service Order or In Progress orders also?
When on In Progress orders, would it be possible to delete the service order?
When on Completed orders, do we need to remove Service from Service Inventory/Network or just deleting service order instance ?
I assume that the state transitions will be similar to service order/service order item transitions.
------------------------------
Reshmi G C
Cisco Systems
------------------------------