public class SecuritiesApi extends Object
| Constructor and Description |
|---|
SecuritiesApi() |
SecuritiesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PageableSecurityList |
getAndSearchAllSecurities(List<Long> ids,
String search,
List<Long> accountIds,
Integer page,
Integer perPage,
List<String> order)
Get and search all securities
Get securities of the user that is authorized by the access_token.
|
com.squareup.okhttp.Call |
getAndSearchAllSecuritiesAsync(List<Long> ids,
String search,
List<Long> accountIds,
Integer page,
Integer perPage,
List<String> order,
ApiCallback<PageableSecurityList> callback)
Get and search all securities (asynchronously)
Get securities of the user that is authorized by the access_token.
|
com.squareup.okhttp.Call |
getAndSearchAllSecuritiesCall(List<Long> ids,
String search,
List<Long> accountIds,
Integer page,
Integer perPage,
List<String> order,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAndSearchAllSecurities
|
ApiResponse<PageableSecurityList> |
getAndSearchAllSecuritiesWithHttpInfo(List<Long> ids,
String search,
List<Long> accountIds,
Integer page,
Integer perPage,
List<String> order)
Get and search all securities
Get securities of the user that is authorized by the access_token.
|
ApiClient |
getApiClient() |
SecurityList |
getMultipleSecurities(List<Long> ids)
Deprecated.
|
com.squareup.okhttp.Call |
getMultipleSecuritiesAsync(List<Long> ids,
ApiCallback<SecurityList> callback)
Deprecated.
|
com.squareup.okhttp.Call |
getMultipleSecuritiesCall(List<Long> ids,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Deprecated.
|
ApiResponse<SecurityList> |
getMultipleSecuritiesWithHttpInfo(List<Long> ids)
Deprecated.
|
Security |
getSecurity(Long id)
Get a security
Get a single security for a specific user.
|
com.squareup.okhttp.Call |
getSecurityAsync(Long id,
ApiCallback<Security> callback)
Get a security (asynchronously)
Get a single security for a specific user.
|
com.squareup.okhttp.Call |
getSecurityCall(Long id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSecurity
|
ApiResponse<Security> |
getSecurityWithHttpInfo(Long id)
Get a security
Get a single security for a specific user.
|
void |
setApiClient(ApiClient apiClient) |
public SecuritiesApi()
public SecuritiesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAndSearchAllSecuritiesCall(List<Long> ids, String search, List<Long> accountIds, Integer page, Integer perPage, List<String> order, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ids - A comma-separated list of security identifiers. If specified, then only securities whose identifier match any of the given identifiers will be regarded. The maximum number of identifiers is 1000. (optional)search - If specified, then only those securities will be contained in the result whose 'name', 'isin' or 'wkn' contains the given search string (the matching works case-insensitive). If no securities contain the search string in any of these fields, then the result will be an empty list. NOTE: If the given search string consists of several terms (separated by whitespace), then ALL of these terms must be contained in the searched fields in order for a security to get included into the result. (optional)accountIds - Comma-separated list of identifiers of accounts (optional)page - Result page that you want to retrieve. (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by next fields: 'id', 'name', 'isin', 'wkn', 'quote', 'quantityNominal', 'marketValue' and 'entryQuote'. The default order for all services is 'id,asc'. You can also order by multiple properties. In that case the order of the parameters passed is important. The general format is: 'property[,asc|desc]', with 'asc' being the default value. Please note that ordering by multiple fields is not supported in our swagger frontend, but you can test this feature with any HTTP tool of your choice (e.g. postman or DHC). (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PageableSecurityList getAndSearchAllSecurities(List<Long> ids, String search, List<Long> accountIds, Integer page, Integer perPage, List<String> order) throws ApiException
ids - A comma-separated list of security identifiers. If specified, then only securities whose identifier match any of the given identifiers will be regarded. The maximum number of identifiers is 1000. (optional)search - If specified, then only those securities will be contained in the result whose 'name', 'isin' or 'wkn' contains the given search string (the matching works case-insensitive). If no securities contain the search string in any of these fields, then the result will be an empty list. NOTE: If the given search string consists of several terms (separated by whitespace), then ALL of these terms must be contained in the searched fields in order for a security to get included into the result. (optional)accountIds - Comma-separated list of identifiers of accounts (optional)page - Result page that you want to retrieve. (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by next fields: 'id', 'name', 'isin', 'wkn', 'quote', 'quantityNominal', 'marketValue' and 'entryQuote'. The default order for all services is 'id,asc'. You can also order by multiple properties. In that case the order of the parameters passed is important. The general format is: 'property[,asc|desc]', with 'asc' being the default value. Please note that ordering by multiple fields is not supported in our swagger frontend, but you can test this feature with any HTTP tool of your choice (e.g. postman or DHC). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PageableSecurityList> getAndSearchAllSecuritiesWithHttpInfo(List<Long> ids, String search, List<Long> accountIds, Integer page, Integer perPage, List<String> order) throws ApiException
ids - A comma-separated list of security identifiers. If specified, then only securities whose identifier match any of the given identifiers will be regarded. The maximum number of identifiers is 1000. (optional)search - If specified, then only those securities will be contained in the result whose 'name', 'isin' or 'wkn' contains the given search string (the matching works case-insensitive). If no securities contain the search string in any of these fields, then the result will be an empty list. NOTE: If the given search string consists of several terms (separated by whitespace), then ALL of these terms must be contained in the searched fields in order for a security to get included into the result. (optional)accountIds - Comma-separated list of identifiers of accounts (optional)page - Result page that you want to retrieve. (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by next fields: 'id', 'name', 'isin', 'wkn', 'quote', 'quantityNominal', 'marketValue' and 'entryQuote'. The default order for all services is 'id,asc'. You can also order by multiple properties. In that case the order of the parameters passed is important. The general format is: 'property[,asc|desc]', with 'asc' being the default value. Please note that ordering by multiple fields is not supported in our swagger frontend, but you can test this feature with any HTTP tool of your choice (e.g. postman or DHC). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAndSearchAllSecuritiesAsync(List<Long> ids, String search, List<Long> accountIds, Integer page, Integer perPage, List<String> order, ApiCallback<PageableSecurityList> callback) throws ApiException
ids - A comma-separated list of security identifiers. If specified, then only securities whose identifier match any of the given identifiers will be regarded. The maximum number of identifiers is 1000. (optional)search - If specified, then only those securities will be contained in the result whose 'name', 'isin' or 'wkn' contains the given search string (the matching works case-insensitive). If no securities contain the search string in any of these fields, then the result will be an empty list. NOTE: If the given search string consists of several terms (separated by whitespace), then ALL of these terms must be contained in the searched fields in order for a security to get included into the result. (optional)accountIds - Comma-separated list of identifiers of accounts (optional)page - Result page that you want to retrieve. (optional, default to 1)perPage - Maximum number of records per page. Can be at most 500. NOTE: Due to its validation and visualization, the swagger frontend might show very low performance, or even crashes, when a service responds with a lot of data. It is recommended to use a HTTP client like Postman or DHC instead of our swagger frontend for service calls with large page sizes. (optional, default to 20)order - Determines the order of the results. You can order the results by next fields: 'id', 'name', 'isin', 'wkn', 'quote', 'quantityNominal', 'marketValue' and 'entryQuote'. The default order for all services is 'id,asc'. You can also order by multiple properties. In that case the order of the parameters passed is important. The general format is: 'property[,asc|desc]', with 'asc' being the default value. Please note that ordering by multiple fields is not supported in our swagger frontend, but you can test this feature with any HTTP tool of your choice (e.g. postman or DHC). (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object@Deprecated public com.squareup.okhttp.Call getMultipleSecuritiesCall(List<Long> ids, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ids - Comma-separated list of identifiers of requested securities (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body object@Deprecated public SecurityList getMultipleSecurities(List<Long> ids) throws ApiException
ids - Comma-separated list of identifiers of requested securities (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body@Deprecated public ApiResponse<SecurityList> getMultipleSecuritiesWithHttpInfo(List<Long> ids) throws ApiException
ids - Comma-separated list of identifiers of requested securities (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body@Deprecated public com.squareup.okhttp.Call getMultipleSecuritiesAsync(List<Long> ids, ApiCallback<SecurityList> callback) throws ApiException
ids - Comma-separated list of identifiers of requested securities (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getSecurityCall(Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - Security identifier (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Security getSecurity(Long id) throws ApiException
id - Security identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Security> getSecurityWithHttpInfo(Long id) throws ApiException
id - Security identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSecurityAsync(Long id, ApiCallback<Security> callback) throws ApiException
id - Security identifier (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2018. All rights reserved.