Click or drag to resize
IRESTService Interface
REST service interface

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 11.0.0
Syntax
C#
public interface IRESTService

The IRESTService type exposes the following members.

Methods
  NameDescription
Public methodCreateCurrentSiteObject
Creates object of given type with given name and assigns it to current site.
Public methodCreateGlobalObject
Creates global object of given type.
Public methodCreateObject
Creates an object of given type specified by it's parameters.
Public methodCreateSiteObject
Creates object of given type with given name assigns it to specified site.
Public methodDeleteCurrentSiteObject
Deletes object of given type with given name from current site.
Public methodDeleteGlobalObject
Deletes global object of given type with given name.
Public methodDeleteObject
Deletes 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.
Public methodDeleteObjects
Deletes object of given type satisfying given parameters (WHERE/TOPN).
Public methodDeleteSiteObject
Deletes object of given type with given name from specified site.
Public methodGetAllObjects
Returns all objects of given object type.
Public methodGetBindings
Returns specific binding objects of an object of given type with specified ID.
Public methodGetBindingsObjectTypes
Returns list of binding object types of given object.
Public methodGetChildObjectTypes
Returns list of child object types of given object.
Public methodGetChildren
Returns specific child objects of an object of given type with specified ID.
Public methodGetCurrentSiteObject
Returns object of given type with given name from current site.
Public methodGetCurrentSiteObjects
Returns objects of given type from current site.
Public methodGetGlobalObject
Returns global object of given type with given name.
Public methodGetGlobalObjects
Returns global objects of given type.
Public methodGetHashForURL
Returns hash string which can be than used for given URL instead of authentication.
Public methodGetMacroResult
Returns the result of the macro expression.
Public methodGetObject
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.
Public methodGetObjects
Returns objects of given type from current site.
Public methodGetServiceDocument
Exposes Service Document (available data).
Public methodGetSiteList
Exposes the list of all sites.
Public methodGetSiteObject
Returns object of given type with given name from specified site.
Public methodGetSiteObjects
Returns objects of given type from specified site.
Public methodSetToken
Validates user name and password and sets security token which will protect application against CSRF.
Public methodUpdateCurrentSiteObject
Updates object of given type with given name from current site.
Public methodUpdateGlobalObject
Updates global object of given type with given name.
Public methodUpdateObject
Updates 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.
Public methodUpdateSiteObject
Updates object of given type with given name from specified site.
Top
See Also