This photo have 12 bundles.
but next step, only 1 bundle can get and use.
how to get all bundle?
this photo just processing 1 bundle .
This photo have 12 bundles.
but next step, only 1 bundle can get and use.
how to get all bundle?
this photo just processing 1 bundle .
Welcome to the Make community!
In what format/structure do you need the request content field to be like?
Looks like you want to send a JSON in the HTTP module - you might want to try using a JSON Aggregator instead of an Array Aggregator.
Please share screenshots of the module fields and filters in question? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
Please export the scenario blueprint file to allow others to replicate the issue. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
Uploading it here will look like this:
blueprint.json (12.3 KB)
Please provide the input/output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the contents as a bundle.json
file, and upload it here into this discussion thread:
Following these steps will allow others to assist you here. Thanks!
Step 2 : blueprint.json (20.3 KB)
[
{
"statusCode": 200,
"headers": [
{
"name": "date",
"value": "Fri, 13 Oct 2023 06:04:02 GMT"
},
{
"name": "content-type",
"value": "application/json; charset=utf-8"
},
{
"name": "content-length",
"value": "6405"
},
{
"name": "connection",
"value": "close"
},
{
"name": "x-powered-by",
"value": "Express"
},
{
"name": "x-ratelimit-limit",
"value": "120"
},
{
"name": "x-ratelimit-remaining",
"value": "120"
},
{
"name": "x-ratelimit-reset",
"value": "0"
},
{
"name": "etag",
"value": "W/\"1905-GOr9qcR94NrYUOxtyo8GchJ4Nw0\""
},
{
"name": "strict-transport-security",
"value": "max-age=0; preload"
},
{
"name": "x-service-name",
"value": "frontend"
},
{
"name": "access-control-allow-origin",
"value": "*"
},
{
"name": "access-control-allow-credentials",
"value": "true"
},
{
"name": "access-control-expose-headers",
"value": "Content-Length,Content-Range,Content-Disposition,Content-Type"
},
{
"name": "instanceip",
"value": "10.0.149.114:3000"
},
{
"name": "cf-cache-status",
"value": "DYNAMIC"
},
{
"name": "report-to",
"value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CuzMu%2BpNNbWpVC3qWdA1IKVKLKZ9nk31ZrisYxb1sDshNAuBkbuhpn%2FKXvtLtw3v1Mi%2F9C5SekXZ4oXpYDNW1toyRHuo9QblYCZ%2BAPAKPqI5LNEnk8Fx3iDZ3WxR8sUavNYXlw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"
},
{
"name": "nel",
"value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"
},
{
"name": "server",
"value": "cloudflare"
},
{
"name": "cf-ray",
"value": "81556204db0f1d9e-FRA"
},
{
"name": "alt-svc",
"value": "h3=\":443\"; ma=86400"
}
],
"cookieHeaders": [],
"data": {
"next": null,
"previous": null,
"count": 12,
"has_more": false,
"results": [
{
"id": 23,
"created_date": "13/10/2023 01:56 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T13:56:00.000Z",
"full_name": "Suzilawati sulaiman",
"phone": "601110102595",
"email": "Suzilasulai@gmail.com",
"ic_number": "831227115054",
"sponsor_id": "MY 4992540",
"sponsor_name": "-",
"sponsor_phone": "601126142263",
"payment_id": "j2wzhxnh",
"chatrace_id": "-",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "-",
"member_id": "-",
"invoice_number": null
},
{
"id": 22,
"created_date": "13/10/2023 01:13 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T13:13:00.000Z",
"full_name": "HURUL AIN ",
"phone": "601140312632",
"email": "Hyrulalqadahi@gmail.com",
"ic_number": "011018020952",
"sponsor_id": "MY1413579",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "exzc9rdk",
"chatrace_id": "1001458456843248800",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY7225565",
"invoice_number": "HQ00724755"
},
{
"id": 21,
"created_date": "13/10/2023 11:42 AM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T11:42:00.000Z",
"full_name": "SITI SOPIAH BINTI SAAD ",
"phone": "60174626560",
"email": "sitisopia65@gmail.com",
"ic_number": "650320025026",
"sponsor_id": "MY4992540 HALIJAH BINTI ABDUL HAMID",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "znuaaq9c",
"chatrace_id": "1001485634488231224",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY7195312",
"invoice_number": "HQ00724754"
},
{
"id": 20,
"created_date": "13/10/2023 11:23 AM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T11:23:00.000Z",
"full_name": "Nor Tasnim Bt Abdullah",
"phone": "601129571697",
"email": "tasnimabdullah722@gmail.com",
"ic_number": "980625035390",
"sponsor_id": "MY141359",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "fy2psqx5",
"chatrace_id": "1001443458590200769",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY2488594",
"invoice_number": "HQ00724753"
},
{
"id": 19,
"created_date": "13/10/2023 11:01 AM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T11:01:00.000Z",
"full_name": "nurfarihal ahlaa bt azhar ",
"phone": "60184002804",
"email": "ahlaafarihal@gmail.com",
"ic_number": "040325020006",
"sponsor_id": "MY1413579",
"sponsor_name": "-",
"sponsor_phone": "601159832851",
"payment_id": "fqjp8l0r",
"chatrace_id": "-",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "-",
"member_id": "-",
"invoice_number": null
},
{
"id": 18,
"created_date": "13/10/2023 09:56 AM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-13T09:56:00.000Z",
"full_name": "NORHANANI BINTI HASSAN",
"phone": "60194580958",
"email": "hanansufian81@gmail.com",
"ic_number": "810503135850",
"sponsor_id": "MY1413579",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "e0rvon1n",
"chatrace_id": "1001036314907238539",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY1601246",
"invoice_number": "HQ00724749"
},
{
"id": 17,
"created_date": "12/10/2023 11:09 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T23:09:00.000Z",
"full_name": "Norsuzilawati",
"phone": "601124144466",
"email": "norsuzilawati2003@gmail.com",
"ic_number": "850517085432",
"sponsor_id": "E1870926",
"sponsor_name": "-",
"sponsor_phone": "601118743448",
"payment_id": "y0s1ivzs",
"chatrace_id": "-",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "-",
"member_id": "-",
"invoice_number": null
},
{
"id": 16,
"created_date": "12/10/2023 10:17 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T22:17:00.000Z",
"full_name": "Syahmina Mohamed Yasin",
"phone": "60198901503",
"email": "syahminayasin05@gmail.com",
"ic_number": "050719070460",
"sponsor_id": "MY1413579",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "rp0xaqo2",
"chatrace_id": "1001564468806850667",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY9814255",
"invoice_number": "HQ00724751"
},
{
"id": 15,
"created_date": "12/10/2023 09:40 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T21:40:00.000Z",
"full_name": "NUR AUNI SYAFIA BINTI MOHD HANAPIAH",
"phone": "601158260526",
"email": "nasme2009@gmail.com",
"ic_number": "090509020488",
"sponsor_id": "MY1413579",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "gdkm7qoz",
"chatrace_id": "1001916194413898513",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY3161976",
"invoice_number": "HQ00724750"
},
{
"id": 14,
"created_date": "12/10/2023 09:29 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T21:29:00.000Z",
"full_name": "Nuramalia Aqilah",
"phone": "60182475886",
"email": "amaliaaqilah@gmail.com",
"ic_number": "090529020418",
"sponsor_id": "My9175648",
"sponsor_name": "-",
"sponsor_phone": "60178470359",
"payment_id": "w6jdxaux",
"chatrace_id": "-",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "-",
"member_id": "-",
"invoice_number": null
},
{
"id": 13,
"created_date": "12/10/2023 06:30 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T18:30:00.000Z",
"full_name": "Basirah bt. Mokhtar",
"phone": "60198179060",
"email": "basirohmokhtar81@gmail.com",
"ic_number": "810419025050",
"sponsor_id": "E2652420",
"sponsor_name": "-",
"sponsor_phone": "60194346374",
"payment_id": "jwydo8fw",
"chatrace_id": "-",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "-",
"member_id": "-",
"invoice_number": null
},
{
"id": 12,
"created_date": "12/10/2023 01:08 PM",
"source": "OFFLINE",
"event": "12-14 Okt Festival Sunnah Alor Setar",
"date": "2023-10-12T13:08:00.000Z",
"full_name": "Tn Pakya",
"phone": "601154202790",
"email": "tnpakya@gmail.com",
"ic_number": "910702025493",
"sponsor_id": "MY1413579",
"sponsor_name": "YASMIN SHARMIZA BINTI AHMAD KAMAL",
"sponsor_phone": "601159832851",
"payment_id": "4svri1fs",
"chatrace_id": "1001858276207507779",
"agent_status": "New Lead",
"payment_status": "paid",
"fu_ga": "In Progress",
"member_id": "MY1358914",
"invoice_number": "HQ00724524"
}
]
},
"fileSize": 6405
}
]
Fixed it for you using a Text Aggregator.
Basically build a JSON containing an array of the items,
Then wrap it in array brackets [ ]
Blueprint
blueprint.json (21.6 KB)
Resulting request body:
{
"items": [
{
"member_id": "MY7225565",
"invoice_number": "HQ00724755"
},
{
"member_id": "MY7195312",
"invoice_number": "HQ00724754"
},
{
"member_id": "MY2488594",
"invoice_number": "HQ00724753"
},
{
"member_id": "MY1601246",
"invoice_number": "HQ00724749"
},
{
"member_id": "MY9814255",
"invoice_number": "HQ00724751"
},
{
"member_id": "MY3161976",
"invoice_number": "HQ00724750"
},
{
"member_id": "MY1358914",
"invoice_number": "HQ00724524"
}
]
}
@tuanpakya, I assumed you wanted to send all of the items in a single request since you were using an aggregator. Is that your objective?
Otherwise, please provide an example request body that you want. I asked for this too:
thanks. now, worked.