These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Can someone please comment on the examples on this site

I recently ran into an issue where my (very simple) REST code stopped working. I resorted to cutting and pasting from this site and it continued to fail with nothing but 401 errors. It wasn't until I realized there might be an error in the documentation that I got it working again. When calling the API via JavaScript, do you use the "scheduler" folder structure or the "site" folder structure? I ask because if you start at https://developer.imis.com/docs/querying-data-with-rest, the example given for "Get a list of party objects", shows as https://testapi.imis.com/sdkdemo/api/party. But if you click that link and scroll down to the documentation detail it shows as https://testapi.imis.com/Asi.Scheduler_SDKDemo/api/Party. I had switched to the scheduler URL somewhere along the line and that was the problem, once I switched back things were good.

So which is it? Should both work? Thanks.