curl --location 'https://us-prod.notte.cc/functions/f88db260-a62e-4fed-a337-43b132f508fd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f88db260-a62e-4fed-a337-43b132f508fd",
"variables": {
"ticker": "IVV",
"portfolio_id": 0
}
}'
{
"count": 0,
"ticker": "<string>",
"holdings": [
{
"name": "<string>",
"price": 0,
"sector": "<string>",
"shares": 0,
"ticker": "<string>",
"currency": "<string>",
"asset_class": "<string>",
"identifiers": {
"isin": "<string>",
"cusip": "<string>",
"sedol": "<string>"
},
"market_value": 0,
"source_fields": {},
"weight_percent": 0,
"formatted_fields": {
"unitPrice": "<string>",
"unitsHeld": "<string>",
"localFxRate": "<string>",
"marketValue": "<string>",
"notionalValue": "<string>",
"holdingPercent": "<string>"
}
}
],
"fund_name": "<string>",
"as_of_date": 0,
"portfolio_id": 0,
"fund_currency": "<string>",
"as_of_date_display": "<string>"
}