From b9b5edc34264ce17a769da1241a21cb5a6f414fa Mon Sep 17 00:00:00 2001 From: Hasunie Date: Thu, 15 Dec 2016 14:26:07 +0530 Subject: [PATCH] adding new devicemanegement endpoint to getpending operations --- .../mobile/windows/api/services/DeviceManagementService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/DeviceManagementService.java b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/DeviceManagementService.java index 62be3f51bd..2b3dd6ae68 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/DeviceManagementService.java +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/DeviceManagementService.java @@ -46,7 +46,7 @@ import javax.ws.rs.core.Response; @Extension(properties = { @ExtensionProperty(name = "name", value = "Syncml Endpoint"), @ExtensionProperty(name = "context", - value = "/api/device-mgt/windows/v1.0/syncml"), + value = "/api/device-mgt/windows/v1.0/syncmlmgt"), }) } ), @@ -58,7 +58,7 @@ import javax.ws.rs.core.Response; description = "This carries all the resources related to Windows syncml message flow.") @Path("/devicemgt") public interface DeviceManagementService { - @Path("/request") + @Path("/pending-operations") @POST @Consumes({PluginConstants.SYNCML_MEDIA_TYPE, MediaType.APPLICATION_XML}) @Produces(PluginConstants.SYNCML_MEDIA_TYPE)