Skip to main content
Vindicia Knowledge Center




To report one or more non-transaction activities to Vindicia, create an Activity object for each activity, insert the object into an array, and pass the array as an argument to record(). Every Activity object requires that you specify the associated Account object. For that purpose, you can create an Account object and populate it with only its VID or merchantAccountId.


srd: sparse response description, a SOAP string (which must be a JSON object), in which you specify the elements you want returned.This parameter enables the calling system to constrain a method call to return only components you specify. This gives you greater control over returned content, and improves response time within the Vindicia platform by reducing the processing needed for the call.

Some fields are required, either practically or in the WSDL, and will be returned regardless of the srd. A null srd returns the complete response.

activities: an array of Activity objects to report to Vindicia.


return: an object of type Return that indicates the success or failure of the call.


In addition to those listed in Standard Return Codes, this call returns:

Return Code

Return String


One of the following:

  • Unknown activity type input-type. Must be one of list-of-allowed-types.
  • Required field 'timestamp' missing!
  • Required field 'account' missing!


// To report a phone call as an Activity, create an account object

$account = new Account();

// Specify account by the customer id


// Create Activity to report customer's phone call
// and corresponding ActivityTypeArgs objects

$activity = new Activity();
$typeArgs = new ActivityTypeArgs();

// fill in the relevant info for this activity record

$activity->setAccount($account); //associate the activity and account

$phoneArgs = new ActivityPhoneContact();
$phoneArgs=>setNote('Customer agreed to be rebilled for services');


// associate typeArgs to the Activity object


// now record the data

$response = $activity->record(array($activity));

if($response['returnCode'] == 200) {
print "ok\n"; # 200 is HTTP status code for success


For Users

Learn More
For Users

Vindicia Subscribe Features

Learn More
Vindicia Subscribe Features
Back to Top