RE: Entity Table ObjectTypeCode
Hi,
You can use the below SQL query to get the Object Type code.
SQL Query:
select Name, ObjectTypeCode from EntityView order by ObjectTypeCode
And if you want to get the object type code using Web API then use below code:
[org service root URL]/EntityDefinitions?$select=LogicalName,ObjectTypeCode
You can get the service root URL from Developer resource area. For this, navigate to Settings àCustomizations à Developer Resources, as shown in below screenshot:
Please mark as verified if the answer is helpful.
Thanks!