Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiCallsLimit and ApiCallsUsed returns 0 #43

Open
charleyau opened this issue Jul 29, 2021 · 0 comments
Open

ApiCallsLimit and ApiCallsUsed returns 0 #43

charleyau opened this issue Jul 29, 2021 · 0 comments

Comments

@charleyau
Copy link

charleyau commented Jul 29, 2021

Salesforcesharp version is: 1.1.0
HelperSharp version 0.0.4.1
Newtonsoft.Json version 6.0.6
RestSharp version 105.0.1

I have used the following code, verified it connects and queries the Account object successfully, however when I attempt to use the ApiCallsLimit and ApiCallsUsed I am always getting 0. I have verified in SalesForce that I had made at the time 21 calls for the day.

Code I'm using
client.Authenticate(authFlow);
int numlimit = client.ApiCallsLimit;
int numcalls = client.ApiCallsUsed;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant