Retrieve portfolios linked to account codes.

​

Retrieve the portfolios linked to the account codes provided.

Query Parameters

  • Comma delimited list of account codes. Provide accountCodes, portfolioCodes or both.

  • Comma delimited list of portfolio codes. Provide accountCodes, portfolioCodes or both.

  • Indicates whether to retrieve links that have been removed.

Headers

  • The 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.

Responses

  • application/json
Request Example for get/accounts/portfoliolinks/v1
curl 'https://test-oms-api.openmarkets.com.au/accounts/portfoliolinks/v1?accountCodes=1000008%2C1000009&portfolioCodes=12546546351&includeRemovedLinks=true' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "accountCode": "111888",
    "portfolioCode": "12546546351",
    "accessType": 0,
    "linkRemoved": false,
    "linkSequenceNumber": 4471
  },
  {
    "accountCode": "111888",
    "portfolioCode": "64654635141",
    "accessType": 1,
    "linkRemoved": true,
    "linkSequenceNumber": 4472
  }
]