Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Creates contact. Check "data" in example bellow.

Parameters 

Name TypeDescription

data

object

dictionary with contact data

cb

function

callback function


Example

this.createContact = function(data, cb){
  return _request({
    method: 'POST',
    url: '/contact/create',
    data: data,
    callback: cb
  });
};

 

Example Result

{
email: 'hello@world.net',
name : 'mr. Smith'
}

 

 

  • No labels
Quatrix JavaSctipt APIs QJA