This page list downs all the server side resources that can be used to get or send Vtiger data.
For example
- If you want to create Contacts record.
- If you want to update a record.
- If you want to get related Quotes for a Deals record and more.
/records
GET /records - returns vtiger records.
Parameters
Name | Type | Description |
---|---|---|
module* | String | name of the module |
id | Integer | id of the record |
filterid | Integer | id of the filter, if filterid and id is not provided then default user filter is taken and filter records will be returned |
page | Integer | page number when filterid is used |
pagelimit | Integer | number of records in the filter to be returned |
sortfield | String | name of the field |
sortorder | String | ASC or DESC |
fields | String | field names separated by commas |
Example :
VTAP.Api.Get('records', {module:'Contacts', 'id':'122'}, (error, response) => {
});
VTAP.Api.Get('records', {module:'Contacts', 'filterid':'1', 'page':2, 'fields':'firstname,lastname,email'}, (error, response) => {
});