I am using getMObject API to retrieve Program, Opportunity and OpportunityPersonRole. As per the documentation only "type" field is required and all other are optional, but For “Opportunity” and “OpportunityPersonRole” mObject type if we don’t specify either id, mObjAssociationList or mObjCriteriaList Marketo throws error saying Parameters required.
For "Program" type it doesn't expect any other parameter. I think this is mistake in documentation. Can someone please have a look into it?