| PageTemplateWebServiceUrlProviderGetTemplatesEndpointUrl Method | 
            Gets URL of an endpoint which provides definition of allowed page templates for the given parent node.
            
 
Namespace: CMS.DocumentEngine.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
 Syntax
Syntaxpublic string GetTemplatesEndpointUrl(
	TreeNode parentNode,
	string pageType,
	string culture
)
Parameters
- parentNode
- Type: CMS.DocumentEngineTreeNode
 The parent node for which the endpoint retrieves filtered page templates.
- pageType
- Type: SystemString
 The page type for which the endpoint retrieves filtered page templates.
- culture
- Type: SystemString
 The culture for which the endpoint retrieves filtered page templates.
Return Value
Type: 
StringA string representation of the endpoint URL
 Exceptions
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | Site's SitePresentationURL is not in correct format. | 
| ArgumentNullException | parentNode, pageType or culture is null. | 
 See Also
See Also