We are downloading the Swagger file but only the Id is visible in the JSON schema under the lead object. The rest of the fields are not present in the API definition file. Can anyone suggest how to get access to other fields?
Solved! Go to Solution.
Every instance’s fields are different, and they aren’t compiled dynamically into the Swagger. You get the fields using the Describe Lead endpoint.