Encoding The '&' Special Character Into API Calls To Retrieve Information

How to retrieve information from Orchestrator via API if the folder name (or something similar) contains the '&' special character in the name?

Issue Description:

When performing an API call to retrieve the information for a certain folder in Orchestrator, if the folder name contains the & character, the API call will fail with the error "Invalid OData query options" with error code 1000. To achieve this, encode the character in the API call as well.

Root Cause: The special character & is not being encoded or decoded correctly.

Resolution:

  • Replace the '&' character with '%2526'