Click or drag to resize
IRESTService.GetObject Method
Returns object of given type with specified ID. If ID is not integer, than it's considered object name and object from current site with given name is returned.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
Stream GetObject(
	string objectType,
	string id
)

Parameters

objectType
Type: System.String
Object type of the object
id
Type: System.String
ID of the object

Return Value

Type: Stream
See Also