How to modify Program's attribute via SyncMObjects ? | Community
Skip to main content
January 20, 2014
Question

How to modify Program's attribute via SyncMObjects ?

  • January 20, 2014
  • 3 replies
  • 1067 views
Hi,
I am going to change the Program's name via the SyncMObject operation.

I used these parameters to invoke the operation. please check below.

<ns0:paramsSyncMObjects xmlns:ns0 = "http://www.marketo.com/mktows/">
<mObjectList>
<mObject>
<type>Program</type>
<id>1006</id>
<attribList>
<attrib>
<name>Name</name>
<value>Free</value>
</attrib>
</attribList>
<typeAttribList/>
</mObject>
</mObjectList>
<operation>UPDATE</operation>
</ns0:paramsSyncMObjects>

But Always i can get the invalid attributes issue. The response is below.

<result>
<mObjStatusList>
<mObjStatus>
<id>1006</id>
<status>UNCHANGED</status>
<error>Invalid attributes</error>
</mObjStatus>
</mObjStatusList>
</result>

Is there some one can help me to show me a way to change the program's name ?

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

3 replies

January 20, 2014
Eric,
http://developers.marketo.com/documentation/soap/sync-mobjects/ has details.  Currently, the only attribute you can change is the cost period.  
February 26, 2014
Hi Raj Rajamani,

Could you tell me if this cost period aslo be supported by Opportunity and OpportunityPersonRole?
For now we are always failed when trying to do syncMObject with Opportunity and OpportunityPersonRole type.
Could you tell me how can we send the request  with the correct parameter?

Thanks in advance.
February 26, 2014
Eric,
Please check out the documentation by Angelo (an ex-Marketo consultant) on how to sync objects with Oppty and OpptyPersonRole info here - integratingthecloud.com/opportunity-marketo-api/