CampaignId field is not accessible on lead record
|Knowledge Article Number||000205967|
|Description||On Lead detail page there is field as campaign(Lookup). When user try to access same record through API, field is not visible in workflow and apex class.|
|Resolution||User is trying to access CampaignId field from Lead object . This field is not accessible if you query a Lead object using API. User can get the details by querying CampaignMember object through API.
Below are few of the useful links: