How to properly invoke a third-party URL in the Data Source "Server" field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2025 05:15 AM
We are trying to fetching the Data with a third-party system using a REST Data Source in ServiceNow. When we provide a partial URL in the Server field, the integration fetches data, but the response is incorrect due to missing parameters.
However, when we try to use the full URL (which includes specific keywords and query parameters), the request fails—possibly due to restrictions in how the Server field parses or handles special characters.
We’ve already set up everything else in the integration, so the only remaining issue is getting the full URL to work in the Server field.
Is there any workaround or best practice to ensure that a full third-party URL (with query parameters) can be invoked from a REST Data Source in ServiceNow?
URL: https://xxxxxx.sap.com/sap/xxx/xxxx/zz_yyyyy_xxxxx.svc/ABCDUOI06_Q009QueryResults?$filter=(DACATEGORY eq 'RPD') and (DRDC_STATUS_D eq '2')
https://xxxxxx.sap.com/sap/xxx/xxxx/zz_yyyyy_xxxxx.svc/ABCDUOI06_Q009QueryResults? - Upto this URL it's working fine, only Data is incorrect.
https://xxxxxx.sap.com/sap/xxx/xxxx/zz_yyyyy_xxxxx.svc/ABCDUOI06_Q009QueryResults?$filter=(DACATEGORY eq 'RPD') and (DRDC_STATUS_D eq '2') - But when we're using the full URL we're getting error.