0

I am using workbench get service to get enhanced notes child records for a given account. Even though enhanced note data is present for that record, I am not getting any data back from the service

This is the url I am using - /services/data/v47.0/sobjects/Account/0010k00000yMQx5/Notes. See the response below

Child relationship query on notes

But same query works fine when queried on contacts relationship field. See the response below for this query - /services/data/v47.0/sobjects/Account/0010k00000yMQx5/contacts.

enter image description here

I have tried checking the correct relationship field name via this url - /services/data/v47.0/sobjects/Account/describe and the field name is found correct only

What I am missing here?

  • 2
    Note is the old-style Notes object. You need to get ContentDocumentLink and ContentNote records to get Enhanced Notes. – Thomas Taylor Apr 10 at 18:48
  • @ThomasTaylor You're probably right... this should be an answer. – sfdcfox Apr 10 at 21:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.