Investment portfolio
1 min
GET
/api/v1/member/investment-portfolio/
Header Parameters
- X-Product-IdstringrequiredDescription
Responses
200
- InvestmentPortfolio[]
- keystringrequired
- namestring
- portfoliosProductType[]required
- keystringrequired
- namestring
- descstring
curl
curl --request GET \
--url /api/v1/member/investment-portfolio/ \
--header 'accept: application/json' \
--header 'x-product-id: string'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("x-product-id", "string");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("/api/v1/member/investment-portfolio/", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("/api/v1/member/investment-portfolio/")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["x-product-id"] = "string"
response = http.request(request)
puts response.read_body
python
import requests
import json
url = "/api/v1/member/investment-portfolio/"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'x-product-id': 'string'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Success
[
{
"key": "",
"name": "",
"portfolios": [
{
"key": "",
"name": "",
"desc": ""
}
]
}
]Retrieve investment portfolio based on your application credential.
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.