Oracle REST API in groovy script giving 404 error
Summary:
When trying to call a REST API (POST, PATCH) call in groovy script, It is giving error on save action in subscription UI.
error :
" Exception in expression "oracle.apps.subscriptions.subscriptionManagement.model.entity.SubscriptionsEO" trigger "Update_PO_and_Paymentterm" : oracle.binding.expr.ServiceInvocationException Unexpected exception caught: oracle.adf.model.connection.rest.exception.RestConnectionException, msg=JBO-57001: Invocation of service URL used in connection failed with status code 404 Not Found.at "oracle.apps.subscriptions.subscriptionManagement.model.entity.SubscriptionsEO" trigger "Update_PO_and_Paymentterm" line 29 "
Requirement: The requirement is to remove ONHOLD on a line using POST call , Update PO number via Patch call and then Put Line back ON HOLD using POST.