List the venues a portfolio can route an instrument to
GET
/portfolios/{id}/venues
curl --request GET \ --url http://localhost:3001/portfolios/00000000-0000-0000-0000-000000000000/venues \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/portfolios/00000000-0000-0000-0000-000000000000/venues"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/portfolios/00000000-0000-0000-0000-000000000000/venues";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Portfolio ID
instrument_id
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
account_id
string format: uuid
broker_code
required
string
broker_connection_code
string
eligible
required
boolean
environment
string
reason
string
Example generated
[ { "account_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "broker_code": "example", "broker_connection_code": "example", "eligible": true, "environment": "example", "reason": "example" }]No view grant for principal/portfolio