3 Replies Latest reply on Feb 25, 2014 4:36 PM by 22662

    How to modify Program's attribute via SyncMObjects ?

      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 ?