> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ActivityTypeArg Subobject

A "master class" for activity subclasses. While WSDL does not appear to allow for the definition of literal subclasses, this provides similar results. `methodLink=report` takes an argument of this class. Simply fill only the field necessary for the type of activity being recorded. Note that some activities may not require additional information. For example, if submitting a `uriView`, set `uriviewArgs` to a previously filled `ActivityURIView`.

| Data Members | Data Type | Description |
| - | - | - |
| `cancellationArgs` | ActivityCancellation | The customer’s cancellation of a service or product. See the [ActivityCancellation Subobject](ActivityCancellation_Sub). |
| `emailArgs` | ActivityEmailContact | An email event. See the [ActivityEmailContact Subobject](ActivityEmailContact_Sub). |
| `fulfillmentArgs` | ActivityFulfillment | The status of your fulfillment of a customer order. See the [ActivityFulfillment Subobject](ActivityFulfillment_Subo). |
| `loginArgs` | ActivityLogin | The IP address from which a login originated. See the [ActivityLogin Subobject](ActivityLogin_Subobject). |
| `logoutArgs` | ActivityLogout | The IP address from which a logout originated. See the [ActivityLogout Subobject](ActivityLogout_Subobject). |
| `namedValueArgs` | ActivityNamedValue | An activity defined by you. With this data structure, you create Activity objects that are unique to your business, and that are not described by the predefined `Activity` events in `ActivityTypeArg`. Creating such an activity implies that it will likely occur regularly with your customers. See the [ActivityNamedValue Subobject](ActivityNamedValue_Subob). |
| `noteArgs` | ActivityNote | An optional memo on the `Activity` object. See the [ActivityNote Subobject](ActivityNote_Subobject). |
| `phoneArgs` | ActivityPhoneContact | A phone contact that relates to the `Activity` object. See the [ActivityPhoneContact Subobject](ActivityPhoneContact_Sub). |
| `uriviewArgs` | ActivityURIView | A customer’s visit to a Web page, and possible download activity. See the [ActivityURIView Subobject](ActivityURIView_Subobjec). |
| `usageArgs` | ActivityUsage | The amount of use of a resource (such as the number of downloads) you provide to the customer. See the [ActivityUsage Subobject](ActivityUsage_Subobject). |
| When constructing an `Activity` object, fill in the `ActivityTypeArg` object with a subobject, as appropriate, for `activityType`. For example: | | |

* If `activityType` is `phone`, create an `ActivityTypeArg` object and fill `phoneArgs` with data in the form of an `ActivityPhoneContact` data structure.
* If `activityType` is email, create an `ActivityTypeArg` object and fill `emailArgs` with data in the form of an `ActivityEmailContact` data structure.

**Parent topic:**[Activity Subobjects](../topics/Activity_Subobjects)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.