Inconsistency In Service Call
Is there a reason that the services/Pages/PagesService.svc/ returns dates and publish information about each page, but the actual call to get a page (services/Pages/PagesService.svc/7254a75b-b226-4e0c-bf6a-a53ecc8aa13b) is missing all of this data?
The result of this is I have to make two calls to the service, get the publish dates and information, and then a separate call to the individual page to get the remainder.. am I missing something?
Ray Simpson
Hello Ray,
These services are meant for internal use - GetPages is used for the backend grid of the Pages module, GetPage is used for the Edit mode of the Page and this is the reason why custom types with only the needed fields are returned by the service method. If you need to use all of the properties that PageData exposes, you will have to create your own service.
Kind regards,