You need to sign in to do that
Don't have an account?
mountaindewx
Discovering API Limits via REST
The REST API documentation references a /limits endpoint (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/resources_limits.htm) to discover the limits for the authorized organization. However, the docs say that it is still in PILOT mode and only available for developers.
The "Status Codes and Error Responses" section (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/errorcodes.htm) of the documentation makes no reference to a LIMITS error code.
1) Is the /limits endpoint still in pilot mode? If so, how else can I programmatically discover the API limits for the authorized organization?
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
The "Status Codes and Error Responses" section (http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/errorcodes.htm) of the documentation makes no reference to a LIMITS error code.
1) Is the /limits endpoint still in pilot mode? If so, how else can I programmatically discover the API limits for the authorized organization?
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
Thank you for the reply. Can you offer any solutions to the other questions about what I can do to discover and handle limits until this endpoint is out of pilot mode?
1) Since the /limits endpoint is in pilot mode, how else can I programmatically discover the API limits for the authorized organization?
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
1) Since the /limits endpoint is in pilot mode, how else can I programmatically discover the API limits for the authorized organization?
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
1) Since the /limits endpoint is in pilot mode, how else can I programmatically discover the API limits for the authorized organization?
2) What status code and errorCode (i.e. LIMIT_HIT) can I watch for in my code to stop pinging Salesforce? How can I get the expiration as well so I know when I can start pinging Salesforce again?
Generally from Switzerland, implying that you'll have to datejust (https://drwatch.to/) discharge a Swiss ledger to get one of the watches