Adding Contact History by API
Contact History can be created by simply adding extra elements to the create Account API code, either or both of an activity and comments.
Example PHP code
$f = $doc->createElement("field",”Web Submission”);
$f->setAttribute("table", "SPECIAL");
$f->setAttribute("field", "ACTIVITY");
$r->appendChild($f);
$f = $doc->createElement("field",”This account was created by a web submission”);
$f->setAttribute("table", "SPECIAL");
$f->setAttribute("field", "COMMENTS");
$r->appendChild($f);
Click here for more information on the create account API code.