marshmallow-packages / zoho-desk

Laravel Zoho Desk connector
MIT License
0 stars 0 forks source link

Can't use package to get All help center APIs #22

Closed fecosta90 closed 2 years ago

fecosta90 commented 3 years ago

When Helpdesk Team uses Knowledge Base as a portal, the endpoint to get articles, categories, etc is different.

Examples: GET /portal/api/kbArticles GET /portal/api/kbArticles/{articles_id}

Ref: https://desk.zoho.eu/portal/APIDocument.do#KnowledgeBase

We need to check what endpoint we're using before do GET/POST/PATCH. I'll submit and example, hope it helps.

Thank you

stefvanesch commented 3 years ago

@fecostadesousa thanks man! We will look in to this later today and merge your pull request.

stefvanesch commented 2 years ago

The portal api is implementend. Thanks @fecostadesousa for your pull request. We fixed it a little different. You can call a portal method on the ZohoDesk Facade to "activate" the portal api.

ZohoDesk::portal()->get('kbArticles/{articles_id});