I have an integration where I need to get the agency of my endpoint. Once I have the agency this wil be used for all the rest of the callouts.
I would like some advice for the following:
- Is there a way to do the callout only once and save this as a custom setting.
- Do I need to get the agency before every put callout.
- Do I do a 1 time query for the current agency id and save the external ID in a custom setting?