GET https://api.swaycharts.io/dxsca-web/accounts/{account code}/positions
GET https://api.swaycharts.io/dxsca-web/accounts/positions?accounts={account codes}
Retrieve all open positions on a single account or on several accounts at once.
// Request
Empty request
Authorization header should be included in case of basic authentication
// Path Parameters
account code - unique code assigned to an account (see Account Code)
// Query Parameters
The following parameters are supported to query positions for multiple accounts:
account codes (optional) - comma-separated list of unique codes assigned to an account (see Account Code)
// Response
A list of open positions that match the request
The ETag header is sent.
// Errors
Common errors
API is not permitted for the user
Status code: 404 Not Found
Error code: 2
Description: Entity not found at server