I am trying to query SharePoint list using Nintex workflow Web API. It is working fine for all the lists except & in the list title.
Tried below , nothing worked .
Please suggest ...
I suggest googling, ex.: https://sharepoint.stackexchange.com/questions/164673/sharepoint-rest-api-getbytitle-with-ampersand-in-title or https://sharepoint.stackexchange.com/questions/167125/issue-with-symbol-in-rest-api. Have you tried the suggestions from the Google search results?
Hi Tomasz ,
Thank you for your response .
Yes I tried both of them . Nothing worked for me ..
So I submitted my question here ..
I found that one as well. Haven' tried myself, but Microsoft community claims it works:
I mean - I know you have already tried with %26, but maybe there is something else in your REST call you are missing? Maybe the ampersand is not the reason? What errors do you get? What is your query string, that you use for calls? Can you share it?
I created a new List named ABC Company (With out & ) it worked fine without any issues .
The only issue is coming up with & . So Need a solution .
Hi raghava t
/_api/lists/getbytitle('"+encodeURI('AB & C Company')+"')
Hope this helps
rest api getbytitle url encode special characters nintex rest api api
try to replace the & with %26
Hi raghava t - have you managed to make it work?
After I tried all the options and nothing worked out for me .
I created a new list without having & (ampersand) .
I wonder why none from the suggested replacements worked... Maybe there is a bug in Nintex parsing the query... Dunno
I'm glad you worked it out. Can you mark any from the above answers as correct (or yours), or in case not - I will just mark the post as "assumed answered".
Retrieving data ...