AnsweredAssumed Answered

How to modify Program's attribute via SyncMObjects ?

Question asked by 33471 on Jan 20, 2014
Latest reply on Feb 25, 2014 by 22662
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 ?

Outcomes