Buzzy provides a method for transferring data from one Datatable to another by using . A good understanding of the is helpful.
{
"variables": {
"host": "https://ssc.preciselydemos.com"
},
"secrets": {
"username": "",
"password": ""
},
"source": {
"description": "Get data from Buzzy",
"type": "url",
"config": {
"resultObject": "content",
"url": "https://ssc.preciselydemos.com/api/microappdata",
"method": "POST",
"paging": {
"param": "skip",
"data": [
"searchFilter",
0,
"skip"
],
"check": "$count(body.microAppRows)>0",
"increment": 1000,
"start": 0
},
"headers": {
"X-Auth-Token": "<your Buzzy Token>",
"X-User-Id": "<your Buzzy User Id>"
},
"params": {},
"auth": {
"user": "{{username}}",
"pass": "{{password}}"
},
"data": {
"microAppID": "3193e251fb056b5df56b9298",
"searchFilter": [
{
"resourceID": "3193e251fb056b5df56b9298",
"order": 1,
"field": "1",
"limit": 1000,
"skip": 0
}
],
"buzzyFormat": false
}
},
"transforms": [
"$.body.microAppRows",
"$.($each(function($v, $k){$k=\"location\"?{$k:$eval($v)}:{$k:$v}}) ~> $merge())"
]
},
"fields": [
{
"key": "_id",
"type": "String",
"unique": true
},
{
"key": "location",
"type": "GeoJSON"
}
]
}