Batch Update of the Datastreams

If you need your values to have the same timestamp you can use the following format

get
Batch update

https://{server_address}/external/api/batch/update?token={token}&{pin1}={value1}&{pin2}={value2}
Updates multiple datastreams with one GET request. It could be used to save network bandwidth. Also, the batch update is required to show multiple datastreams in the map widget popup. Example: https://blynk.cloud/external/api/batch/update?token=bFFtSHNCZZDWQ__Zs96cP5jLMhLoJofg&v1=33&v2=44
Request
Response
Request
Path Parameters
token
required
string
Device AuthToken
pin
required
string
Virtual Pin
value
required
string
The desired value of the Datastream. Will be parsed based on the Datastream data type (int, double, string) and bounded with min / max values of datastream settings. In case value doesn't match the Datastream type error will be returned.
Response
200: OK
Success
OK
400: Bad Request
Could not find a device token or Wrong pin format or Value doesn't match the Datastream data type
{"error":{"message":"Invalid token."}}
or
{"error":{"message":"Wrong pin format."}}
or
{"error":{"message":"Value doesn't match the Datastream data type"}}