Adds a single contact to your address book.
| Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
|---|---|---|---|
| CRAddressBookAPI | $method.getServerServlet() | GET, POST | Yes. |
See topic Common Parameters.
Required. The contact's email address.
Type xsd:string.
Optional. The contact's first name.
Type xsd:string.
Optional. The contact's last name.
Type xsd:string.
See topic Common Parameters.
Required. The contact's email address.
Type xsd:string.
Optional. The contact's first name.
Type xsd:string.
Optional. The contact's last name.
Type xsd:string.
Required. The system-generated unique constituent ID of the owner of the contact record.
Type xsd:nonNegativeInteger.
See topic HTTP Status Codes.
XML response<?xml version="1.0" encoding="UTF-8"?>
<addAddressBookContactResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<addressBookContact>
<id>101</id>
<firstName>User1First</firstName>
<lastName>User1Last</lastName>
<email>user1@example.com</email>
<group>
<id>201</id>
<name>Group 1</name>
</group>
</addressBookContact>
</addAddressBookContactResponse>
JSON response
{"addAddressBookContactResponse":{"addressBookContact":{"firstName":"User1First","lastName":"User1Last","id":"101","email":"user1@example.com","group":{"name":"Group 1","id":"201"}}}}