Tech Blog

Delete portfolios before deleting the electronic service

When the deletion of an electronic service is required, it will be necessary to first delete all of the portfolios associated with it.

It is possible to delete portfolios one by one using the Delete Electronic Portfolio API

It is also possible to use the “Delete portfolios” manual job in order to delete all the related portfolios in a single action:

Use the following template to create a payload for the Create a Set API.
Substitute your Electronic Service PID (service) and Electronic Collection PID (iepa_pid) into the form.

  <name>Portfolios of service 624939850000121</name>
  <query>PORTFOLIO where TPS (iepa_pid OUTER_EQUAL "614939860000121" AND serviceType OUTER_EQUAL "getFullTxt")</query>

Leave a Reply