function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ghgh 

Some fields not available in API

I've noticed that "Email Opt Out" and "Do Not Call" fields for both Contacts and Leads is not available through the API. Am I missing something? I need to acccess these fields. Thanks.
BasilBasil

Check your WSDL file, I believe that all the classes and its fields should be specified in this file.

Please confirm by sending me an email, thanks.

DevAngelDevAngel

Hi gh,

The user needs to be configured as a marketing user to those particular fields.