All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.factset.sdk.FactSetFunds.api.ReferenceApi Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.factset.sdk.FactSetFunds.api;

import com.factset.sdk.FactSetFunds.ApiException;
import com.factset.sdk.FactSetFunds.ApiClient;
import com.factset.sdk.FactSetFunds.ApiResponse;
import com.factset.sdk.FactSetFunds.Configuration;
import com.factset.sdk.FactSetFunds.Pair;

import jakarta.ws.rs.core.GenericType;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

import com.factset.sdk.FactSetFunds.models.BenchmarkDetailsRequest;
import com.factset.sdk.FactSetFunds.models.BenchmarkDetailsResponse;
import com.factset.sdk.FactSetFunds.models.ClassificationsRequest;
import com.factset.sdk.FactSetFunds.models.ClassificationsResponse;
import com.factset.sdk.FactSetFunds.models.CostsFeesRequest;
import com.factset.sdk.FactSetFunds.models.CostsFeesResponse;
import com.factset.sdk.FactSetFunds.models.ErrorResponse;
import com.factset.sdk.FactSetFunds.models.ManagersRequest;
import com.factset.sdk.FactSetFunds.models.ManagersResponse;
import com.factset.sdk.FactSetFunds.models.RelatedFundsRequest;
import com.factset.sdk.FactSetFunds.models.RelatedFundsResponse;
import com.factset.sdk.FactSetFunds.models.SummariesRequest;
import com.factset.sdk.FactSetFunds.models.SummariesResponse;

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")

public class ReferenceApi {
  private ApiClient apiClient;

  public ReferenceApi() {
    this(Configuration.getDefaultApiClient());
  }

  public ReferenceApi(ApiClient apiClient) {
    this.apiClient = apiClient;
  }
  
  private static final Map getFundsBenchmarkDetailsResponseTypeMap = new HashMap();
  static {
    getFundsBenchmarkDetailsResponseTypeMap.put(200, new GenericType(){});
    getFundsBenchmarkDetailsResponseTypeMap.put(400, new GenericType(){});
    getFundsBenchmarkDetailsResponseTypeMap.put(401, new GenericType(){});
    getFundsBenchmarkDetailsResponseTypeMap.put(403, new GenericType(){});
    getFundsBenchmarkDetailsResponseTypeMap.put(415, new GenericType(){});
    getFundsBenchmarkDetailsResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsBenchmarkDetailsForListResponseTypeMap = new HashMap();
  static {
    getFundsBenchmarkDetailsForListResponseTypeMap.put(200, new GenericType(){});
    getFundsBenchmarkDetailsForListResponseTypeMap.put(400, new GenericType(){});
    getFundsBenchmarkDetailsForListResponseTypeMap.put(401, new GenericType(){});
    getFundsBenchmarkDetailsForListResponseTypeMap.put(403, new GenericType(){});
    getFundsBenchmarkDetailsForListResponseTypeMap.put(415, new GenericType(){});
    getFundsBenchmarkDetailsForListResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsClassificationsResponseTypeMap = new HashMap();
  static {
    getFundsClassificationsResponseTypeMap.put(200, new GenericType(){});
    getFundsClassificationsResponseTypeMap.put(400, new GenericType(){});
    getFundsClassificationsResponseTypeMap.put(401, new GenericType(){});
    getFundsClassificationsResponseTypeMap.put(403, new GenericType(){});
    getFundsClassificationsResponseTypeMap.put(415, new GenericType(){});
    getFundsClassificationsResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsClassificationsForListResponseTypeMap = new HashMap();
  static {
    getFundsClassificationsForListResponseTypeMap.put(200, new GenericType(){});
    getFundsClassificationsForListResponseTypeMap.put(400, new GenericType(){});
    getFundsClassificationsForListResponseTypeMap.put(401, new GenericType(){});
    getFundsClassificationsForListResponseTypeMap.put(403, new GenericType(){});
    getFundsClassificationsForListResponseTypeMap.put(415, new GenericType(){});
    getFundsClassificationsForListResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsCostsFeesResponseTypeMap = new HashMap();
  static {
    getFundsCostsFeesResponseTypeMap.put(200, new GenericType(){});
    getFundsCostsFeesResponseTypeMap.put(400, new GenericType(){});
    getFundsCostsFeesResponseTypeMap.put(401, new GenericType(){});
    getFundsCostsFeesResponseTypeMap.put(403, new GenericType(){});
    getFundsCostsFeesResponseTypeMap.put(415, new GenericType(){});
    getFundsCostsFeesResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsCostsFeesForListResponseTypeMap = new HashMap();
  static {
    getFundsCostsFeesForListResponseTypeMap.put(200, new GenericType(){});
    getFundsCostsFeesForListResponseTypeMap.put(400, new GenericType(){});
    getFundsCostsFeesForListResponseTypeMap.put(401, new GenericType(){});
    getFundsCostsFeesForListResponseTypeMap.put(403, new GenericType(){});
    getFundsCostsFeesForListResponseTypeMap.put(415, new GenericType(){});
    getFundsCostsFeesForListResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsManagersResponseTypeMap = new HashMap();
  static {
    getFundsManagersResponseTypeMap.put(200, new GenericType(){});
    getFundsManagersResponseTypeMap.put(400, new GenericType(){});
    getFundsManagersResponseTypeMap.put(401, new GenericType(){});
    getFundsManagersResponseTypeMap.put(403, new GenericType(){});
    getFundsManagersResponseTypeMap.put(415, new GenericType(){});
    getFundsManagersResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsManagersForListResponseTypeMap = new HashMap();
  static {
    getFundsManagersForListResponseTypeMap.put(200, new GenericType(){});
    getFundsManagersForListResponseTypeMap.put(400, new GenericType(){});
    getFundsManagersForListResponseTypeMap.put(401, new GenericType(){});
    getFundsManagersForListResponseTypeMap.put(403, new GenericType(){});
    getFundsManagersForListResponseTypeMap.put(415, new GenericType(){});
    getFundsManagersForListResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsSummaryResponseTypeMap = new HashMap();
  static {
    getFundsSummaryResponseTypeMap.put(200, new GenericType(){});
    getFundsSummaryResponseTypeMap.put(400, new GenericType(){});
    getFundsSummaryResponseTypeMap.put(401, new GenericType(){});
    getFundsSummaryResponseTypeMap.put(403, new GenericType(){});
    getFundsSummaryResponseTypeMap.put(415, new GenericType(){});
    getFundsSummaryResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getFundsSummaryForListResponseTypeMap = new HashMap();
  static {
    getFundsSummaryForListResponseTypeMap.put(200, new GenericType(){});
    getFundsSummaryForListResponseTypeMap.put(400, new GenericType(){});
    getFundsSummaryForListResponseTypeMap.put(401, new GenericType(){});
    getFundsSummaryForListResponseTypeMap.put(403, new GenericType(){});
    getFundsSummaryForListResponseTypeMap.put(415, new GenericType(){});
    getFundsSummaryForListResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getRelatedFundsResponseTypeMap = new HashMap();
  static {
    getRelatedFundsResponseTypeMap.put(200, new GenericType(){});
    getRelatedFundsResponseTypeMap.put(400, new GenericType(){});
    getRelatedFundsResponseTypeMap.put(401, new GenericType(){});
    getRelatedFundsResponseTypeMap.put(403, new GenericType(){});
    getRelatedFundsResponseTypeMap.put(415, new GenericType(){});
    getRelatedFundsResponseTypeMap.put(500, new GenericType(){});
  }

  private static final Map getRelatedFundsForListResponseTypeMap = new HashMap();
  static {
    getRelatedFundsForListResponseTypeMap.put(200, new GenericType(){});
    getRelatedFundsForListResponseTypeMap.put(400, new GenericType(){});
    getRelatedFundsForListResponseTypeMap.put(401, new GenericType(){});
    getRelatedFundsForListResponseTypeMap.put(403, new GenericType(){});
    getRelatedFundsForListResponseTypeMap.put(415, new GenericType(){});
    getRelatedFundsForListResponseTypeMap.put(500, new GenericType(){});
  }

  


  /**
   * Get the API client
   *
   * @return API client
   */
  public ApiClient getApiClient() {
    return apiClient;
  }

  /**
   * Set the API client
   *
   * @param apiClient an instance of API client
   */
  public void setApiClient(ApiClient apiClient) {
    this.apiClient = apiClient;
  }

  /**
   * Get the Fund's Primary and Segment Benchmark Details
   * Fetch the Fund's Benchmark and Segment Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. 
   * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** =  1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*  (required)
   * @return BenchmarkDetailsResponse
   * @throws ApiException if fails to make API call
   * @http.response.details
     
Status Code Description Response Headers
200 The Benchmark Details response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public BenchmarkDetailsResponse getFundsBenchmarkDetails(java.util.List ids) throws ApiException { return getFundsBenchmarkDetailsWithHttpInfo(ids).getData(); } /** * Get the Fund's Primary and Segment Benchmark Details * Fetch the Fund's Benchmark and Segment Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ApiResponse<BenchmarkDetailsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Benchmark Details response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsBenchmarkDetailsWithHttpInfo(java.util.List ids) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getFundsBenchmarkDetails"); } // create path and map variables String localVarPath = "/factset-funds/v1/benchmark-details"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< BenchmarkDetailsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsBenchmarkDetails", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsBenchmarkDetailsResponseTypeMap, false); return apiResponse; } /** * Get the Fund's Primary and Segment Benchmark details for large list of ids. * Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. * @param benchmarkDetailsRequest The Benchmark Details request body, allowing the user to specify a list of ids. (required) * @return BenchmarkDetailsResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Benchmark Details response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public BenchmarkDetailsResponse getFundsBenchmarkDetailsForList(BenchmarkDetailsRequest benchmarkDetailsRequest) throws ApiException { return getFundsBenchmarkDetailsForListWithHttpInfo(benchmarkDetailsRequest).getData(); } /** * Get the Fund's Primary and Segment Benchmark details for large list of ids. * Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. * @param benchmarkDetailsRequest The Benchmark Details request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<BenchmarkDetailsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Benchmark Details response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsBenchmarkDetailsForListWithHttpInfo(BenchmarkDetailsRequest benchmarkDetailsRequest) throws ApiException { Object localVarPostBody = benchmarkDetailsRequest; // verify the required parameter 'benchmarkDetailsRequest' is set if (benchmarkDetailsRequest == null) { throw new ApiException(400, "Missing the required parameter 'benchmarkDetailsRequest' when calling getFundsBenchmarkDetailsForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/benchmark-details"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< BenchmarkDetailsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsBenchmarkDetailsForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsBenchmarkDetailsForListResponseTypeMap, false); return apiResponse; } /** * Get basic Fund Classifications * Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund's mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund's mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund's mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund's mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund's mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund's mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund's mandate.| </p> * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ClassificationsResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Summaries response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ClassificationsResponse getFundsClassifications(java.util.List ids) throws ApiException { return getFundsClassificationsWithHttpInfo(ids).getData(); } /** * Get basic Fund Classifications * Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund's mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund's mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund's mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund's mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund's mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund's mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund's mandate.| </p> * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ApiResponse<ClassificationsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Summaries response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsClassificationsWithHttpInfo(java.util.List ids) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getFundsClassifications"); } // create path and map variables String localVarPath = "/factset-funds/v1/classifications"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< ClassificationsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsClassifications", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsClassificationsResponseTypeMap, false); return apiResponse; } /** * Get basic Fund Classifications for a large list of ids. * Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund's mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund's mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund's mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund's mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund's mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund's mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund's mandate.| </p> * @param classificationsRequest The Classifications request body, allowing the user to specify a list of ids. (required) * @return ClassificationsResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Classifications response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ClassificationsResponse getFundsClassificationsForList(ClassificationsRequest classificationsRequest) throws ApiException { return getFundsClassificationsForListWithHttpInfo(classificationsRequest).getData(); } /** * Get basic Fund Classifications for a large list of ids. * Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund's mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund's mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund's mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund's mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund's mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund's mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund's mandate.| </p> * @param classificationsRequest The Classifications request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<ClassificationsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Classifications response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsClassificationsForListWithHttpInfo(ClassificationsRequest classificationsRequest) throws ApiException { Object localVarPostBody = classificationsRequest; // verify the required parameter 'classificationsRequest' is set if (classificationsRequest == null) { throw new ApiException(400, "Missing the required parameter 'classificationsRequest' when calling getFundsClassificationsForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/classifications"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< ClassificationsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsClassificationsForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsClassificationsForListResponseTypeMap, false); return apiResponse; } /** * Get the Fund's Costs, Investment minimums and Risk, and Fees. * Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @param date The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. (optional) * @param currency Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency. For a list of currency ISO codes, visit Online Assistant Page [OA1470](https://my.apps.factset.com/oa/pages/1470). (optional, default to LOCAL) * @return CostsFeesResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Costs and Fees response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public CostsFeesResponse getFundsCostsFees(java.util.List ids, String date, String currency) throws ApiException { return getFundsCostsFeesWithHttpInfo(ids, date, currency).getData(); } /** * Get the Fund's Costs, Investment minimums and Risk, and Fees. * Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @param date The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. (optional) * @param currency Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency. For a list of currency ISO codes, visit Online Assistant Page [OA1470](https://my.apps.factset.com/oa/pages/1470). (optional, default to LOCAL) * @return ApiResponse<CostsFeesResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Costs and Fees response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsCostsFeesWithHttpInfo(java.util.List ids, String date, String currency) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getFundsCostsFees"); } // create path and map variables String localVarPath = "/factset-funds/v1/costs-fees"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "date", date)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "currency", currency)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< CostsFeesResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsCostsFees", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsCostsFeesResponseTypeMap, false); return apiResponse; } /** * Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. * Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. * @param costsFeesRequest The Costs and Fees request body, allowing the user to specify a list of ids. (required) * @return CostsFeesResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Cost and Fees response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public CostsFeesResponse getFundsCostsFeesForList(CostsFeesRequest costsFeesRequest) throws ApiException { return getFundsCostsFeesForListWithHttpInfo(costsFeesRequest).getData(); } /** * Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. * Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. * @param costsFeesRequest The Costs and Fees request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<CostsFeesResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Cost and Fees response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsCostsFeesForListWithHttpInfo(CostsFeesRequest costsFeesRequest) throws ApiException { Object localVarPostBody = costsFeesRequest; // verify the required parameter 'costsFeesRequest' is set if (costsFeesRequest == null) { throw new ApiException(400, "Missing the required parameter 'costsFeesRequest' when calling getFundsCostsFeesForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/costs-fees"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< CostsFeesResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsCostsFeesForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsCostsFeesForListResponseTypeMap, false); return apiResponse; } /** * Get a list of Fund Managers and related details for a list of ids. * Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ManagersResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Managers response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ManagersResponse getFundsManagers(java.util.List ids) throws ApiException { return getFundsManagersWithHttpInfo(ids).getData(); } /** * Get a list of Fund Managers and related details for a list of ids. * Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ApiResponse<ManagersResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Managers response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsManagersWithHttpInfo(java.util.List ids) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getFundsManagers"); } // create path and map variables String localVarPath = "/factset-funds/v1/managers"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< ManagersResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsManagers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsManagersResponseTypeMap, false); return apiResponse; } /** * Get a list of Fund Managers and related details for a large list of ids. * Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. * @param managersRequest The Funds Managers request body, allowing the user to specify a list of ids. (required) * @return ManagersResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Funds Managers response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ManagersResponse getFundsManagersForList(ManagersRequest managersRequest) throws ApiException { return getFundsManagersForListWithHttpInfo(managersRequest).getData(); } /** * Get a list of Fund Managers and related details for a large list of ids. * Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. * @param managersRequest The Funds Managers request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<ManagersResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Funds Managers response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsManagersForListWithHttpInfo(ManagersRequest managersRequest) throws ApiException { Object localVarPostBody = managersRequest; // verify the required parameter 'managersRequest' is set if (managersRequest == null) { throw new ApiException(400, "Missing the required parameter 'managersRequest' when calling getFundsManagersForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/managers"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< ManagersResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsManagersForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsManagersForListResponseTypeMap, false); return apiResponse; } /** * Get basic reference summary data for a Fund. * Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return SummariesResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Summaries response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public SummariesResponse getFundsSummary(java.util.List ids) throws ApiException { return getFundsSummaryWithHttpInfo(ids).getData(); } /** * Get basic reference summary data for a Fund. * Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ApiResponse<SummariesResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Fund Summaries response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsSummaryWithHttpInfo(java.util.List ids) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getFundsSummary"); } // create path and map variables String localVarPath = "/factset-funds/v1/summary"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< SummariesResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsSummary", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsSummaryResponseTypeMap, false); return apiResponse; } /** * Get basic reference data for a large list of Fund ids. * Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. * @param summariesRequest The Funds Summary request body, allowing the user to specify a list of ids. (required) * @return SummariesResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Funds Summary response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public SummariesResponse getFundsSummaryForList(SummariesRequest summariesRequest) throws ApiException { return getFundsSummaryForListWithHttpInfo(summariesRequest).getData(); } /** * Get basic reference data for a large list of Fund ids. * Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. * @param summariesRequest The Funds Summary request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<SummariesResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Funds Summary response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getFundsSummaryForListWithHttpInfo(SummariesRequest summariesRequest) throws ApiException { Object localVarPostBody = summariesRequest; // verify the required parameter 'summariesRequest' is set if (summariesRequest == null) { throw new ApiException(400, "Missing the required parameter 'summariesRequest' when calling getFundsSummaryForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/summary"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< SummariesResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getFundsSummaryForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getFundsSummaryForListResponseTypeMap, false); return apiResponse; } /** * Get a list of Related Funds for a list of Fund ids. * Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return RelatedFundsResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Related Funds response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public RelatedFundsResponse getRelatedFunds(java.util.List ids) throws ApiException { return getRelatedFundsWithHttpInfo(ids).getData(); } /** * Get a list of Related Funds for a list of Fund ids. * Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. * @param ids The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>* (required) * @return ApiResponse<RelatedFundsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Related Funds response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getRelatedFundsWithHttpInfo(java.util.List ids) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException(400, "Missing the required parameter 'ids' when calling getRelatedFunds"); } // create path and map variables String localVarPath = "/factset-funds/v1/related-funds"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "ids", ids)); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< RelatedFundsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getRelatedFunds", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getRelatedFundsResponseTypeMap, false); return apiResponse; } /** * Get a list of Related Funds for a large list of Fund ids. * Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. * @param relatedFundsRequest The Related Funds request body, allowing the user to specify a list of ids. (required) * @return RelatedFundsResponse * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Related Funds response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public RelatedFundsResponse getRelatedFundsForList(RelatedFundsRequest relatedFundsRequest) throws ApiException { return getRelatedFundsForListWithHttpInfo(relatedFundsRequest).getData(); } /** * Get a list of Related Funds for a large list of Fund ids. * Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. * @param relatedFundsRequest The Related Funds request body, allowing the user to specify a list of ids. (required) * @return ApiResponse<RelatedFundsResponse> * @throws ApiException if fails to make API call * @http.response.details
Status Code Description Response Headers
200 The Related Funds response object. -
400 Bad Request. This can occur for several reasons. Please review the \"message\" for more details. -
401 Unauthenticated USERNAME-SERIAL. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For more help, select the **Report Issue** in the top right corner of this Developer Portal specification card and choose Connectivity 401 or 403 Responses. -
403 The USERNAME-SERIAL attempted to request the endpoint is not authorized to access. The request was a legal request, but the server is refusing to respond. Please reach out to FactSet Account Team for assistance with authorization. -
415 Unsupported Media Type. This error may be returned when the caller sends a resource in a format that is not accepted by the server. This can be fixed by ensuring that Content-Type header is set to the correct value. In this instance, \"application/json\" would be the appropriate value. -
500 Internal Server Error. -
*/ public ApiResponse getRelatedFundsForListWithHttpInfo(RelatedFundsRequest relatedFundsRequest) throws ApiException { Object localVarPostBody = relatedFundsRequest; // verify the required parameter 'relatedFundsRequest' is set if (relatedFundsRequest == null) { throw new ApiException(400, "Missing the required parameter 'relatedFundsRequest' when calling getRelatedFundsForList"); } // create path and map variables String localVarPath = "/factset-funds/v1/related-funds"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarCookieParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "FactSetApiKey", "FactSetOAuth2", "FactSetOAuth2Client" }; ApiResponse< RelatedFundsResponse > apiResponse = apiClient.invokeAPI("ReferenceApi.getRelatedFundsForList", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, getRelatedFundsForListResponseTypeMap, false); return apiResponse; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy