Retrieve portfolio details.
Retrieve portfolio details by code.
Headers
- Type: stringX
- Request - I D max length:64The unique identifier of the request. This will be used for identifying the request using updates. It is recommended that this be set to a globally unique identifier (GUID), 64 characters maximum.
Body·
required
application/json
PortfolioDetailsRequestV2
- Type: array of string 1…1000portfolio
Codes requiredArray of portfolio codes. Note there is a maximum of 1000 portfolio codes.
- Type: booleaninclude
Portfolios With Same Cash Account Include portfolios that share the same cash account as the requested portfolio.
Responses
- application/json
Request Example for post/portfolios/details/by-portfolio/v2
curl https://test-oms-api.openmarkets.com.au/portfolios/details/by-portfolio/v2 \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"portfolioCodes": [
"12546546351",
"64654635141"
],
"includePortfoliosWithSameCashAccount": true
}'
[
{
"portfolioCode": "12546546351",
"portfolioName": "SMITH J A",
"portfolioCashCode": "12546546351",
"limitGroup": "",
"commissionGroup": "",
"marginLenderName": "",
"cfdProviderName": "",
"optionCategory": "",
"feeGroup": "",
"uploadSource": "",
"settlementMethod": "",
"advisorName": "SSD",
"marketMakerName": "",
"marginCoverDisplayStatus": "OK",
"marginCoverStatus": "OK",
"marginCoverStatusReason": "",
"portfolioEmailAddress": "",
"accountExecutiveEmailAddress": "",
"marginCoverStatusUpdateDateTime": null,
"sharingCashAccount": false
}
]
