getMObjects does not return Program My Tokens

Anonymous
Not applicable

getMObjects does not return Program My Tokens

Hi,
The API Documentation says that getMObjects returns following information:
For each Program, the following information is returned:
 Program ID
 Date created
Date last updated
Program name
Program description
Program type (e.g. Default or Event)
Workspace ID
Workspace name
CRM ID (if applicable)
CRM campaign name (if applicable)
Tree Path (for example: /Marketing Activities/Default/Webinars/2013/ProgramName)
Is Program Archived (true or false)
Start and end date/time (if applicable)
Total # of program members
Total # of members acquired by program
Total # of members socially acquired by program
Total # of successes
Channel
Non-channel tags types and values
Period cost info (month, amount, notes)
 MyTokens (names and values)


But for me, API returns only following information:

Name
Type
Description
Workspace Id
Workspace Name
Tree Path
Is Archived

It does not return
My Tokens ( I have one token defined at program level)
Tags
Channels
 

Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: getMObjects does not return Program My Tokens

Here is my request XML
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Header>
    <AuthenticationHeader xmlns="http://www.marketo.com/mktows/">
      <mktowsUserId xmlns="">****************************</mktowsUserId>
      <requestSignature xmlns="">***************************</requestSignature>
      <requestTimestamp xmlns="">2013-10-11T15:18:23-07:00</requestTimestamp>
      <audit xmlns="" />
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <paramsGetMObjects xmlns="http://www.marketo.com/mktows/">
      <type xmlns="">Program</type>
      <externalKey xmlns="">
        <name />
        <value />
      </externalKey>
      <mObjCriteriaList xmlns="">
        <mObjCriteria>
          <attrName>Name</attrName>
          <comparison>EQ</comparison>
          <attrValue>Test</attrValue>
        </mObjCriteria>
      </mObjCriteriaList>
      <mObjAssociationList xmlns="">
        <mObjAssociation>
          <mObjType />
          <externalKey>
            <name />
            <value />
          </externalKey>
        </mObjAssociation>
      </mObjAssociationList>
      <streamPosition xmlns="" />
    </paramsGetMObjects>
  </soap:Body>
</soap:Envelope>


Here is the Response:

<?xml version="1.0" encoding="utf-16"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.marketo.com/mktows/">
  <SOAP-ENV:Body>
    <ns1:successGetMObjects>
      <result>
        <returnCount>1</returnCount>
        <hasMore>false</hasMore>
        <newStreamPosition>8UJZetaMb1V6uUZl+......</newStreamPosition>
        <mObjectList>
          <mObject>
            <type>Program</type>
            <id>1024</id>
            <attribList>
              <attrib>
                <name>Name</name>
                <value>Test</value>
              </attrib>
              <attrib>
                <name>Description</name>
                <value>Test sends</value>
              </attrib>
              <attrib>
                <name>Type</name>
                <value>Marketing Program</value>
              </attrib>
              <attrib>
                <name>Workspace Id</name>
                <value>1</value>
              </attrib>
              <attrib>
                <name>Workspace Name</name>
                <value>Default</value>
              </attrib>
              <attrib>
                <name>Tree Path</name>
                <value>/Marketing Activities/Default/Learning/Test</value>
              </attrib>
              <attrib>
                <name>Is Archived</name>
                <value>false</value>
              </attrib>
            </attribList>
          </mObject>
        </mObjectList>
      </result>
    </ns1:successGetMObjects>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Anonymous
Not applicable

Re: getMObjects does not return Program My Tokens

Please log a support case - we'll investigate
Anonymous
Not applicable

Re: getMObjects does not return Program My Tokens

Thanks Raj.
I opened support case and got the resolution. I was using 2_0 version of API. Detailed attributes(Tags, token etc.) are supported in 2_2 version.

Thanks.