i added a oauth password client . i use one employ account to get access_token , then i pass access_token to get accounts collections , but i got the all accounts of system.
expect: get the employee’s accounts
i added a oauth password client . i use one employ account to get access_token , then i pass access_token to get accounts collections , but i got the all accounts of system.
expect: get the employee’s accounts
Hi,
You can use the filters like this
{{suitecrm71.url}}/V8/module/Accounts?fields[Accounts]=name,account_type&filter[account_type][eq]=Customer
Please see the complete guide and check FILTER portion
https://docs.suitecrm.com/developer/api/version-8/json-api/#_filter
Hi, but i found the account_type in database is empty string , and i expect filter the assign to login user . Thanks , Could you help me ?
Hi,
You can then try by created_by_id…