REST Api for Get Landing Page by ID does not return "Approved with Draft"

svogel
Level 1

REST Api for Get Landing Page by ID does not return "Approved with Draft"

We are seeing that in the Marketo UI, the status for a landing page is "Approved with draft"

But...when we fetch the details of that landing page by ID , we see that the the status is "Approved".  It seems that a new page that has never been approved returns a status of "Draft",  but once you approve the page, you only get back a status of "Approved" even if it has a Draft.  

This kind of limits the usefulness of the API, since our goal is to find all pages that are in Draft, whether they have ever been approved or not.

Tags (4)
1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: REST Api for Get Landing Page by ID does not return "Approved with Draft"

You added the status filter?