describeMObject

This function returns the metadata for Standard and Virtual MObjects. It takes in the Marketo object as input and returns the field attributes that are associated to that object.

Request

Field Name

Required/Optional

Description

objectName Required The name of the MObject you wish to get meta data for. objectName can be one of:

  • ActivityRecord
  • LeadRecord
  • Opportunity
  • OpportunityPersonRole

Request XML

Response XML

Sample Code – PHP

Sample Code – Java

Sample Code – Ruby