SalesforceSharp
SalesforceSharp copied to clipboard
ApiCallsLimit and ApiCallsUsed returns 0
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;