Retrieves an XML version of the metadata behind an object, including all fields such as RecID.
string GetAllSchemaForObject(string sessionKey, string tenantId, string objectName)
•sessionKey: The session key from the Connect web method.
•tenantId: The tenant for which the session key is authenticated.
•objectName: Name of the business object, in object reference notation (such as "incident#").
A string value representing the schema for the specified business object, which is represented in XML.
string schemaDoc = frSvc.GetSchemaForObject(authSessionKey, tenantId, "Incident#");