I am trying to find how to locate the 15-digit Salesforce ID of a given custom object. I need this to dynamically create a record type selection link:
For standard objects its fine to simply enter the object name in the 'ent' parameter, but for custom objects it requires the Salesforce ID (which is the one you find if you look at the URL when editing that particular object. I understand getKeyPrefix() within the DescribeResult gives you the first three digits but there does not seem to be a way of getting the entire 15-digit ID.
Hope someone can help me out.
When requesting an access token from https://login.salesforce.com/services/oauth2/token, I get the response:
unknown error, please retry your request
I seem to be making a well-formatted request with proper credentials, but I get this mysterious error. Has anybody seen this and can anybody help?