I am looking at Object Reference for Event and Task sObjects and seeing that both have
Subject. I wanted to use
Type as one of meeting, call, email and
Subject as event/task title. But, if I try doing that via API, I get response that:
<createResponse> <result> <errors> <fields>Type</fields> <message>Event: bad field names on insert/update call: Type</message> <statusCode>INVALID_FIELD_FOR_INSERT_UPDATE</statusCode> </errors> <id xsi:nil=\"true\"/> <success>false</success> </result> </createResponse>
And looking at sObject description --- I don't see a
Type field there.
Could someone please confirm, that one shouldn't use
Type field on both
Event sObjects and instead set type using
Subject field. In that case, which field one would use for storing email subject?