'How to find the record_Id((module-type-id and module-record-id) separated by (x)) for REST API in vTiger CRM
So I want to use REST API for vTiger CRM. In that particular, I need to use the retrieve API to get the data of the deal. So I need to mention the record_id, and then I can't find the record_id. In the documentation, it is written that the record id combination of both (module-type-id and module-record-id) is separated by (x). But also I can't find the module-type-id and module-record-id. Can someone please help me?
The link that we are using for vTiger Rest api is: https://help.vtiger.com/article/147111249-Rest-API-Manual
So in this link, in order to fetch the data, we need to get the record id. And we are unable to find the record id. Can someone help me in finding the record id?
Solution 1:[1]
You can use the "describe" operation to get that sort of information:
GET /webservice.php?operation=describe&sessionName=sessionId&elementType=<TYPE> HTTP/1.1
Where elementType
is the name of the module you want to retrieve information from. It could be Contacts
, Accounts
, etc. If you want to know the name of a particular module just navigate to that module in Vtiger and take a look at the url. There is a query parameter called module
.
See here for more information: https://code.vtiger.com/vtiger/vtigercrm-manual/wikis/Webservice-Docs
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ruben Estrada |