Sorry if this is a duplicate article but I'm not even sure how to search this one. I am creating a third party app via cURL in PHP. I have a custom patient object and I can query OpenActivities as a relationship query on patient. I get the items back all fields are there, no problems. However when trying to create an object of this type I run into an issue. The records that come through in OpenActivities seems to be a hybrid(JOIN statement?) of Activity object and Tasks objects as I can see all fields mapped across both of these objects from my SF setup console. If I try to create a Task, it tells me the fields on the Activity object doesn't exist, which makes sense because they are two separate objects.
So I figured ok I will just have to create two separate objects and link them together some how. Tasks I can create, but I cant create anything for "Activity" or "OpenActivities" as it says those objects don't exist.
Can anyone explain this relationship to me and guide me in the right direction?