GetJobDetails question.

Hi,
when I try to get the info from all the jobs at the moment(Jobs.GetJobIds()),around 815-820,I`m getting this:

Result:

Request URL Too Long

Request URL Too Long


HTTP Error 414. The request URL is too long.

It says that the URL is too long so I split it into smaller sub lists and then I run it for each and it worked.Just want to know if theres other way of doing it within the API or I just need to always split it into smaller chunks :>.

Best wishes.

Veselin Georgiev Gyurov.

Unfortunately this is a limitation based of the max length of URLs (which is 2083 chars). Since we are using GET requests the data we are passing to the Web Service is passed in the URL. We should be able to create a GetJobDetails function that doesn’t require a list of ids, and instead returns the Job Details for all the Jobs in the farm. For now though you are stuck sending the data in batches.

Hi,
thank you for the fast replay :>.Thats absolutly fine by me :>.