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

Sends generated request-files link to specified user. Check "data" example below.

Parameters 

 

Name TypeDescription

id

required

string

specified user/contact id

data

optional

object

metadata for request-files page

cb

optional

functioncallback function


 

Example

 

this.sendRequest = function (id, data, cb) {
  return _request({
    method : 'POST',
    url : '/contact/send_request/'+id,
    data: data,
    callback : cb
  });
};



Example Result

{
 message: "some message"
}

 

 

  • No labels
Write a comment…