Where can I find ActivityTypes field definitions? | Community
Skip to main content
June 27, 2013
Solved

Where can I find ActivityTypes field definitions?

  • June 27, 2013
  • 11 replies
  • 2704 views
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

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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
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.

11 replies

June 27, 2013
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.
June 27, 2013
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
June 28, 2013
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
June 28, 2013
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.




July 1, 2013
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!
July 1, 2013
---
July 1, 2013
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.
July 1, 2013
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!
Accepted solution
July 1, 2013
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.

July 2, 2013
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...