Hi guys,
I am working on an integration with BC and I am trying to make use for the endpoints functionality.
The first question I have is related to using the endpoints in the template (or back-end code) logic.
For example, If I want to make a request to an endpoint and avoid redefining the authentication and URL of the endpoint, maybe I can access it directly by an ID or a Name. This would make things pretty easy to work with especially when having multiple environments.
The second question is filtering.
I understand that I can filter using a query string $filter and that is fine. I am wondering if I can do something like this:
get {{url}}/companies({{company}})/events('SOMEFILTERVALUE')/sponsors
or even something like this:
get {{url}}/companies({{company}})/events/sponsors(SOMEGUID)
Where SOMEFILTERVALUE and SOMEGUID would be dynamic values.
Thank you,
Adrian