REST API clarifications needed

Hi Jason,

When testing with the “training” Epicor database, we find that /PartRevs actually returns something.

The problem is that in our Pilot and Dev environments, /PartRevs is returning an empty json object.

Would you, or someone else, happen to know what we should check? Would it be “settings” related, or “data” related?

Thank you

My guess is that the data must meet specific criteria to show up since we see a subset of all our part revisions. I’m not sure what exactly those conditions are though - I’ll try to take a look if I find some spare time this week.

Well, I think by default the REST API only returns the top 100 if you don’t specify another value for “$top”.

Thanks for your time and help. If you find anything interesting, I’ll forward the info to the DBA.

Cheers

Mark,

Could you explain a little more in detail. I have never used a BAQSvc before.

There are good examples in the REST Technical Reference Guides:

Epicor REST Services v.1
Epicor REST Services v.2

image

Got it… Thanks.

A post was split to a new topic: Rest Api Help