You need to sign in to do that
Don't have an account?

How can I get a list of field names, sizes types and lengths
Hi,
I am trying to get a list of field names, sizes types and lengths by using the url
https://eu9.salesforce.com/services/data/v37.0/sobjects/Account/describe
but I only get a lot of data like
{"activateable":false,"childRelationships":[{"cascadeDelete":false,"childSObject":"Account","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"ChildAccounts","restrictedDelete":false},
..yet no field list
What am I doing wrong? Please help
I am trying to get a list of field names, sizes types and lengths by using the url
https://eu9.salesforce.com/services/data/v37.0/sobjects/Account/describe
but I only get a lot of data like
{"activateable":false,"childRelationships":[{"cascadeDelete":false,"childSObject":"Account","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"ChildAccounts","restrictedDelete":false},
..yet no field list
What am I doing wrong? Please help
Whatever you did to fetch fields data is correct. You just need to filter out field specific data from your response. Your response must contains the fields array. Kindly search for
fields:[{...}]
In your API response.
Please mark this answer as best if this helps.
Thanks,
Aman
All Answers
Whatever you did to fetch fields data is correct. You just need to filter out field specific data from your response. Your response must contains the fields array. Kindly search for
fields:[{...}]
In your API response.
Please mark this answer as best if this helps.
Thanks,
Aman