Overview

Imports a person record from a vcard.

Request Arguments

Name Type Description Required
format String The data format. Currently accepts 'sugar-html-json'. True
module String The name of the module to import the vcard to. True
file String The vcard contents. True

Request

{
   "format":"sugar-html-json",
   "module":"Contacts"
   "file":"@\/path\/to\/ExampleContact.vcf"
}

Response Arguments

Name Type Description
file String The id of the imported vcard.

Response

{
   "file":"2c9e5c09-6824-0d14-f5cb-5130321ac3cf"
}

Change Log

Version Change
v10 Added /<module>/file/vcard_import POST endpoint.