Submit a Ticket My Tickets
Welcome
Login  Sign up

[Addedit] Contact (V1) - Admin

WSDL Page:  http://<your_domain_here>/api/1/addedit.asmx?op=Contact

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

entity_type / UNSIGNEDBYTE = Entity ID [affiliate / advertiser/ buyer / list_manager] 

entity_id / INT (unsignedByte) = Entities ID [affiliate ID / advertiser ID / buyer ID / list_manager ID]

contact_id / INT (unsignedByte) = Contact ID ["0" New Contact / Contact ID Update Contact]

include_in_mass_emails / BOOL = Allow Contact to Receive System Emails? ["TRUE", "FALSE"]

contact_first_name / STRING = Contacts First Name

contact_middle_name / STRING = Contacts Middle Name

contact_last_name / STRING = Contacts Last Name

contact_email_address / STRING = Contacts Email Address

contact_password / STRING = Password to Log In

contact_title / STRING = Title of contact

contact_department_id / INT (unsignedByte) = Department Contact is From ["0" ignore field]{See get.asmx > Departments}

contact_phone_work / STRING = Contacts Work Phone Number

contact_phone_cell / STRING = Contacts Cell Phone Number

contact_phone_fax / STRING = Contacts Fax Phone Number

contact_im_service / INT = Contact IM Service ["0" = AIM, "1" = Google, "2" = MSN, "3" = Skype, "4" = Yahoo, "-1"= Ignore IM Contact Service]

contact_im_name / STRING = Contact IM Name

contact_timezone / STRING = Contact Timezone

contact_language_id / INT (unsignedByte) = Contact Language ID {See get.asmx > Languages}

 

Parameter Types:

api_key - ID

entity_type - ASSIGNABLE

entity_id - ID

contact_id - ID

include_in_mass_emails - ASSIGNABLE

contact_first_name - ASSIGNABLE

contact_middle_name - ASSIGNABLE

contact_last_name - ASSIGNABLE

contact_email_address - ASSIGNABLE

contact_password - ASSIGNABLE

contact_title - ASSIGNABLE

contact_department_id - ID

contact_phone_work - ASSIGNABLE

contact_phone_cell - ASSIGNABLE

contact_phone_fax - ASSIGNABLE

contact_im_service - ID

contact_im_name - ASSIGNABLE

contact_timezone - ASSIGNABLE

contact_language_id - ID 

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/Contact?api_key=dNJFmId9rI&entity_type=affiliate&entity_id=1&contact_id=0&include_in_mass_emails=FALSE&contact_first_name=First&contact_middle_name=Middle%20Name&contact_last_name=Last&contact_email_address=eamil@getcake.com&contact_password=h@ck3r&contact_title=QA%20Engineer&contact_department_id=0&contact_phone_work=9495482253&contact_phone_cell=9492761052&contact_phone_fax=&contact_im_service=0&contact_im_name=myAIMaccount&contact_timezone=PST&contact_language_id=1

 

Sample XML Response:

<contact_addedit_response>
<success>true</success>
<message>Contact First Last Created</message>
<contact_id>3590</contact_id>
</contact_addedit_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.