Hi
Quick question rest api v8 is working fine for get module list,create,Update etc.
got access token without any issue, but i need sample/URL for reaming CRUD operations Using API.
If i use this sample URL from suite docs {{your-SuiteCRM-url}}/Api/V8/module/Accounts/11a71596-83e7-624d-c792-5ab9006dd493?fields[Accounts]=name,account_type
i got below error
{“errors”:[{“code”:8000,“title”:"[SuiteCRM] [API] [Not Found] [Resource]",“detail”:{},“source”:{“pointer”:null,“parameter”:null},“status”:404},{“id”:“1”,“links”:{“about”:null},“status”:404,“code”:8000,“title”:“JSON API Error”,“detail”:“Api Version: 8”,“source”:{“pointer”:null,“parameter”:null},“meta”:{“about”:“Exception”,“class”:“SuiteCRM\API\v8\Exception\NotFoundException”,“code”:8000,“langMessage”:null}}],“meta”:{“suiteapi”:{“major”:8,“minor”:0,“patch”:0,“stability”:“ALPHA”}},“jsonapi”:{“version”:“1.0”}}
I could generate token after local system upgrade to 7.11.10…
Followed same steps as in the developer guide.
In postman couple of things i thought will help people who are new to OAuth2:
Post everything in body, (i was using headers which is wrong)
grant_type:client_credentials
client_id:9c6xxxxxx752f-2axxxxxxe-5dcf913798ef
client_secret:somesecret
scope: (leave blank)