Click or drag to resize
RESTServiceCreateSiteObject Method
Creates an object of given type specified by it's parameters.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
public Stream CreateSiteObject(
	string objectType,
	string siteName,
	Stream stream
)

Parameters

objectType
Type: SystemString
Object type of the object
siteName
Type: SystemString
Name of the site to which the object will be assigned
stream
Type: System.IOStream
Object XML data

Return Value

Type: Stream

Implements

IRESTServiceCreateSiteObject(String, String, Stream)
See Also