Monday, February 29, 2016

Develop: Considerations and Debugging options when implementing API based integrations.....

Salesforce allows you to integrate using a variety of options. One such way is thru API's: native as well as Custom API's can be leveraged for integrating two systems.

Considerations

For a 1000 license organization, you have a limit of making 1000 x 1000 calls in a 24 hrs period.
This should be one of your design considerations before selecting this method of integration amongst other things.

Note: you can always purchase additional API's.

Now, you implement an API based integration and things start to fail in UAT or Production.

Debugging 
There are some options to debug:

a) Go to Company Profile and note the API Usage last 24 hrs: Salesforce itself uses API's internally which counts against this limit.

b) To find details of which User is consuming these API's head to Reports; Salesforce provides a canned report called API Usage last 7 days in the Admin reports folder. This will give you a certain amount of granularity over option a).

If option b) does not help you then you can request a report from Salesforce on API usage which tells you exactly which transaction ID caused repeated calls to be initiated from external systems.

Happy Debugging !!!

No comments:

Post a Comment