Journal Action REST API - Error when Journal Label contains spaces
Summary:
Error performing journal actions via REST API to journals with labels containing spaces
Content (please ensure you mask any confidential information):
I've created a Groovy script utilizing the following journal action REST API to mass purge consolidation journals in old years we're looking to remove:
https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/prest/fccs_perform_journal_actions.html
The script works until it encounters any journals that have a label containing spaces. See the below error for journal "VAREC FY19 PE04" that's causing me trouble.
I've tried a few things including removing the spaces, replacing the spaces with a "-" and a "_" but no dice. Anyone have any idea what the URL format should be for these types of labels?