resolve_symbology
POST
/admin/symbology/resolve
curl --request POST \ --url http://localhost:3001/admin/symbology/resolve \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{"cusip":null,"exch_code":null,"figi":null,"isin":null,"mic":null,"ticker":null}'import requests
url = "http://localhost:3001/admin/symbology/resolve"
payload = { "cusip": None, "exch_code": None, "figi": None, "isin": None, "mic": None, "ticker": None}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())use serde_json::json;use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/symbology/resolve";
let payload = json!({ "cusip": json!(null), "exch_code": json!(null), "figi": json!(null), "isin": json!(null), "mic": json!(null), "ticker": json!(null) });
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap()); headers.insert("Content-Type", "application/json".parse().unwrap());
let client = reqwest::Client::new(); let response = client.post(url) .headers(headers) .json(&payload) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
cusip
string
exch_code
string
figi
string
isin
string
mic
string
ticker
string
Example generated
{ "cusip": "example", "exch_code": "example", "figi": "example", "isin": "example", "mic": "example", "ticker": "example"}Responses
Section titled “Responses”Resolution
Media typeapplication/json
One of: discriminator: outcome
Identified; instrument_id is None if we hold no matching master instrument.
object
figi
required
string
identity
object
composite_figi
string
exch_code
string
figi
required
string
market_sector
string
name
string
security_type
string
share_class_figi
string
ticker
string
instrument_id
integer format: int64
outcome
required
string
object
candidates
required
Array<object>
object
composite_figi
string
exch_code
string
figi
required
string
market_sector
string
name
string
security_type
string
share_class_figi
string
ticker
string
outcome
required
string
object
outcome
required
string
Example
{ "outcome": "resolved"}