Click or drag to resize
RESTServiceGetObject 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#
public Stream GetObject(
	string objectType,
	string id
)

Parameters

objectType
Type: SystemString
Object type of the object
id
Type: SystemString
ID of the object

Return Value

Type: Stream

Implements

IRESTServiceGetObject(String, String)
See Also