Im new to Salesforce and trying to create my first object via the api. I can successfully query for an Incident but when i try to add an Action on to that query, i get a number of invalid field errors etc.
BMCServiceDesk__IncidentHistory__c action = new BMCServiceDesk__IncidentHistory__c()
{
BMCServiceDesk__FKIncident__r = incidentReference,
BMCServiceDesk__description__c = "Internal Note (Not visible in self service)",
BMCServiceDesk__note__c = "Some note..."
//BMCServiceDesk__actionId__c = "00011057_6"
};
The problem I have is although the actionId is of type string, trying to enter some text or any id in there results in an Invalid Field exception. My question is: Is there any code examples of how to do this or is there any way to get a mandatory field list and what values are expected?
Thanks, Chris