src/wiotp/sdk/api/mgmt/requests.py
def initiate(self, request):
        """
        Initiates a device management request, such as reboot.
        In case of failure it throws APIException
        """
        url = MgmtRequests.mgmtRequests
        r = self._apiClient.post(url, request)

        if r.status_code == 202:
            return r.json()
        else:
            raise ApiException(r)
def initiate(self, request):
        url = MgmtRequests.mgmtRequests
        r = self._apiClient.post(url, request)

        if r.status_code == 202:
            return r.json()
        else:
            raise ApiException(r)
def initiate ( self , request ) : url = MgmtRequests . mgmtRequests r = self . _apiClient . post ( url , request ) if r . status_code == 202 : return r . json ( ) else : raise ApiException ( r )
Initiates a device management request, such as reboot.
        In case of failure it throws APIException
Initiates a device management request such as reboot . In case of failure it throws APIException