Adding a ContactAction via php-sdk?

I’ve looked around and the best I can find is how to create Tasks so far, does anybody know how to create a note or ContactAction in general using the php-sdk?

Hey @Adam_King1 you should be able to use the DataService add method. Here is an example payload using the ContactAction table. You may need to change the values you see fit.

<?xml version='1.0' encoding='UTF-8'?>
<methodCall>
  <methodName>DataService.add</methodName>
  <params>
    <param>
      <value>
        <string>{{APIKey}}</string>
      </value>
    </param>
    <param>
      <value>
        <string>ContactAction</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
        <member>
            <name>ContactId</name>
            <value>Your_Contact_ID</value>
          </member>
          <member>
            <name>ObjectType</name>
            <value>Task</value>
          </member>
          <member>
            <name>IsAppointment</name>
            <value>0</value>
          </member>
          <member>
            <name>ActionDate</name>
            <value><dateTime.iso8601>20170908T00:00:00</dateTime.iso8601></value>
          </member>
          <member>
            <name>EndDate</name>
            <value><dateTime.iso8601>20170908T00:00:00</dateTime.iso8601></value>
          </member>
          <member>
            <name>ActionDescription</name>
            <value>****NEW Xml-Rpc Appointment</value>
          </member>
          <member>
            <name>UserID</name>
            <value>1</value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>