GET /v1/Vehicles

Return

Returns Security Master (Vehicles) data.

Endpoint URL

https://api.wealthtechs.com/v1/Vehicles

Authorization

// Authorization via JWT Token.

Authorization: Bearer <YourToken>

Parameters

TypeFormatRequired
CustodianIdinteger($int32)Required
Datestring($date-time)format: yyyy-MM-ddRequired

Responses

CodeType
200Success
204No Content
400Bad Request
401Unauthorized

Example Code

// JavaScript example using fetch() API

// Store your JWT token in a variable
let token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySW5mbyI6IntcIklkXCI6OTM0LFwiSWRlbnRpdHlJZFwiOlwiNDI5NmIyMzItZGUxYy00YWZhLWFlYmItNDY5ZDYxZWU0NzJjXCIsXCJVc2VyTmFtZVwiOlwiTUFaT1o0NFwiLFwiRW1haWxcIjpcIm1hdGlhc3pvQHdlYWx0aHRlY2hzLmNvbVwiLFwiRmlyc3ROYW1lXCI6XCJNYXRpYXNcIixcIkxhc3ROYW1lXCI6XCJab3pheWFcIixcIklzQ2xpZW50VXNlclwiOmZhbHNlfSIsIm5iZiI6MTY5NDU0NDM2MiwiZXhwIjoxNjk0NjMwNzYyLCJpc3MiOiJXZWFsdGhUZWNocyIsImF1ZCI6IkFQSVVzZXJzIn0.6auZH-83ML_cDo2bqbgECvKcsvXOefbVg68xq-0di2g';

// Set your desired parameters
let custodianId = '16';
let date = '2023-01-30'; //yyyy-MM-dd

// Make the request and log the response
fetch(`https://api.wealthtechs.com/v1/Vehicles?CustodianId=${custodianId}&Date=${date}`, {
  headers: new Headers({
    "Authorization": "Bearer " + token,
  }),
})
.then(response => response.json())
.then(data => console.log(data));

Example Response

[
  {
    "id": "string",
    "type": "string",
    "currency": "string",
    "primaryType": "string",
    "primarySymbol": "string",
    "cusip": "string",
    "sedol": "string",
    "isin": "string",
    "ticker": "string",
    "cins": "string",
    "description1": "string",
    "description2": "string",
    "description3": "string",
    "description4": "string",
    "description5": "string",
    "majorAssetClass": "string",
    "minorAssetClass": "string",
    "countryOfIssue": "string",
    "tradeCurrency": "string",
    "issueCurrency": "string",
    "riskCurrency": "string",
    "sector": "string",
    "industry": "string",
    "snpRating": "string",
    "moodyRating": "string",
    "exDividendDate": "string",
    "recordDate": "string",
    "dividendRate": "string",
    "payableDate": "string",
    "accrualCalendar": "string",
    "maturityCurrency": "string",
    "variableRate": "string",
    "issueDate": "string",
    "datedDate": "string",
    "maturityDate": "string",
    "annualRate": "string",
    "yieldToMaturity": "string",
    "incomeFrequency": "string",
    "firstInterestPaymentDate": "string",
    "callPut1": "string",
    "callPut1Date": "string",
    "callPut1Price": "string",
    "callPut2": "string",
    "callPut2Date": "string",
    "callPut2Price": "string",
    "callPut3": "string",
    "callPut3Date": "string",
    "callPut3Price": "string",
    "currentAmortizationFactorDate": "string",
    "currentAmortizationFactor": "string",
    "previousAmortizationFactorDate": "string",
    "previousAmortizationFactor": "string",
    "prePreviousAmortizationFactorDate": "string",
    "prePreviousAmortizationFactor": "string",
    "gnmapoolNumber": "string",
    "unpricedIndicator": "string",
    "optionExpirationDate": "string",
    "optionStrikePrice": "string",
    "optionCallPutIndicator": "string",
    "securtiesClearingCorpCode": "string",
    "finalPaymentDate": "string",
    "secondInterestPaymentDate": "string",
    "thirdInterestPaymentDate": "string",
    "fourthInterestPaymentDate": "string",
    "discountZeroCouponOid": "string",
    "primaryExchange": "string",
    "dtcCode": "string",
    "fundFamily": "string",
    "couponDelay": "string",
    "bondType": "string",
    "shareMultiplier": "string",
    "nextDividendAmount": "string",
    "federalTax": "string",
    "bondFactor": "string",
    "foreingCode": "string",
    "worthlessCode": "string",
    "marginCode": "string",
    "factDate": "string",
    "cusipUnderlyingSecurity": "string",
    "refundType": "string",
    "taxable": "string",
    "originalIssueDiscount": "string",
    "duration": "string",
    "madatoryRedemptionDate": "string",
    "prerefundingDate": "string",
    "prerefundingPrice": "string",
    "averageLife": "string"
  }
]