We have 200 error codes captured in a request attribute. In which some are considered Technical errors and some are businesses errors. We need to create custom error rules for all the technical errors (at least 100 codes) in 10 services =1000 custom error rules.
Is there any way we can use API for this or Reduce the effort by applying error detection rules for all 10 services at once?
Thats a really good question. If you can use the API you might still end up hitting a limitation where you need to provide the entity ID, but granted that would cut down the workload.
You could create a script that will capture all the Service IDs, then once captured, you could add to that script to set the detection settings as desired on the number of services you are targeting. Then Post it to the API via the script, either with Postman or a tool similar.