Click or drag to resize
RESTService.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: 11.0.0
Syntax
C#
public 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

Implements

IRESTService.GetObject(String, String)
See Also