curl --location 'https://us-staging.notte.cc/functions/fa809b3e-e0f0-45a9-8efa-221dbc9085a8/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "fa809b3e-e0f0-45a9-8efa-221dbc9085a8",
"variables": {
"query": "",
"page": 1,
"category": "",
"product_type": "",
"exchange": "",
"asset_class": "",
"market_expectation": "",
"maturity": "",
"callable_filter": "",
"currency": "",
"issuer": "",
"guarantor": "",
"multiple_underlyings": "",
"sort_by": "",
"sort_direction": "asc"
}
}'
{
"meta": {
"page": 0,
"hasNext": true,
"pageSize": 0,
"numRecords": 0,
"totalPages": 0,
"hasPrevious": true,
"totalRecords": 0
},
"counters": {
"issuers": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"callables": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"exchanges": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"categories": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"currencies": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"guarantors": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"maturities": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"assetclasses": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"subcategories": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"marketexpectations": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
],
"multipleunderlyings": [
{
"num": "<string>",
"ref": "<string>",
"name": "<string>"
}
]
},
"products": [
{}
]
}