# fds.sdk.FactSetPeople.CompanyApi All URIs are relative to *https://api.factset.com/content* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_company_compensation**](CompanyApi.md#get_company_compensation) | **GET** /factset-people/v1/company-compensation | Returns the compensation details of the people for the specified company identifier [**get_company_compensation_for_list**](CompanyApi.md#get_company_compensation_for_list) | **POST** /factset-people/v1/company-compensation | Returns the compensation details for the people for the specified company identifier [**get_company_people**](CompanyApi.md#get_company_people) | **GET** /factset-people/v1/company-people | Returns the list of people for the specified company identifiers [**get_company_people_for_list**](CompanyApi.md#get_company_people_for_list) | **POST** /factset-people/v1/company-people | Returns the list of people associated for a large list of company identitifers [**get_company_positions**](CompanyApi.md#get_company_positions) | **GET** /factset-people/v1/company-positions | Returns the list of people for the specified company identifiers and position [**get_company_positions_for_list**](CompanyApi.md#get_company_positions_for_list) | **POST** /factset-people/v1/company-positions | Returns the list of people associated for a large list of company identitifers and position [**get_company_stats**](CompanyApi.md#get_company_stats) | **GET** /factset-people/v1/company-stats | Returns statistics about top leadership of a company. [**get_company_stats_for_list**](CompanyApi.md#get_company_stats_for_list) | **POST** /factset-people/v1/company-stats | Returns statistics about top leadership of a company. # **get_company_compensation** > CompanyCompensationResponse get_company_compensation(ids) Returns the compensation details of the people for the specified company identifier Returns the list of company-level executive compensation data items for the top executives listed in annual filings.The coverage of the compensation details for the executives are limited to US region. All the compensation figures are expressed in raw units. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. ids = ["AAPL-US","IBM-US"] # [str] | The requested company identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs.

***ids limit** = 1000 per request*

*

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.

* try: # Returns the compensation details of the people for the specified company identifier # example passing only required values which don't have defaults set api_response = api_instance.get_company_compensation(ids) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_compensation: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ids** | **[str]**| The requested company 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>* | ### Return type [**CompanyCompensationResponse**](CompanyCompensationResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Compensation objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_compensation_for_list** > CompanyCompensationResponse get_company_compensation_for_list(company_compensation_request) Returns the compensation details for the people for the specified company identifier Returns the list of company-level executive compensation data items for the top executives listed in annual filings for the most recent fiscal year. The coverage of the compensation details for the executives are limited to US region. All the compensation figures are expressed in raw units. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. company_compensation_request = CompanyCompensationRequest( ids=CompanyIds(["AAPL-US"]), ) # CompanyCompensationRequest | try: # Returns the compensation details for the people for the specified company identifier # example passing only required values which don't have defaults set api_response = api_instance.get_company_compensation_for_list(company_compensation_request) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_compensation_for_list: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **company_compensation_request** | [**CompanyCompensationRequest**](CompanyCompensationRequest.md)| | ### Return type [**CompanyCompensationResponse**](CompanyCompensationResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Positions objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_people** > CompanyPeopleResponse get_company_people(ids) Returns the list of people for the specified company identifiers Returns the list of executives associated the company identifier requested. Information includes the job functions, email, phone, title, name, and FactSet Entity Identifier. The personId returned can then be used in the `/profiles` endpoint to learn more about the given person. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. ids = ["AAPL-US","IBM-US"] # [str] | The requested company identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs.

***ids limit** = 1000 per request*

*

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.

* function = "PEOPLE" # str | Controls the types of people returned based on high-level job functions. Filter by - |function|description| |---|---| |PEOPLE|Retrieve **ALL** Executives of a requested company| |OFFICER|Retrieve only the Officers of a requested company| |DIRECTOR|Retrieve only the Directors of a requested company| (optional) if omitted the server will use the default value of "PEOPLE" try: # Returns the list of people for the specified company identifiers # example passing only required values which don't have defaults set # and optional values api_response = api_instance.get_company_people(ids, function=function) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_people: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ids** | **[str]**| The requested company 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>* | **function** | **str**| Controls the types of people returned based on high-level job functions. Filter by - |function|description| |---|---| |PEOPLE|Retrieve **ALL** Executives of a requested company| |OFFICER|Retrieve only the Officers of a requested company| |DIRECTOR|Retrieve only the Directors of a requested company| | [optional] if omitted the server will use the default value of "PEOPLE" ### Return type [**CompanyPeopleResponse**](CompanyPeopleResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company People objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_people_for_list** > CompanyPeopleResponse get_company_people_for_list(company_people_request) Returns the list of people associated for a large list of company identitifers Returns the list of executives associated the company identifier requested. Information includes the job functions, email, phone, title, name, and FactSet Entity Identifier. The personId returned can then be used in the /profiles endpoint to learn more about the given person. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. company_people_request = CompanyPeopleRequest( ids=CompanyIds(["AAPL-US"]), function=Function("DIRECTOR"), ) # CompanyPeopleRequest | try: # Returns the list of people associated for a large list of company identitifers # example passing only required values which don't have defaults set api_response = api_instance.get_company_people_for_list(company_people_request) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_people_for_list: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **company_people_request** | [**CompanyPeopleRequest**](CompanyPeopleRequest.md)| | ### Return type [**CompanyPeopleResponse**](CompanyPeopleResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company People objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_positions** > CompanyPositionsResponse get_company_positions(ids) Returns the list of people for the specified company identifiers and position Returns the list of people, name, and title for a list of company ids and requested position. Positions include- * Chairman * Chief Executive Officer * President * Chief Operating Officer * Chief Financial Officer * Chief Technology Officer * Chief Investment Officer * Founder(s) * Compliance Officer * Admin * Independent Director * Directors/Board Members * Investor Relations * Legal Counsel * Treasurer * Sales and Marketing Managers * Human Resources ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. ids = ["AAPL-US","IBM-US"] # [str] | The requested company identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs.

***ids limit** = 1000 per request*

*

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.

* position = "FOU" # str | Controls the position details returned for the requested company. By default, the service returns the CEO name, title, and ID for the requested company ids. |position|description| |---|---| |CHAIR|Chairman| |CEO|Chief Executive Officer| |PRES|President| |COO|Chief Operating Officer| |CFO|Chief Financial Officer| |CTO|Chief Technology Officer| |CIO|Chief Investment Officer| |FOU|Founder(s)| |CMP|Compliance Officer| |ADM|Admin| |IND|Independent Director| |BRD|Directors/Board Members| |IR|Investor Relations| |LEG|Legal Counsel| |TREAS|Treasurer| |MKT|Sales and Marketing Managers| |HR|Human Resources| (optional) if omitted the server will use the default value of "CEO" try: # Returns the list of people for the specified company identifiers and position # example passing only required values which don't have defaults set # and optional values api_response = api_instance.get_company_positions(ids, position=position) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_positions: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ids** | **[str]**| The requested company 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>* | **position** | **str**| Controls the position details returned for the requested company. By default, the service returns the CEO name, title, and ID for the requested company ids. |position|description| |---|---| |CHAIR|Chairman| |CEO|Chief Executive Officer| |PRES|President| |COO|Chief Operating Officer| |CFO|Chief Financial Officer| |CTO|Chief Technology Officer| |CIO|Chief Investment Officer| |FOU|Founder(s)| |CMP|Compliance Officer| |ADM|Admin| |IND|Independent Director| |BRD|Directors/Board Members| |IR|Investor Relations| |LEG|Legal Counsel| |TREAS|Treasurer| |MKT|Sales and Marketing Managers| |HR|Human Resources| | [optional] if omitted the server will use the default value of "CEO" ### Return type [**CompanyPositionsResponse**](CompanyPositionsResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Positions objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_positions_for_list** > CompanyPositionsResponse get_company_positions_for_list(company_positions_request) Returns the list of people associated for a large list of company identitifers and position Returns the list of people, name, and title for a list of company ids and requested position. Positions include- * Chairman * Chief Executive Officer * President * Chief Operating Officer * Chief Financial Officer * Chief Technology Officer * Chief Investment Officer * Founder(s) * Compliance Officer * Admin * Independent Director * Directors/Board Members * Investor Relations * Legal Counsel * Treasurer * Sales and Marketing Managers * Human Resources ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. company_positions_request = CompanyPositionsRequest( ids=CompanyIds(["AAPL-US"]), position=Position("FOU"), ) # CompanyPositionsRequest | try: # Returns the list of people associated for a large list of company identitifers and position # example passing only required values which don't have defaults set api_response = api_instance.get_company_positions_for_list(company_positions_request) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_positions_for_list: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **company_positions_request** | [**CompanyPositionsRequest**](CompanyPositionsRequest.md)| | ### Return type [**CompanyPositionsResponse**](CompanyPositionsResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Positions objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_stats** > CompanyStatsResponse get_company_stats(ids) Returns statistics about top leadership of a company. Returns the statistics such as the average age, tenure, compensation of leadership, number of executives, and the gender diversity of leadership. We can utilize the data for analyzing a company's board and management. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. ids = ["AAPL-US","IBM-US"] # [str] | The requested company identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs.

***ids limit** = 1000 per request*

*

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.

* mb_type = "MB" # str | Search based on the management and board types. The types include - |type|description| |---|---| |MB|Management & Board| |MGMT|Management| |BRD|Board| (optional) if omitted the server will use the default value of "MB" try: # Returns statistics about top leadership of a company. # example passing only required values which don't have defaults set # and optional values api_response = api_instance.get_company_stats(ids, mb_type=mb_type) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_stats: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ids** | **[str]**| The requested company 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>* | **mb_type** | **str**| Search based on the management and board types. The types include - |type|description| |---|---| |MB|Management & Board| |MGMT|Management| |BRD|Board| | [optional] if omitted the server will use the default value of "MB" ### Return type [**CompanyStatsResponse**](CompanyStatsResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Stats objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_company_stats_for_list** > CompanyStatsResponse get_company_stats_for_list(company_stats_request) Returns statistics about top leadership of a company. Returns the statistics such as the average age, tenure, compensation of leadership, number of executives, and the gender diversity of leadership. We can utilize the data for analyzing a company's board and management. ### Example > [!IMPORTANT] > The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values. #### Example Code ```python from fds.sdk.utils.authentication import ConfidentialClient import fds.sdk.FactSetPeople from fds.sdk.FactSetPeople.api import company_api from fds.sdk.FactSetPeople.models import * from dateutil.parser import parse as dateutil_parser from pprint import pprint # See configuration.py for a list of all supported configuration parameters. # Examples for each supported authentication method are below, # choose one that satisfies your use case. # (Preferred) OAuth 2.0: FactSetOAuth2 # See https://github.com/FactSet/enterprise-sdk#oauth-20 # for information on how to create the app-config.json file # # The confidential client instance should be reused in production environments. # See https://github.com/FactSet/enterprise-sdk-utils-python#authentication # for more information on using the ConfidentialClient class configuration = fds.sdk.FactSetPeople.Configuration( fds_oauth_client=ConfidentialClient('/path/to/app-config.json') ) # Basic authentication: FactSetApiKey # See https://github.com/FactSet/enterprise-sdk#api-key # for information how to create an API key # configuration = fds.sdk.FactSetPeople.Configuration( # username='USERNAME-SERIAL', # password='API-KEY' # ) # Enter a context with an instance of the API client with fds.sdk.FactSetPeople.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = company_api.CompanyApi(api_client) # NOTE: The following variables are just an example and may contain invalid values. Please, replace these with valid values. company_stats_request = CompanyStatsRequest( ids=CompanyIds(["AAPL-US"]), mb_type=MbType("MB"), ) # CompanyStatsRequest | try: # Returns statistics about top leadership of a company. # example passing only required values which don't have defaults set api_response = api_instance.get_company_stats_for_list(company_stats_request) pprint(api_response) except fds.sdk.FactSetPeople.ApiException as e: print("Exception when calling CompanyApi->get_company_stats_for_list: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **company_stats_request** | [**CompanyStatsRequest**](CompanyStatsRequest.md)| | ### Return type [**CompanyStatsResponse**](CompanyStatsResponse.md) ### Authorization [FactSetApiKey](../README.md#FactSetApiKey), [FactSetOAuth2](../README.md#FactSetOAuth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Array of Company Positions objects. | - | **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. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)