Re: How to get metadata of Program MObject

Anonymous
Not applicable

How to get metadata of Program MObject

Hi all,

When upgrading SOAP APIs from 2.0 to 2.2, I find that MObjects enum has a new member 'Program'. And when getMObjects() was called for 'Program', I got the data.
But when describeMObject() is called for 'Program', I get an exception. When listMObject() is called, I can't get 'Program' in the object list, either.
How could I use this MObject? Is the way different with that for 'Opportunity'?

Best Regards,
Biao
Tags (1)
2 REPLIES 2
Kenny_Elkington
Marketo Employee

Re: How to get metadata of Program MObject

Hey Biao,

What's the exception that you're receiving for describeMObjects?
Anonymous
Not applicable

Re: How to get metadata of Program MObject

Hi Kenny,
When calling describeMObject() for 'Program', I get a SoapException with message "Internal error".
And its Detail is :
     <ns1:serviceException xmlns:ns1="http://www.marketo.com/mktows/">
        <name>mktRuntimeException</name>
        <message>Object 'Program' is not mapped to a DB attrib map</message>
        <code>10001</code>
     </ns1:serviceException>
Is there any thing missed?

Thanks and Regards,
Biao