curl -X POST "https://heimdall.qa.zoniqx.com/bulk-registration/investors" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>" \
-H "Content-Type: application/json" \
-d '{
"file": "<binary>"
}'const response = await fetch("https://heimdall.qa.zoniqx.com/bulk-registration/investors", {
method: "POST",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"file": "<binary>"
}),
});
const data = await response.json();type BulkRegistrationController_bulkRegisterInvestorsResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/bulk-registration/investors", {
method: "POST",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"file": "<binary>"
}),
});
const data: BulkRegistrationController_bulkRegisterInvestorsResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/bulk-registration/investors"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
payload = {
"file": "<binary>"
}
response = requests.post(url, headers=headers, json=payload)
data = response.json()