osnapi/core.py
def addMultipleValues(body:Dict[str, List[Value]]) -> str:
    """ HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Dict that has the key collapsedMessages, with a list of values,
              including the sensorId that each should be added to, as value.
        Note: You can only add values to sensors you've created / own.
        Example:
            {"collapsedMessages":
                [
                    {
                        "sensorId": 14,
                        "timestamp": "2019-11-23T11:11:11.111Z",
                        "numberValue": 2.0
                    },
                    {
                        "sensorId": 66,
                        "timestamp": "2019-11-23T22:22:22.222Z",
                        "numberValue": 3.0
                    }
                ]
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    """
    query = build_query(target='/sensors/addMultipleValues')
    return send_post(query, body, requires_auth=True)
 HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Dict that has the key collapsedMessages, with a list of values,
              including the sensorId that each should be added to, as value.
        Note: You can only add values to sensors you've created / own.
        Example:
            {"collapsedMessages":
                [
                    {
                        "sensorId": 14,
                        "timestamp": "2019-11-23T11:11:11.111Z",
                        "numberValue": 2.0
                    },
                    {
                        "sensorId": 66,
                        "timestamp": "2019-11-23T22:22:22.222Z",
                        "numberValue": 3.0
                    }
                ]
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    
POST
Note: This function requires previous authentication.

A Dict that has the key collapsedMessages, with a list of values,
including the sensorId that each should be added to, as value.
Note: You can only add values to sensors you've created / own.
POST Note : This function requires previous authentication . A Dict that has the key collapsedMessages with a list of values including the sensorId that each should be added to as value . Note : You can only add values to sensors you ' ve created / own .
def addMultipleValues(body:Dict[str, List[Value]]) -> str:
    query = build_query(target='/sensors/addMultipleValues')
    return send_post(query, body, requires_auth=True)
def addMultipleValues ( body : Dict [ str , List [ Value ] ] ) -> str : query = build_query ( target = '/sensors/addMultipleValues' ) return send_post ( query , body , requires_auth = True )
HTTP: POST
Note: This function requires previous authentication.
HTTP : POST Note : This function requires previous authentication .
""" HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Dict that has the key collapsedMessages, with a list of values,
              including the sensorId that each should be added to, as value.
        Note: You can only add values to sensors you've created / own.
        Example:
            {"collapsedMessages":
                [
                    {
                        "sensorId": 14,
                        "timestamp": "2019-11-23T11:11:11.111Z",
                        "numberValue": 2.0
                    },
                    {
                        "sensorId": 66,
                        "timestamp": "2019-11-23T22:22:22.222Z",
                        "numberValue": 3.0
                    }
                ]
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    """
body
Dict[str, List[Value]]
examples
None