For example, in the standard Salesforce Event
object, I'd like to do the following with the WhatId
field.
select what.name, what.type(?) from event where id = 'myid'
However, this will only work if the relationship object that I'm querying has a type column, which will not be the case. How can I know the "type" of relationship object I'm querying, without doing additional queries if possible.
Note: I'm using v31.0 of the REST API