add_contact

(CATS API 2.0)

Adds a contact record.


[ List of API Functions ] [ CATS Developer Forum ] [ Frequently Asked Questions ]

Base URL
https://[subdomain].catsone.com/api/add_contact?transaction_code=[code]
[subdomain]: This is the company ID that you created when you signed-up. It will appear on the upper left when logged into CATS.
[transaction_code]: Create and manage transaction codes from within CATS by logging in and clicking on the "Settings" tab, then "User Management" (in the blue bar).
Parameters
Note that parameters can be transmitted through the GET or POST specifications in accordance with HTTP 1.1.

Example using GET: [Base URL]?[parameter]=[value]

Required Parameter Description Type Size
YES first_name   string 64
YES last_name   string 64
  title   string 128
  email1   string 128
  email2   string 128
  phone_work   string 40
  phone_cell   string 40
  phone_other   string 40
  address   memo  
  city   string 64
  state   string 64
  zip   string 16
  is_hot   boolean  
  notes   memo  
  entered_by   user  
  owner   user  
  date_created   date  
  date_modified   date  
  left_company   boolean  
  company   company  
  department   department  
  reports_to   contact  
  on_duplicate ignore - Returns a standard response with the id of the existing record
update - If record already exists, the action is converted to update the existing record
error - If record already exists, throws an error with duplicate record as the message
string  
Example Form
subdomain
transaction_code
first_name
 
last_name
 
title
 
email1
 
email2
 
phone_work
 
phone_cell
 
phone_other
 
address
 
city
 
state
 
zip
 
is_hot
 
notes
 
entered_by
 
owner
 
date_created
 
date_modified
 
left_company
 
company
 
department
 
reports_to
 
on_duplicate

ignore - Returns a standard response with the id of the existing record
update - If record already exists, the action is converted to update the existing record
error - If record already exists, throws an error with duplicate record as the message

Copyright ©2010 CATS Software, Inc. All rights reserved.