11 Replies Latest reply on Jul 2, 2013 9:06 PM by 13952

    Where can I find ActivityTypes field definitions?

      Hi... I need to find out the field definitions for the attributes of every ActivityType... I found this document that shows an example of the field definitions for 6 of the 57 ActivityTypes that the WSDL 2.0 version includes

      http://integratingthecloud.com/marketo-api-activity-xml-structure-samples/#comment-891

      What I need is to know is what are the fields in the <activityAttributes> for each activityType... 

      Is there any documentation on this?

      Thanks
        • Re: Where can I find ActivityTypes field definitions?
          There is no documentation of those other activity types that I am aware of.  You can use SOAP UI to test/view the responses of the other activity types.
          • Re: Where can I find ActivityTypes field definitions?
            SOAP UI? Where is that?

            I mean... is there a UI where I can make "test requests" to the API and see the responses with their XML structure? Or you mean something else with "SOAP UI"?

            thanks
            • Re: Where can I find ActivityTypes field definitions?
              Sorry to bother, but I need an answer for this... You mean there is a url, page or tool that will allow me to throw requests to each activity type and get the attributes for those?

              Thanks
              • Re: Where can I find ActivityTypes field definitions?
                Sorry about the confusion... SOAP UI is a tool (available at soapui.org) to make SOAP API requests.  It allows you to set up a new Project and set the WSDL URL which then creates a "framework" of SOAP API Calls based on the WSDL.  It is very useful for testing.

                0EM50000000QbTi


                • Re: Where can I find ActivityTypes field definitions?
                  Thanks Angelo! That is a useful piece of information...
                  Now, one last question (I promise ;) )... Does this tool work on actual information loaded in my Maketo account? I mean, do I need to have all activityTypes existing in my account in order for this to retrieve information for those types? 

                  Thanks!
                  • Re: Where can I find ActivityTypes field definitions?
                    No problem at all on the questions...the community is here to help you and any others who will have similar questions.

                    Yes, you would need to have the activities of interest created in your account so that you can see how they come through as part of the response xml.
                    • Re: Where can I find ActivityTypes field definitions?
                      Thanks for your help Angelo... 

                      I have a couple more questions then ;)

                      1. Will I always get all activityAttributes fields for a given activity, even if a field has a null value? or better asked, Will the request always bring all fields in the response, even if some are null?

                      2. I am new to Marketo, and I am developing a solution for a customer who will connecto to Marketo from his web service. I don't have too much time available to try to create all types of activities in order to get their field structures... Is there any chance I could connect to, say, a test account, that will contain enough test data loaded to get all available activityTypes and their activityAttributes fields? That would save me a lot of time... 

                      Thanks again!
                      • Re: Where can I find ActivityTypes field definitions?
                        1) Yes, they should all come back regardless if there are values or not.

                        2) There is no such account we can provide you access with but I would argue (pose the question to your customer) that you do not need to get the formats for all activity types as a lot of the activity types are not really of use and can result in large volume of unnecessary bandwidth/data (i.e. change data value).

                        I would request from your customer the specific Activity Types that they are interested in and just focus on those.  Typically, the types that are "interesting" and of use are the ones listed in the link you referenced above.

                        • Re: Where can I find ActivityTypes field definitions?
                          Thanks again Angelo...

                          Regarding point 2... Is it possible that some of the activity types have to do with internal processes not accesible to the user? I have been able to "map" some activityTypes from the UI (like creating an "Interesting Moment" for example), but some I can't see where they would come from... that's why I wonder if there are some activities that won't have to do with specific actions carried out by the user on the lead

                          And on the other hand, the point is that our client is offering a service to end-users, so he wants to cover as many activityTypes as possible... Could you provide, if there is one, a list of activityTypes that I should really NOT try to look into (the ones you mentioned that are no really of use)?

                          Thanks a gazillion...
                          • Re: Where can I find ActivityTypes field definitions?
                            List of "Interesting" Activities customers may want to capture:
                            VisitWebpage
                            ClickLink
                            ClickEmail
                            FillOutForm
                            InterestingMoment

                            List of "Arguably Interesting" Activities but these may result in high volume:
                            SendEmail
                            OpenEmail

                            I have not seen use cases where any of the other types are of interest but in the end is up to your client's value proposition/use case.