Skip to content

ApiCallsLimit and ApiCallsUsed returns 0 #43

Description

@charleyau

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions