How can I get all opportunities via the REST API? | Community
Skip to main content
Level 1
July 11, 2016
Question

How can I get all opportunities via the REST API?

  • July 11, 2016
  • 1 reply
  • 1667 views

How can I get all opportunities (unconditionally) via the REST API? I've tried this endpoint, but it errors if I don't pass in filterTypes and filterValues (though docs say the latter is optional). That said, based on docs, the getMObjects() SOAP API method​ doesn't seem to have this restriction.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Grégoire_Miche2
Level 10
July 11, 2016

Hi Ilya,

I think the doc is wrong in fact. If flitertype is mandatory, you have to pass some values to the filter as well.

-Greg