www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources Mojo Services API palm://com.palm.contacts/crud - createContact - Creating New Contact

palm://com.palm.contacts/crud - createContact - Creating New Contact

Allows you to add a new contact entry.  Requires a Synergy Account ID.

Example usage:

this.controller.serviceRequest('palm://com.palm.contacts/crud', {
      method: 'createContact',
      parameters: {
           accountId: this.accountId,
           contact: {
               firstName: "Ken",
               lastName: "Young",
               companyName: "www.webOSHelp.net",
               nickname: "webOS Newb"
            }
       },
       onSuccess: this.successEvent.bind(this),
       onFailure: this.failureHandler.bind(this)
});