Hi All,
We recently deployed SuiteCRM 7.10.4 and it works just fine! But now we have a new requirement, we need to use API request to interact with SuiteCRM.
First of all, I am following this
https://docs.suitecrm.com/developer/api/version-8/configure-authentication/
I realized that there are a few typos
$url = ‘https://path-to-instance/api/oauth/access_token’; --> 'https://path-to-instance/Api/Oauth2/access_token
curl_setopt($ch, CURLOPT_URL, url); --> curl_setopt($ch, CURLOPT_URL, $url);
***if you type tree in lib folder under suitecrm folder on your server you will get this:
.
|-- API
| |-- JsonApi
| | -- v1 | | |-- Enumerator | | |-- Filters | | | |-- Interfaces | | | |-- Interpreters | | | | |-- ByIdFilters | | | |
– ByPreMadeFilters
| | | |-- Operators
| | | | |-- Comparators
| | | | -- Strings | | | |-- Parsers | | |
– Validators
| | |-- Interfaces
| | |-- Repositories
| | -- Resource | |-- OAuth2 | | |-- Entities | | |-- Exception | | |-- Middleware | |
– Repositories
| |-- core
| |-- public
| -- v8 | |-- Controller | |-- Exception | |-- Library | |-- callable | |-- container |
– route
|-- Enumerator
|-- Exception
`-- Utility
Can someone follow up?
Also, I was wondering can we use all/some of SugarCRM APIs to do CRUD operations with SuiteCRM?
Finally, When I try to use “get_entry” method in postman (I am using Accounts for module name, I have also tried Account_Accounts), I am getting:
{
“name”: “Module Does Not Exist”,
“number”: 20,
“description”: “This module is not available on this server”
}
I will appreciate it if someone can assist us with these questions (Sorry for asking multiple question under same topic as i found them all somehow related to each other )