Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creates contact. Check "data" in example bellow.

Parameters 

 

Name TypeDescription

data

required

object

dictionary with contact data

cb

optional

function

callback function


Example

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

 

Example Result

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

 

 

Quatrix JavaSctipt APIs QJA