Indeed, it could be awesome to have a PostMan public collection !
Here is the best example i have seen... it's Klaviyo API
They maintain each API versioning.. with suitable examples.. that's amazing
Announcement
Collapse
No announcement yet.
Postman collection/ API
Collapse
X
-
This is propper way to fetch records, through offset param. Thanks to that requests can have big impact on performance. I don't know is there a way to skip pagination by any param in url. You could create controller which would generate array with all records, but i don't think it's a good idea.
- Likes 1
Leave a comment:
-
I have read this article but I didn't get it, pal.
Can you explain a bit?
I need all data in one array but it has given only 200 records.
How to set pagination properly.
This is my API:
{{url}}/Opportunity?select=serviceType%2CassignedUserId%2C assignedUserName%2CisActive&offset=0
Leave a comment:
-
Probably you have to read more about pagination.
Leave a comment:
-
-
Not sure as this is out of my league but doing a search on api/v1 on the code give you these path/file/config - https://github.com/espocrm/espocrm/search?q=api%2Fv1
You can probably (I assume you know coding otherwise this going to be a learning experience) add addition api URL, or just change it totally (this will most likely break your system if you are not careful)
Other keyword you want to search for is "entrypoint" - https://github.com/espocrm/espocrm/search?q=entrypoint
Perhaps reading through some of the guide/tutorial to see how EspoCRM is design by telecastg might be the way to go and look at documentation.
If you don't have programming skill, I don't think you can get very far without investment in time and professional/education guidance.
Leave a comment:
-
Here you have a documenation: https://docs.espocrm.com/development...nd/controller/
Leave a comment:
-
I mean,
ex: http://test.com/espocrm/api/v1/Team_...ole_and_custom
Imagine there's no entity called 'Team_with_role_and_custom' but I need to get or post data using this URL
how to write route and where should I write route and where should I write my function
-
Hey Dear,
Thank all helping me Now all predefined API are found.
How can I write a custom API in CRM?
I mean write route, function, and all things about writing my own function in CRM
Looking for help
Leave a comment:
-
Shamila Chathuranga
Here you have propper endpoint. Just replace domain and id with your team id. That's it.
- Likes 2
Leave a comment:
-
Dear @espocrm
I have set up a postman.
I have tried different entity names all works well.
using "/api/v1/User" I can get all users but I need to get some users who have a specific team.
How to do it using API.
Thank you
Looking for help
-
Thank you Vadym
I have already read this article and I have set up a postman also.
Leave a comment: