CSOM speaks to SharePoint in WCF web service calls.
Here is an example of a SharePoint WCF web service XML request from SharePoint 2010:
<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="14.0.0.0" LibraryVersion="16.0.0.0"
ApplicationName=".NET Library" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009">
<Actions>
<ObjectPath Id="2" ObjectPathId="1"/>
<ObjectPath Id="4" ObjectPathId="3"/>
<ObjectPath Id="6" ObjectPathId="5"/>
<ObjectPath Id="8" ObjectPathId="7"/>
<ObjectPath Id="10" ObjectPathId="9"/>
<Query Id="11" ObjectPathId="9">
<Query SelectAllProperties="true">
<Properties/>
</Query>
<ChildItemQuery SelectAllProperties="true">
<Properties/>
</ChildItemQuery>
</Query>
</Actions>
<ObjectPaths>
<StaticProperty Id="1" TypeId="{3747adcd-a3c3-41b9-bfab-4a64dd2f1e0a}" Name="Current"/>
<Property Id="3" ParentId="1" Name="Site"/>
<Property Id="5" ParentId="3" Name="RootWeb"/>
<Property Id="7" ParentId="5" Name="SiteUserInfoList"/>
<Method Id="9" ParentId="7" Name="GetItems">
<Parameters>
<Parameter TypeId="{3d248d7b-fc86-40a3-aa97-02a75d69fb8a}">
<Property Name="AllowIncrementalResults" Type="Boolean">false</Property>
<Property Name="DatesInUtc" Type="Boolean">true</Property>
<Property Name="FolderServerRelativePath" Type="Null"/>
<Property Name="FolderServerRelativeUrl" Type="Null"/>
<Property Name="ListItemCollectionPosition" Type="Null"/>
<Property Name="ViewXml" Type="String"><View Scope="RecursiveAll"><RowLimit>5</RowLimit></View></Property>
</Parameter>
</Parameters>
</Method>
</ObjectPaths>
</Request>
Within this request there are TypeId
elements like this:
TypeId="{3747adcd-a3c3-41b9-bfab-4a64dd2f1e0a}"
These type ID represent Class names in the WCF class library. Is there a way to look these up by TypeId
? Do they tend to change in between schema versions?