m2x/v2/devices.py
def reject_command(self, id, **params):
        """ Method for `Device Marks a Command as Rejected <https://m2x.att.com/developer/documentation/v2/commands#Device-Marks-a-Command-as-Rejected>`_ endpoint.

        :param id: ID of the Command being marked as rejected
        :param params: Optional data to be associated with the rejected command, see API docs for details

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return self.api.post(self.subpath('/commands/%s/reject' % id), data=params)
def reject_command(self, id, **params):
        """ Method for `Device Marks a Command as Rejected <https://m2x.att.com/developer/documentation/v2/commands#Device-Marks-a-Command-as-Rejected>`_ endpoint.

        :param id: ID of the Command being marked as rejected
        :param params: Optional data to be associated with the rejected command, see API docs for details

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return self.api.post(self.subpath('/commands/%s/reject' % id), data=params)
def reject_command ( self , id , * * params ) : return self . api . post ( self . subpath ( '/commands/%s/reject' % id ) , data = params )
Method for `Device Marks a Command as Rejected <https://m2x.att.com/developer/documentation/v2/commands#Device-Marks-a-Command-as-Rejected>`_ endpoint.

        :param id: ID of the Command being marked as rejected
        :param params: Optional data to be associated with the rejected command, see API docs for details

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
Method for Device Marks a Command as Rejected <https : // m2x . att . com / developer / documentation / v2 / commands#Device - Marks - a - Command - as - Rejected > _ endpoint .