WCF RestService over CoreService
Introduction
This service is created to get data from SDL Tridion CM Database ,currently this service is tested with SDL Tridion 2013 SP1
In this service you will see many methods are exposed and message format JSON and XML output.
Methods which are available
In this service you will see many methods are exposed and message format JSON and XML output.
Methods which are available
- GetComponentByTcmUri
- GetSchemaByTcmUri
- GetAllCategoriesWithInPubByTcmUri
- GetKeywordByCategoryID
- GetPageTempletByPubID
- GetComponentTemplateByPubID
- GetTemplateBuildingBlockByPubID
- GetPageByPubID
- GetStructureGroupByPubID
- GetMultimediaComponentByPubID
- GetPublicationList
- GetUserList
Example
To request a categories from the Tridion CM Database.
http://domainname/RestService.svc/GetAllCategoriesWithInPubByTcmUri/{TCMURI}/{messageformat}http://domainname/RestService.svc/GetAllCategoriesWithInPubByTcmUri/0-1048-1/JSON
You can download the code from here
Happy coding and keep sharing :)